Plugin Directory

Changeset 1502487


Ignore:
Timestamp:
09/26/2016 07:19:35 AM (10 years ago)
Author:
123teru321
Message:

1.2.8

Location:
cfiltering
Files:
108 added
4 edited

Legend:

Unmodified
Added
Removed
  • cfiltering/trunk/collaborative-filtering.php

    r1498531 r1502487  
    55  Description: Recommendation plugin using collaborative filtering
    66  Author: 123teru321
    7   Version: 1.2.7
     7  Version: 1.2.8
    88  Author URI: http://technote.space/
    99  Text Domain: CollaborativeFiltering
     
    2727
    2828//plugin version
    29 define( 'COLLABORATIVE_FILTERING_PLUGIN_VERSION', '1.2.7' );
     29define( 'COLLABORATIVE_FILTERING_PLUGIN_VERSION', '1.2.8' );
    3030
    3131//plugin file name
  • cfiltering/trunk/lib/common/090-api-base.php

    r1463732 r1502487  
    325325                die;
    326326            }
    327         } elseif ( $this->is_post() ) {
     327        } else {
    328328            $host = $_SERVER['HTTP_REFERER'];
    329329            $str = parse_url( $host );
    330             if ( !stristr( $str['host'], $_SERVER['SERVER_NAME'] ) ) {
     330            $server_name = isset( $_SERVER['HTTP_X_FORWARDED_SERVER'] ) ? $_SERVER['HTTP_X_FORWARDED_SERVER'] : $_SERVER['SERVER_NAME'];
     331            if ( !stristr( $str['host'], $server_name ) ) {
    331332                status_header( '403' );
    332333                echo 'Forbidden';
  • cfiltering/trunk/readme.txt

    r1499554 r1502487  
    44Requires at least: 3.9.13
    55Tested up to: 4.6.1
    6 Stable tag: 1.2.7
     6Stable tag: 1.2.8
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3232
    3333== Changelog ==
     34
     35= 1.2.8 =
     36* 2016-09-26  Small bug fix
    3437
    3538= 1.2.7 =
  • cfiltering/trunk/update.json

    r1498531 r1502487  
    33  "slug": "cfiltering",
    44  "download_url": "https://github.com/123teru321/CFiltering/archive/master.zip",
    5   "version": "1.2.7",
     5  "version": "1.2.8",
    66  "tested": "4.6.1",
    77  "homepage": "https://technote.space/",
Note: See TracChangeset for help on using the changeset viewer.