Changeset 1504160
- Timestamp:
- 09/28/2016 03:03:41 AM (10 years ago)
- Location:
- cfiltering
- Files:
-
- 110 added
- 4 edited
-
tags/1.3.5 (added)
-
tags/1.3.5/.htaccess (added)
-
tags/1.3.5/README.md (added)
-
tags/1.3.5/apis (added)
-
tags/1.3.5/apis/access.php (added)
-
tags/1.3.5/apis/related-post.php (added)
-
tags/1.3.5/collaborative-filtering.php (added)
-
tags/1.3.5/controllers (added)
-
tags/1.3.5/controllers/001-setting.php (added)
-
tags/1.3.5/controllers/100-action.php (added)
-
tags/1.3.5/controllers/900-log.php (added)
-
tags/1.3.5/controllers/index.php (added)
-
tags/1.3.5/db-config.php (added)
-
tags/1.3.5/emblemmatic-c-filtering-logo-58.png (added)
-
tags/1.3.5/functions.php (added)
-
tags/1.3.5/index.php (added)
-
tags/1.3.5/languages (added)
-
tags/1.3.5/languages/CollaborativeFiltering-ja.mo (added)
-
tags/1.3.5/languages/CollaborativeFiltering-ja.po (added)
-
tags/1.3.5/lib (added)
-
tags/1.3.5/lib/apis (added)
-
tags/1.3.5/lib/apis/nonce.php (added)
-
tags/1.3.5/lib/base (added)
-
tags/1.3.5/lib/common (added)
-
tags/1.3.5/lib/common/010-defines.php (added)
-
tags/1.3.5/lib/common/030-base-class.php (added)
-
tags/1.3.5/lib/common/040-db.php (added)
-
tags/1.3.5/lib/common/050-db_config.php (added)
-
tags/1.3.5/lib/common/080-model-base.php (added)
-
tags/1.3.5/lib/common/090-api-base.php (added)
-
tags/1.3.5/lib/common/100-controller-base.php (added)
-
tags/1.3.5/lib/common/110-api-loader.php (added)
-
tags/1.3.5/lib/common/120-controller-loader.php (added)
-
tags/1.3.5/lib/common/130-service-base.php (added)
-
tags/1.3.5/lib/library (added)
-
tags/1.3.5/lib/library/YUI-CSS-compressor (added)
-
tags/1.3.5/lib/library/YUI-CSS-compressor/cssmin.php (added)
-
tags/1.3.5/lib/library/jsmin-php (added)
-
tags/1.3.5/lib/library/jsmin-php/README.md (added)
-
tags/1.3.5/lib/library/jsmin-php/jsmin.php (added)
-
tags/1.3.5/lib/library/jsmin-php/test (added)
-
tags/1.3.5/lib/library/jsmin-php/test/setup.php (added)
-
tags/1.3.5/lib/library/jsmin-php/test/test.php (added)
-
tags/1.3.5/lib/library/jsmin-php/test/utf8-with-bom.js (added)
-
tags/1.3.5/lib/load.php (added)
-
tags/1.3.5/lib/public (added)
-
tags/1.3.5/lib/public/css (added)
-
tags/1.3.5/lib/public/css/index.php (added)
-
tags/1.3.5/lib/public/fonts (added)
-
tags/1.3.5/lib/public/fonts/index.php (added)
-
tags/1.3.5/lib/public/img (added)
-
tags/1.3.5/lib/public/img/back.png (added)
-
tags/1.3.5/lib/public/img/index.php (added)
-
tags/1.3.5/lib/public/img/loading.gif (added)
-
tags/1.3.5/lib/public/index.php (added)
-
tags/1.3.5/lib/public/js (added)
-
tags/1.3.5/lib/public/js/index.php (added)
-
tags/1.3.5/lib/public/plugins (added)
-
tags/1.3.5/lib/public/plugins/index.php (added)
-
tags/1.3.5/lib/services (added)
-
tags/1.3.5/lib/services/device-service.php (added)
-
tags/1.3.5/lib/services/minify-service.php (added)
-
tags/1.3.5/lib/services/option-service.php (added)
-
tags/1.3.5/lib/services/post-service.php (added)
-
tags/1.3.5/lib/services/system-service.php (added)
-
tags/1.3.5/lib/services/user-service.php (added)
-
tags/1.3.5/lib/views (added)
-
tags/1.3.5/lib/views/ajaxurl-admin.php (added)
-
tags/1.3.5/lib/views/ajaxurl.php (added)
-
tags/1.3.5/lib/views/modal-script.php (added)
-
tags/1.3.5/lib/views/modal-style.php (added)
-
tags/1.3.5/logs (added)
-
tags/1.3.5/models (added)
-
tags/1.3.5/models/access.php (added)
-
tags/1.3.5/models/index.php (added)
-
tags/1.3.5/models/number.php (added)
-
tags/1.3.5/public (added)
-
tags/1.3.5/public/css (added)
-
tags/1.3.5/public/css/index.php (added)
-
tags/1.3.5/public/fonts (added)
-
tags/1.3.5/public/fonts/index.php (added)
-
tags/1.3.5/public/img (added)
-
tags/1.3.5/public/img/index.php (added)
-
tags/1.3.5/public/img/logo.png (added)
-
tags/1.3.5/public/index.php (added)
-
tags/1.3.5/public/js (added)
-
tags/1.3.5/public/js/index.php (added)
-
tags/1.3.5/public/plugins (added)
-
tags/1.3.5/public/plugins/index.php (added)
-
tags/1.3.5/readme.txt (added)
-
tags/1.3.5/screenshot-1.png (added)
-
tags/1.3.5/screenshot-2.png (added)
-
tags/1.3.5/services (added)
-
tags/1.3.5/services/ajax.php (added)
-
tags/1.3.5/services/calculate.php (added)
-
tags/1.3.5/services/clear.php (added)
-
tags/1.3.5/services/index.php (added)
-
tags/1.3.5/services/number.php (added)
-
tags/1.3.5/services/show-related-post.php (added)
-
tags/1.3.5/services/update.php (added)
-
tags/1.3.5/settings.php (added)
-
tags/1.3.5/uninstall.php (added)
-
tags/1.3.5/update.json (added)
-
tags/1.3.5/views (added)
-
tags/1.3.5/views/action.php (added)
-
tags/1.3.5/views/index.php (added)
-
tags/1.3.5/views/log.php (added)
-
tags/1.3.5/views/setting.php (added)
-
tags/1.3.5/views/show-related-post-script.php (added)
-
tags/1.3.5/views/show-related-post.php (added)
-
trunk/collaborative-filtering.php (modified) (2 diffs)
-
trunk/lib/common/090-api-base.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/update.json (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cfiltering/trunk/collaborative-filtering.php
r1504144 r1504160 5 5 Description: Recommendation plugin using collaborative filtering 6 6 Author: 123teru321 7 Version: 1.3. 47 Version: 1.3.5 8 8 Author URI: http://technote.space/ 9 9 Text Domain: CollaborativeFiltering … … 27 27 28 28 //plugin version 29 define( 'COLLABORATIVE_FILTERING_PLUGIN_VERSION', '1.3. 4' );29 define( 'COLLABORATIVE_FILTERING_PLUGIN_VERSION', '1.3.5' ); 30 30 31 31 //plugin file name -
cfiltering/trunk/lib/common/090-api-base.php
r1503877 r1504160 327 327 } else { 328 328 if ( $this->apply_filters( 'check_referer', COLLABORATIVE_FILTERING_CHECK_REFERER ) ) { 329 $host = $_SERVER['HTTP_REFERER']; 330 $str = parse_url( $host ); 331 $server_name = isset( $_SERVER['HTTP_X_FORWARDED_SERVER'] ) ? $_SERVER['HTTP_X_FORWARDED_SERVER'] : $_SERVER['SERVER_NAME']; 332 if ( !stristr( $str['host'], $server_name ) ) { 329 if ( !isset( $_SERVER['HTTP_REFERER'] ) ) { 330 $referer = ''; 331 } else { 332 $referer = $_SERVER['HTTP_REFERER']; 333 $referer = parse_url( $referer ); 334 $referer = false === $referer ? '' : $referer['host']; 335 } 336 $host = isset( $_SERVER['HTTP_X_FORWARDED_HOST'] ) ? $_SERVER['HTTP_X_FORWARDED_HOST'] : $_SERVER['HTTP_HOST']; 337 if ( !stristr( $referer, $host ) ) { 333 338 status_header( '403' ); 334 339 echo 'Forbidden'; -
cfiltering/trunk/readme.txt
r1504144 r1504160 4 4 Requires at least: 3.9.13 5 5 Tested up to: 4.6.1 6 Stable tag: 1.3. 46 Stable tag: 1.3.5 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 32 32 33 33 == Changelog == 34 35 = 1.3.5 = 36 * 2016-09-28 SERVER_NAME => HTTP_HOST 34 37 35 38 = 1.3.4 = -
cfiltering/trunk/update.json
r1504144 r1504160 3 3 "slug": "cfiltering", 4 4 "download_url": "https://github.com/123teru321/CFiltering/archive/master.zip", 5 "version": "1.3. 4",5 "version": "1.3.5", 6 6 "tested": "4.6.1", 7 7 "homepage": "https://technote.space/",
Note: See TracChangeset
for help on using the changeset viewer.