Plugin Directory

Changeset 1502490


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

1.0.3

Location:
ucb-recommend
Files:
258 added
4 edited

Legend:

Unmodified
Added
Removed
  • ucb-recommend/trunk/lib/common/090-api-base.php

    r1499492 r1502490  
    325325                die;
    326326            }
    327             //      } elseif ( $this->is_post() ) {
    328327        } else {
    329328            $host = $_SERVER['HTTP_REFERER'];
    330329            $str = parse_url( $host );
    331             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 ) ) {
    332332                status_header( '403' );
    333333                echo 'Forbidden';
  • ucb-recommend/trunk/readme.txt

    r1502274 r1502490  
    44Requires at least: 3.9.14
    55Tested up to: 4.6.1
    6 Stable tag: 1.0.2
     6Stable tag: 1.0.3
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3434
    3535== Changelog ==
     36
     37= 1.0.3 =
     38* 2016-09-26  small bug fix
    3639
    3740= 1.0.2 =
  • ucb-recommend/trunk/ucb-recommend.php

    r1502274 r1502490  
    55  Description: Recommendation and AB test plugin using ucb algorithm
    66  Author: 123teru321
    7   Version: 1.0.2
     7  Version: 1.0.3
    88  Author URI: http://technote.space/
    99  Text Domain: UCBRecommend
     
    2727
    2828//plugin version
    29 define( 'UCB_RECOMMEND_PLUGIN_VERSION', '1.0.2' );
     29define( 'UCB_RECOMMEND_PLUGIN_VERSION', '1.0.3' );
    3030
    3131//plugin file name
  • ucb-recommend/trunk/update.json

    r1502274 r1502490  
    33  "slug": "ucb-recommend",
    44  "download_url": "https://github.com/123teru321/UCB-Recommend/archive/master.zip",
    5   "version": "1.0.2",
     5  "version": "1.0.3",
    66  "tested": "4.6.1",
    77  "homepage": "https://technote.space/",
Note: See TracChangeset for help on using the changeset viewer.