Plugin Directory

Changeset 2750869


Ignore:
Timestamp:
07/01/2022 04:23:33 PM (4 years ago)
Author:
RewardsFuel
Message:

Updated server constants for strings

Location:
contests-from-rewards-fuel/trunk
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • contests-from-rewards-fuel/trunk/Readme.txt

    r2732895 r2750869  
    66Requires PHP: 5.4
    77Tested up to: 6.0
    8 Stable tag: 2.0.55
     8Stable tag: 2.0.56
    99License: MIT
    1010License URI: https://RewardsFuel.com/wp_license.txt
     
    107107
    108108==Changelog==
    109 V 2.0.55 - Fixed some bugs
     109V 2.0.56 - Fixed some bugs
    110110
    111111==Upgrade Notice==
  • contests-from-rewards-fuel/trunk/contests-from-rewards-fuel.php

    r2732895 r2750869  
    1010 *
    1111 * @link              https://RewardsFuel.com
    12  * @since             2.0.55
     12 * @since             2.0.56
    1313 * @package           Contests_From_Rewards_Fuel
    1414 *
     
    1717 * Plugin URI:        https://RewardsFuel.com
    1818 * Description:       Run contests which add incentive for subscribing and more
    19  * Version:           2.0.55
     19 * Version:           2.0.56
    2020 * Author:            Rewards Fuel LLC
    2121 * Author URI:        https://RewardsFuel.com
     
    3333/**
    3434 * Currently plugin version.
    35  * Start at version 2.0.55 and use SemVer - https://semver.org
     35 * Start at version 2.0.56 and use SemVer - https://semver.org
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'CONTESTS_FROM_REWARDS_FUEL_VERSION', '2.0.55' );
     38define( 'CONTESTS_FROM_REWARDS_FUEL_VERSION', '2.0.56' );
    3939define( 'CONTESTS_FROM_REWARDS_FUEL_BASE_URL', plugin_dir_url(__FILE__) );
    4040define( 'CONTESTS_FROM_REWARDS_FUEL_FILE_ROOT',  plugin_dir_path( __FILE__ ) );
     
    7474 * not affect the page life cycle.
    7575 *
    76  * @since    2.0.55
     76 * @since    2.0.56
    7777 */
    7878function run_contests_from_rewards_fuel() {
  • contests-from-rewards-fuel/trunk/includes/Class_rf.php

    r2732895 r2750869  
    99            $this->version = CONTESTS_FROM_REWARDS_FUEL_VERSION;
    1010        } else {
    11             $this->version = '2.0.55';
     11            $this->version = '2.0.56';
    1212        }
    1313        $this->api_home ="https://app.rewardsfuel.com/api/wp_v2/";//todo update this to sub url
     
    2727            $er_obj->get      = $_GET;
    2828            $er_obj->post     = $_POST;
    29             $er_obj->url      = ( isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] === 'on' ? "https" : "http" ) . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
     29            $er_obj->url      = ( isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] === 'on' ? "https" : "http" ) . "://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
    3030            $result = $this->rf_exe( "log", $er_obj, $decode = false );
    3131            if($this->debug)
     
    4545            $er_obj->get      = $_GET;
    4646            $er_obj->post     = $_POST;
    47             $er_obj->url =  (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
     47            $er_obj->url =  (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
    4848            $result = $this->rf_exe( "log", $er_obj, $decode = false );
    4949            //if($this->debug)
  • contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-activator.php

    r2732895 r2750869  
    55 *
    66 * @link       https://RewardsFuel.com
    7  * @since      2.0.55
     7 * @since      2.0.56
    88 *
    99 * @package    Contests_From_Rewards_Fuel
     
    1616 * This class defines all code necessary to run during the plugin's activation.
    1717 *
    18  * @since      2.0.55
     18 * @since      2.0.56
    1919 * @package    Contests_From_Rewards_Fuel
    2020 * @subpackage Contests_From_Rewards_Fuel/includes
     
    2828     * Long Description.
    2929     *
    30      * @since    2.0.55
     30     * @since    2.0.56
    3131     */
    3232    public function __construct() {
  • contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-admin.php

    r2732895 r2750869  
    55 *
    66 * @link       https://RewardsFuel.com
    7  * @since      2.0.55
     7 * @since      2.0.56
    88 *
    99 * @package    Contests_From_Rewards_Fuel
     
    2424     * The array of actions registered with WordPress.
    2525     *
    26      * @since    2.0.55
     26     * @since    2.0.56
    2727     * @access   protected
    2828     * @var      array $actions The actions registered with WordPress to fire when the plugin loads.
  • contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-deactivator.php

    r2732895 r2750869  
    55 *
    66 * @link       https://RewardsFuel.com
    7  * @since      2.0.55
     7 * @since      2.0.56
    88 *
    99 * @package    Contests_From_Rewards_Fuel
     
    1616 * This class defines all code necessary to run during the plugin's deactivation.
    1717 *
    18  * @since      2.0.55
     18 * @since      2.0.56
    1919 * @package    Contests_From_Rewards_Fuel
    2020 * @subpackage Contests_From_Rewards_Fuel/includes
     
    2828     * Long Description.
    2929     *
    30      * @since    2.0.55
     30     * @since    2.0.56
    3131     */
    3232    public static function deactivate() {
  • contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-entry-methods.php

    r2732895 r2750869  
    88 *
    99 * @link       https://RewardsFuel.com
    10  * @since      2.0.55
     10 * @since      2.0.56
    1111 *
    1212 * @package    Contests_From_Rewards_Fuel
     
    2323 * version of the plugin.
    2424 *
    25  * @since      2.0.55
     25 * @since      2.0.56
    2626 * @package    Contests_From_Rewards_Fuel
    2727 * @subpackage Contests_From_Rewards_Fuel/includes
     
    3838     * the public-facing side of the site.
    3939     *
    40      * @since    2.0.55
     40     * @since    2.0.56
    4141     */
    4242    public function __construct() {
  • contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-i18n.php

    r2732895 r2750869  
    88 *
    99 * @link       https://RewardsFuel.com
    10  * @since      2.0.55
     10 * @since      2.0.56
    1111 *
    1212 * @package    Contests_From_Rewards_Fuel
     
    2020 * so that it is ready for translation.
    2121 *
    22  * @since      2.0.55
     22 * @since      2.0.56
    2323 * @package    Contests_From_Rewards_Fuel
    2424 * @subpackage Contests_From_Rewards_Fuel/includes
     
    3030     * Load the plugin text domain for translation.
    3131     *
    32      * @since    2.0.55
     32     * @since    2.0.56
    3333     */
    3434    public function load_plugin_textdomain() {
  • contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-loader.php

    r2732895 r2750869  
    55 *
    66 * @link       https://RewardsFuel.com
    7  * @since      2.0.55
     7 * @since      2.0.56
    88 *
    99 * @package    Contests_From_Rewards_Fuel
     
    2727     * The array of actions registered with WordPress.
    2828     *
    29      * @since    2.0.55
     29     * @since    2.0.56
    3030     * @access   protected
    3131     * @var      array $actions The actions registered with WordPress to fire when the plugin loads.
     
    4343     * Add a new action to the collection to be registered with WordPress.
    4444     *
    45      * @since    2.0.55
     45     * @since    2.0.56
    4646     * @param    string $hook The name of the WordPress action that is being registered.
    4747     * @param    object $component A reference to the instance of the object on which the action is defined.
     
    5858     * Add a new filter to the collection to be registered with WordPress.
    5959     *
    60      * @since    2.0.55
     60     * @since    2.0.56
    6161     * @param    string $hook The name of the WordPress filter that is being registered.
    6262     * @param    object $component A reference to the instance of the object on which the filter is defined.
     
    7474     * collection.
    7575     *
    76      * @since    2.0.55
     76     * @since    2.0.56
    7777     * @access   private
    7878     * @param    array $hooks The collection of hooks that is being registered (that is, actions or filters).
     
    102102     * Register the filters and actions with WordPress.
    103103     *
    104      * @since    2.0.55
     104     * @since    2.0.56
    105105     */
    106106    public function run()
  • contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel.php

    r2732895 r2750869  
    88 *
    99 * @link       https://RewardsFuel.com
    10  * @since      2.0.55
     10 * @since      2.0.56
    1111 *
    1212 * @package    Contests_From_Rewards_Fuel
     
    2323 * version of the plugin.
    2424 *
    25  * @since      2.0.55
     25 * @since      2.0.56
    2626 * @package    Contests_From_Rewards_Fuel
    2727 * @subpackage Contests_From_Rewards_Fuel/includes
     
    3838     * the public-facing side of the site.
    3939     *
    40      * @since    2.0.55
     40     * @since    2.0.56
    4141     */
    4242    public function __construct() {
     
    6767     * with WordPress.
    6868     *
    69      * @since    2.0.55
     69     * @since    2.0.56
    7070     * @access   private
    7171     */
     
    107107     * with WordPress.
    108108     *
    109      * @since    2.0.55
     109     * @since    2.0.56
    110110     * @access   private
    111111     */
     
    119119     * of the plugin.
    120120     *
    121      * @since    2.0.55
     121     * @since    2.0.56
    122122     * @access   private
    123123     */
     
    133133     * of the plugin.
    134134     *
    135      * @since    2.0.55
     135     * @since    2.0.56
    136136     * @access   private
    137137     */
     
    146146     * Run the loader to execute all of the hooks with WordPress.
    147147     *
    148      * @since    2.0.55
     148     * @since    2.0.56
    149149     */
    150150    public function run() {
  • contests-from-rewards-fuel/trunk/public/class-contests-from-rewards-fuel-public.php

    r2732895 r2750869  
    3030     * The ID of this plugin.
    3131     *
    32      * @since    2.0.55
     32     * @since    2.0.56
    3333     * @access   private
    3434     * @var      string    $plugin_name    The ID of this plugin.
     
    3939     * Initialize the class and set its properties.
    4040     *
    41      * @since    2.0.55
     41     * @since    2.0.56
    4242     * @param      string    $plugin_name       The name of the plugin.
    4343     * @param      string    $version    The version of this plugin.
     
    5454     * Register the stylesheets for the public-facing side of the site.
    5555     *
    56      * @since    2.0.55
     56     * @since    2.0.56
    5757     */
    5858    public function enqueue_styles() {
     
    7575     * Register the JavaScript for the public-facing side of the site.
    7676     *
    77      * @since    2.0.55
     77     * @since    2.0.56
    7878     */
    7979    public function enqueue_scripts() {
  • contests-from-rewards-fuel/trunk/public/partials/contests-from-rewards-fuel-public-display.php

    r2732895 r2750869  
    77 *
    88 * @link       https://RewardsFuel.com
    9  * @since      2.0.55
     9 * @since      2.0.56
    1010 *
    1111 * @package    Contests_From_Rewards_Fuel
  • contests-from-rewards-fuel/trunk/uninstall.php

    r2732895 r2750869  
    2121 *
    2222 * @link       https://RewardsFuel.com
    23  * @since      2.0.55
     23 * @since      2.0.56
    2424 *
    2525 * @package    Contests_From_Rewards_Fuel
Note: See TracChangeset for help on using the changeset viewer.