Changeset 1518671
- Timestamp:
- 10/20/2016 03:25:14 PM (9 years ago)
- Location:
- cfiltering
- Files:
-
- 141 added
- 5 edited
-
tags/1.4.6 (added)
-
tags/1.4.6/.htaccess (added)
-
tags/1.4.6/README.md (added)
-
tags/1.4.6/ajax.php (added)
-
tags/1.4.6/apis (added)
-
tags/1.4.6/apis/access.php (added)
-
tags/1.4.6/apis/check-ajax.php (added)
-
tags/1.4.6/apis/get-tests.php (added)
-
tags/1.4.6/apis/reflect-results.php (added)
-
tags/1.4.6/apis/related-post.php (added)
-
tags/1.4.6/collaborative-filtering.php (added)
-
tags/1.4.6/controllers (added)
-
tags/1.4.6/controllers/001-setting.php (added)
-
tags/1.4.6/controllers/100-action.php (added)
-
tags/1.4.6/controllers/900-log.php (added)
-
tags/1.4.6/controllers/index.php (added)
-
tags/1.4.6/db-config.php (added)
-
tags/1.4.6/emblemmatic-c-filtering-logo-58.png (added)
-
tags/1.4.6/functions.php (added)
-
tags/1.4.6/index.php (added)
-
tags/1.4.6/languages (added)
-
tags/1.4.6/languages/CollaborativeFiltering-ja.mo (added)
-
tags/1.4.6/languages/CollaborativeFiltering-ja.po (added)
-
tags/1.4.6/languages/CollaborativeFiltering.pot (added)
-
tags/1.4.6/lib (added)
-
tags/1.4.6/lib/apis (added)
-
tags/1.4.6/lib/apis/nonce.php (added)
-
tags/1.4.6/lib/base (added)
-
tags/1.4.6/lib/common (added)
-
tags/1.4.6/lib/common/010-defines.php (added)
-
tags/1.4.6/lib/common/030-base-class.php (added)
-
tags/1.4.6/lib/common/040-db.php (added)
-
tags/1.4.6/lib/common/050-db_config.php (added)
-
tags/1.4.6/lib/common/080-model-base.php (added)
-
tags/1.4.6/lib/common/090-api-base.php (added)
-
tags/1.4.6/lib/common/100-controller-base.php (added)
-
tags/1.4.6/lib/common/110-api-loader.php (added)
-
tags/1.4.6/lib/common/120-controller-loader.php (added)
-
tags/1.4.6/lib/common/130-service-base.php (added)
-
tags/1.4.6/lib/library (added)
-
tags/1.4.6/lib/library/YUI-CSS-compressor (added)
-
tags/1.4.6/lib/library/YUI-CSS-compressor/cssmin.php (added)
-
tags/1.4.6/lib/library/jsmin-php (added)
-
tags/1.4.6/lib/library/jsmin-php/README.md (added)
-
tags/1.4.6/lib/library/jsmin-php/jsmin.php (added)
-
tags/1.4.6/lib/library/jsmin-php/test (added)
-
tags/1.4.6/lib/library/jsmin-php/test/setup.php (added)
-
tags/1.4.6/lib/library/jsmin-php/test/test.php (added)
-
tags/1.4.6/lib/library/jsmin-php/test/utf8-with-bom.js (added)
-
tags/1.4.6/lib/library/plugin-update-checker (added)
-
tags/1.4.6/lib/library/plugin-update-checker/README.md (added)
-
tags/1.4.6/lib/library/plugin-update-checker/composer.json (added)
-
tags/1.4.6/lib/library/plugin-update-checker/css (added)
-
tags/1.4.6/lib/library/plugin-update-checker/css/puc-debug-bar.css (added)
-
tags/1.4.6/lib/library/plugin-update-checker/debug-bar-panel.php (added)
-
tags/1.4.6/lib/library/plugin-update-checker/debug-bar-plugin.php (added)
-
tags/1.4.6/lib/library/plugin-update-checker/github-checker.php (added)
-
tags/1.4.6/lib/library/plugin-update-checker/js (added)
-
tags/1.4.6/lib/library/plugin-update-checker/js/debug-bar.js (added)
-
tags/1.4.6/lib/library/plugin-update-checker/languages (added)
-
tags/1.4.6/lib/library/plugin-update-checker/languages/plugin-update-checker-fr_FR.mo (added)
-
tags/1.4.6/lib/library/plugin-update-checker/languages/plugin-update-checker-fr_FR.po (added)
-
tags/1.4.6/lib/library/plugin-update-checker/languages/plugin-update-checker-hu_HU.mo (added)
-
tags/1.4.6/lib/library/plugin-update-checker/languages/plugin-update-checker-hu_HU.po (added)
-
tags/1.4.6/lib/library/plugin-update-checker/languages/plugin-update-checker.pot (added)
-
tags/1.4.6/lib/library/plugin-update-checker/license.txt (added)
-
tags/1.4.6/lib/library/plugin-update-checker/plugin-update-checker.php (added)
-
tags/1.4.6/lib/library/plugin-update-checker/vendor (added)
-
tags/1.4.6/lib/library/plugin-update-checker/vendor/Parsedown.php (added)
-
tags/1.4.6/lib/library/plugin-update-checker/vendor/ParsedownLegacy.php (added)
-
tags/1.4.6/lib/library/plugin-update-checker/vendor/readme-parser.php (added)
-
tags/1.4.6/lib/load.php (added)
-
tags/1.4.6/lib/public (added)
-
tags/1.4.6/lib/public/css (added)
-
tags/1.4.6/lib/public/css/index.php (added)
-
tags/1.4.6/lib/public/fonts (added)
-
tags/1.4.6/lib/public/fonts/index.php (added)
-
tags/1.4.6/lib/public/img (added)
-
tags/1.4.6/lib/public/img/back.png (added)
-
tags/1.4.6/lib/public/img/index.php (added)
-
tags/1.4.6/lib/public/img/loading.gif (added)
-
tags/1.4.6/lib/public/index.php (added)
-
tags/1.4.6/lib/public/js (added)
-
tags/1.4.6/lib/public/js/index.php (added)
-
tags/1.4.6/lib/public/plugins (added)
-
tags/1.4.6/lib/public/plugins/index.php (added)
-
tags/1.4.6/lib/services (added)
-
tags/1.4.6/lib/services/device-service.php (added)
-
tags/1.4.6/lib/services/minify-service.php (added)
-
tags/1.4.6/lib/services/option-service.php (added)
-
tags/1.4.6/lib/services/post-service.php (added)
-
tags/1.4.6/lib/services/system-service.php (added)
-
tags/1.4.6/lib/services/user-service.php (added)
-
tags/1.4.6/lib/views (added)
-
tags/1.4.6/lib/views/ajaxurl-admin.php (added)
-
tags/1.4.6/lib/views/ajaxurl.php (added)
-
tags/1.4.6/lib/views/modal-script.php (added)
-
tags/1.4.6/lib/views/modal-style.php (added)
-
tags/1.4.6/logs (added)
-
tags/1.4.6/models (added)
-
tags/1.4.6/models/access.php (added)
-
tags/1.4.6/models/index.php (added)
-
tags/1.4.6/models/number.php (added)
-
tags/1.4.6/public (added)
-
tags/1.4.6/public/css (added)
-
tags/1.4.6/public/css/index.php (added)
-
tags/1.4.6/public/fonts (added)
-
tags/1.4.6/public/fonts/index.php (added)
-
tags/1.4.6/public/img (added)
-
tags/1.4.6/public/img/index.php (added)
-
tags/1.4.6/public/img/logo.png (added)
-
tags/1.4.6/public/index.php (added)
-
tags/1.4.6/public/js (added)
-
tags/1.4.6/public/js/index.php (added)
-
tags/1.4.6/public/plugins (added)
-
tags/1.4.6/public/plugins/index.php (added)
-
tags/1.4.6/readme.txt (added)
-
tags/1.4.6/screenshot-1.png (added)
-
tags/1.4.6/screenshot-2.png (added)
-
tags/1.4.6/services (added)
-
tags/1.4.6/services/ajax.php (added)
-
tags/1.4.6/services/calculate.php (added)
-
tags/1.4.6/services/clear.php (added)
-
tags/1.4.6/services/index.php (added)
-
tags/1.4.6/services/number.php (added)
-
tags/1.4.6/services/show-related-post.php (added)
-
tags/1.4.6/services/test.php (added)
-
tags/1.4.6/services/update.php (added)
-
tags/1.4.6/settings.php (added)
-
tags/1.4.6/uninstall.php (added)
-
tags/1.4.6/unsupported.php (added)
-
tags/1.4.6/update.json (added)
-
tags/1.4.6/views (added)
-
tags/1.4.6/views/action.php (added)
-
tags/1.4.6/views/index.php (added)
-
tags/1.4.6/views/log.php (added)
-
tags/1.4.6/views/setting.php (added)
-
tags/1.4.6/views/show-related-post-script.php (added)
-
tags/1.4.6/views/show-related-post.php (added)
-
tags/1.4.6/views/test-script.php (added)
-
tags/1.4.6/views/test.php (added)
-
trunk/ajax.php (modified) (2 diffs)
-
trunk/collaborative-filtering.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/services/ajax.php (modified) (3 diffs)
-
trunk/update.json (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cfiltering/trunk/ajax.php
r1517312 r1518671 2 2 namespace CollaborativeFilteringService; 3 3 4 if ( !defined( 'COLLABORATIVE_FILTERING_PLUGIN' ) &&defined( 'ABSPATH' ) ) {4 if ( defined( 'COLLABORATIVE_FILTERING_PLUGIN' ) || defined( 'ABSPATH' ) ) { 5 5 header( 'HTTP/1.1 403 Forbidden' ); 6 6 echo 'Forbidden'; … … 27 27 header( 'HTTP/1.1 500 Internal Server Error' ); 28 28 echo 'Internal Server Error'; 29 die( '0');29 die( ); -
cfiltering/trunk/collaborative-filtering.php
r1517362 r1518671 5 5 Description: Recommendation plugin using collaborative filtering 6 6 Author: 123teru321 7 Version: 1.4. 47 Version: 1.4.6 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.4. 4' );29 define( 'COLLABORATIVE_FILTERING_PLUGIN_VERSION', '1.4.6' ); 30 30 31 31 //required php version -
cfiltering/trunk/readme.txt
r1517362 r1518671 4 4 Requires at least: 3.9.13 5 5 Tested up to: 4.6.1 6 Stable tag: 1.4. 46 Stable tag: 1.4.6 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.4.6 = 36 * 2016-10-21 Small bug fix 37 38 = 1.4.5 = 39 * 2016-10-20 40 * Changed ajax check way 41 * Added check_ajax_url filter 34 42 35 43 = 1.4.4 = -
cfiltering/trunk/services/ajax.php
r1517312 r1518671 13 13 { 14 14 add_action( 'init', function () { 15 if ( !$this->mod_rewrite_ajax_access() &&$this->defined( 'COLLABORATIVE_FILTERING_AJAX_ACCESS' ) ) {15 if ( $this->defined( 'COLLABORATIVE_FILTERING_AJAX_ACCESS' ) ) { 16 16 add_action( 'wp_loaded', array( $this, 'setup' ) ); 17 17 } elseif ( $this->mod_rewrite_ajax_access() ) { … … 35 35 } 36 36 37 $exploded = explode( '?', home_url( $_SERVER["REQUEST_URI"], $this->get_url_scheme() ) ); 38 if ( $exploded[0] !== $this->get_ajax_url() ) { 37 if ( !$this->check_ajax_url() ) { 39 38 return; 40 39 } … … 46 45 47 46 add_action( 'wp_loaded', array( $this, 'setup' ) ); 47 } 48 49 private function check_ajax_url() 50 { 51 return $this->apply_filters( 'check_ajax_url', $_SERVER["REQUEST_URI"] === $this->get_ajax_url( null, 'relative', true ) ); 48 52 } 49 53 -
cfiltering/trunk/update.json
r1517362 r1518671 3 3 "slug": "cfiltering", 4 4 "download_url": "https://github.com/123teru321/CFiltering/archive/master.zip", 5 "version": "1.4. 4",5 "version": "1.4.6", 6 6 "tested": "4.6.1", 7 7 "homepage": "https://technote.space/",
Note: See TracChangeset
for help on using the changeset viewer.