Plugin Directory

Changeset 2443985


Ignore:
Timestamp:
12/22/2020 12:44:54 AM (5 years ago)
Author:
brightedge
Message:

WP 1.1.7

Location:
brightedge-autopilot
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • brightedge-autopilot/trunk/readme.txt

    r2378322 r2443985  
    66Author: BrightEdge
    77Requires PHP: 5.5
    8 Tested up to: 5.5
    9 Version: 1.1.6
     8Tested up to: 5.6
     9Version: 1.1.7
    1010Copyright: BrightEdge Technologies, Inc.
    1111License: www.brightedge.com/infrastructure-product-terms
     
    2525
    2626== Changelog ==
     27= 1.1.7 =
     28* Release date: Dec 17, 2020
     29
     30**Update**
     31
     32* Added fix for shortcode if the body content is empty
     33
    2734= 1.1.6 =
    2835* Release date: June 29, 2020
  • brightedge-autopilot/trunk/src/View.php

    r2378318 r2443985  
    1919            }
    2020
     21            // Display Comments in case of Empty body content for shortcode, currently it displays '[autopilot_shortcode]'.
     22            if ((isset($this->controller->ixf_data)) && ($options[BEIXFConstants::STRATEGY] == BEIXFConstants::SHORTCODE)) {
     23                $this->ixfAddBody1BlockShortcode();
     24            }
     25
    2126            if (isset($this->controller->ixf_data)
    2227            && $this->checkBodyStr($this->controller->ixf_data)){
     
    2631                } else if($options[BEIXFConstants::STRATEGY] == BEIXFConstants::FIRST_ELEMENT_IN_FOOTER) {
    2732                    $this->ixfAddBody1BlockFirstElementInFooter();
    28                 } else if($options[BEIXFConstants::STRATEGY] == BEIXFConstants::SHORTCODE){
    29                     $this->ixfAddBody1BlockShortcode();
    3033                } else {
    3134                    $this->ixfAddBody1Block();
  • brightedge-autopilot/trunk/src/be_ixf_client.php

    r2378318 r2443985  
    136136    public static $PRODUCT_NAME = "be_ixf";
    137137    public static $CLIENT_NAME = "php_sdk";
    138     public static $CLIENT_VERSION = "1.5.2";
     138    public static $CLIENT_VERSION = "1.5.3";
    139139
    140140    private static $API_VERSION = "1.0.0";
     
    184184     */
    185185    public function __construct($params = array()) {
     186        if (!isset($_SERVER['HTTP_HOST'])) {
     187            exit;
     188        }
    186189        // config array, defaults are defined here.
    187190        $this->config = array(
     
    625628            "proxy_port" => $this->config[self::$PROXY_PORT_CONFIG],
    626629            "proxy_usr" => isset($this->config[self::$PROXY_LOGIN_CONFIG]) ? $this->config[self::$PROXY_LOGIN_CONFIG] : "",
    627             "proxy_pwd" => isset($this->config[self::$PROXY_PASSWORD_CONFIG]) ? $this->config[self::$PROXY_PASSWORD_CONFIG] : "",
    628630            "socket_timeout" => $this->config[self::$SOCKET_TIMEOUT_CONFIG],
    629631            "socket_timeout_crawler" => $this->config[self::$CRAWLER_SOCKET_TIMEOUT_CONFIG],
  • brightedge-autopilot/trunk/src/constants.php

    r2378318 r2443985  
    55class BEIXFConstants{
    66    // wordpress plugin version
    7     const WP_VERSION = '<meta name="be:wp" content="1.1.6">';
     7    const WP_VERSION = '<meta name="be:wp" content="1.1.7">';
    88    // account id
    99    const ACCOUNT_ID = 'account_id';
Note: See TracChangeset for help on using the changeset viewer.