Changeset 2791511
- Timestamp:
- 09/28/2022 08:06:19 PM (4 years ago)
- Location:
- contests-from-rewards-fuel/trunk
- Files:
-
- 14 edited
-
Readme.txt (modified) (2 diffs)
-
admin/js/contests-from-rewards-fuel-admin.js (modified) (5 diffs)
-
contests-from-rewards-fuel.php (modified) (4 diffs)
-
includes/Class_rf.php (modified) (1 diff)
-
includes/class-contests-from-rewards-fuel-activator.php (modified) (3 diffs)
-
includes/class-contests-from-rewards-fuel-admin.php (modified) (2 diffs)
-
includes/class-contests-from-rewards-fuel-deactivator.php (modified) (3 diffs)
-
includes/class-contests-from-rewards-fuel-entry-methods.php (modified) (3 diffs)
-
includes/class-contests-from-rewards-fuel-i18n.php (modified) (3 diffs)
-
includes/class-contests-from-rewards-fuel-loader.php (modified) (6 diffs)
-
includes/class-contests-from-rewards-fuel.php (modified) (8 diffs)
-
public/class-contests-from-rewards-fuel-public.php (modified) (4 diffs)
-
public/partials/contests-from-rewards-fuel-public-display.php (modified) (1 diff)
-
uninstall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
contests-from-rewards-fuel/trunk/Readme.txt
r2750869 r2791511 5 5 Requires at least: 3.0.1 6 6 Requires PHP: 5.4 7 Tested up to: 6.0 8 Stable tag: 2.0.5 67 Tested up to: 6.0.2 8 Stable tag: 2.0.57 9 9 License: MIT 10 10 License URI: https://RewardsFuel.com/wp_license.txt … … 107 107 108 108 ==Changelog== 109 V 2.0.5 6- Fixed some bugs109 V 2.0.57 - Fixed some bugs 110 110 111 111 ==Upgrade Notice== -
contests-from-rewards-fuel/trunk/admin/js/contests-from-rewards-fuel-admin.js
r2693903 r2791511 35 35 rf_admin.set_cookie = function (name, value, days) { 36 36 var expires = ""; 37 38 37 if (days) { 39 38 var date = new Date(); … … 41 40 expires = "; expires=" + date.toUTCString(); 42 41 } 43 44 42 document.cookie = name + "=" + (value || "") + expires + "; path=/"; 45 43 }; … … 48 46 var nameEQ = name + "="; 49 47 var ca = document.cookie.split(";"); 50 51 48 for (var i = 0; i < ca.length; i++) { 52 49 var c = ca[i]; 53 54 50 while (c.charAt(0) == " ") c = c.substring(1, c.length); 55 56 51 if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); 57 52 } 58 59 53 return false; 60 54 }; … … 1161 1155 try { 1162 1156 rf_admin.filling_pickers = true; 1163 1164 1157 if (jQuery.isArray(prize_data.pickers)) { 1165 1158 jQuery.each(prize_data.pickers, function (ind, elm) { … … 1185 1178 }); 1186 1179 } 1187 1188 1180 rf_admin.filling_pickers = false; 1189 1181 } catch (e) { -
contests-from-rewards-fuel/trunk/contests-from-rewards-fuel.php
r2750869 r2791511 10 10 * 11 11 * @link https://RewardsFuel.com 12 * @since 2.0.5 612 * @since 2.0.57 13 13 * @package Contests_From_Rewards_Fuel 14 14 * … … 17 17 * Plugin URI: https://RewardsFuel.com 18 18 * Description: Run contests which add incentive for subscribing and more 19 * Version: 2.0.5 619 * Version: 2.0.57 20 20 * Author: Rewards Fuel LLC 21 21 * Author URI: https://RewardsFuel.com … … 33 33 /** 34 34 * Currently plugin version. 35 * Start at version 2.0.5 6and use SemVer - https://semver.org35 * Start at version 2.0.57 and use SemVer - https://semver.org 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'CONTESTS_FROM_REWARDS_FUEL_VERSION', '2.0.5 6' );38 define( 'CONTESTS_FROM_REWARDS_FUEL_VERSION', '2.0.57' ); 39 39 define( 'CONTESTS_FROM_REWARDS_FUEL_BASE_URL', plugin_dir_url(__FILE__) ); 40 40 define( 'CONTESTS_FROM_REWARDS_FUEL_FILE_ROOT', plugin_dir_path( __FILE__ ) ); … … 74 74 * not affect the page life cycle. 75 75 * 76 * @since 2.0.5 676 * @since 2.0.57 77 77 */ 78 78 function run_contests_from_rewards_fuel() { -
contests-from-rewards-fuel/trunk/includes/Class_rf.php
r2750869 r2791511 9 9 $this->version = CONTESTS_FROM_REWARDS_FUEL_VERSION; 10 10 } else { 11 $this->version = '2.0.5 6';11 $this->version = '2.0.57'; 12 12 } 13 13 $this->api_home ="https://app.rewardsfuel.com/api/wp_v2/";//todo update this to sub url -
contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-activator.php
r2750869 r2791511 5 5 * 6 6 * @link https://RewardsFuel.com 7 * @since 2.0.5 67 * @since 2.0.57 8 8 * 9 9 * @package Contests_From_Rewards_Fuel … … 16 16 * This class defines all code necessary to run during the plugin's activation. 17 17 * 18 * @since 2.0.5 618 * @since 2.0.57 19 19 * @package Contests_From_Rewards_Fuel 20 20 * @subpackage Contests_From_Rewards_Fuel/includes … … 28 28 * Long Description. 29 29 * 30 * @since 2.0.5 630 * @since 2.0.57 31 31 */ 32 32 public function __construct() { -
contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-admin.php
r2750869 r2791511 5 5 * 6 6 * @link https://RewardsFuel.com 7 * @since 2.0.5 67 * @since 2.0.57 8 8 * 9 9 * @package Contests_From_Rewards_Fuel … … 24 24 * The array of actions registered with WordPress. 25 25 * 26 * @since 2.0.5 626 * @since 2.0.57 27 27 * @access protected 28 28 * @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
r2750869 r2791511 5 5 * 6 6 * @link https://RewardsFuel.com 7 * @since 2.0.5 67 * @since 2.0.57 8 8 * 9 9 * @package Contests_From_Rewards_Fuel … … 16 16 * This class defines all code necessary to run during the plugin's deactivation. 17 17 * 18 * @since 2.0.5 618 * @since 2.0.57 19 19 * @package Contests_From_Rewards_Fuel 20 20 * @subpackage Contests_From_Rewards_Fuel/includes … … 28 28 * Long Description. 29 29 * 30 * @since 2.0.5 630 * @since 2.0.57 31 31 */ 32 32 public static function deactivate() { -
contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-entry-methods.php
r2750869 r2791511 8 8 * 9 9 * @link https://RewardsFuel.com 10 * @since 2.0.5 610 * @since 2.0.57 11 11 * 12 12 * @package Contests_From_Rewards_Fuel … … 23 23 * version of the plugin. 24 24 * 25 * @since 2.0.5 625 * @since 2.0.57 26 26 * @package Contests_From_Rewards_Fuel 27 27 * @subpackage Contests_From_Rewards_Fuel/includes … … 38 38 * the public-facing side of the site. 39 39 * 40 * @since 2.0.5 640 * @since 2.0.57 41 41 */ 42 42 public function __construct() { -
contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-i18n.php
r2750869 r2791511 8 8 * 9 9 * @link https://RewardsFuel.com 10 * @since 2.0.5 610 * @since 2.0.57 11 11 * 12 12 * @package Contests_From_Rewards_Fuel … … 20 20 * so that it is ready for translation. 21 21 * 22 * @since 2.0.5 622 * @since 2.0.57 23 23 * @package Contests_From_Rewards_Fuel 24 24 * @subpackage Contests_From_Rewards_Fuel/includes … … 30 30 * Load the plugin text domain for translation. 31 31 * 32 * @since 2.0.5 632 * @since 2.0.57 33 33 */ 34 34 public function load_plugin_textdomain() { -
contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-loader.php
r2750869 r2791511 5 5 * 6 6 * @link https://RewardsFuel.com 7 * @since 2.0.5 67 * @since 2.0.57 8 8 * 9 9 * @package Contests_From_Rewards_Fuel … … 27 27 * The array of actions registered with WordPress. 28 28 * 29 * @since 2.0.5 629 * @since 2.0.57 30 30 * @access protected 31 31 * @var array $actions The actions registered with WordPress to fire when the plugin loads. … … 43 43 * Add a new action to the collection to be registered with WordPress. 44 44 * 45 * @since 2.0.5 645 * @since 2.0.57 46 46 * @param string $hook The name of the WordPress action that is being registered. 47 47 * @param object $component A reference to the instance of the object on which the action is defined. … … 58 58 * Add a new filter to the collection to be registered with WordPress. 59 59 * 60 * @since 2.0.5 660 * @since 2.0.57 61 61 * @param string $hook The name of the WordPress filter that is being registered. 62 62 * @param object $component A reference to the instance of the object on which the filter is defined. … … 74 74 * collection. 75 75 * 76 * @since 2.0.5 676 * @since 2.0.57 77 77 * @access private 78 78 * @param array $hooks The collection of hooks that is being registered (that is, actions or filters). … … 102 102 * Register the filters and actions with WordPress. 103 103 * 104 * @since 2.0.5 6104 * @since 2.0.57 105 105 */ 106 106 public function run() -
contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel.php
r2750869 r2791511 8 8 * 9 9 * @link https://RewardsFuel.com 10 * @since 2.0.5 610 * @since 2.0.57 11 11 * 12 12 * @package Contests_From_Rewards_Fuel … … 23 23 * version of the plugin. 24 24 * 25 * @since 2.0.5 625 * @since 2.0.57 26 26 * @package Contests_From_Rewards_Fuel 27 27 * @subpackage Contests_From_Rewards_Fuel/includes … … 38 38 * the public-facing side of the site. 39 39 * 40 * @since 2.0.5 640 * @since 2.0.57 41 41 */ 42 42 public function __construct() { … … 67 67 * with WordPress. 68 68 * 69 * @since 2.0.5 669 * @since 2.0.57 70 70 * @access private 71 71 */ … … 107 107 * with WordPress. 108 108 * 109 * @since 2.0.5 6109 * @since 2.0.57 110 110 * @access private 111 111 */ … … 119 119 * of the plugin. 120 120 * 121 * @since 2.0.5 6121 * @since 2.0.57 122 122 * @access private 123 123 */ … … 133 133 * of the plugin. 134 134 * 135 * @since 2.0.5 6135 * @since 2.0.57 136 136 * @access private 137 137 */ … … 146 146 * Run the loader to execute all of the hooks with WordPress. 147 147 * 148 * @since 2.0.5 6148 * @since 2.0.57 149 149 */ 150 150 public function run() { -
contests-from-rewards-fuel/trunk/public/class-contests-from-rewards-fuel-public.php
r2750869 r2791511 30 30 * The ID of this plugin. 31 31 * 32 * @since 2.0.5 632 * @since 2.0.57 33 33 * @access private 34 34 * @var string $plugin_name The ID of this plugin. … … 39 39 * Initialize the class and set its properties. 40 40 * 41 * @since 2.0.5 641 * @since 2.0.57 42 42 * @param string $plugin_name The name of the plugin. 43 43 * @param string $version The version of this plugin. … … 54 54 * Register the stylesheets for the public-facing side of the site. 55 55 * 56 * @since 2.0.5 656 * @since 2.0.57 57 57 */ 58 58 public function enqueue_styles() { … … 75 75 * Register the JavaScript for the public-facing side of the site. 76 76 * 77 * @since 2.0.5 677 * @since 2.0.57 78 78 */ 79 79 public function enqueue_scripts() { -
contests-from-rewards-fuel/trunk/public/partials/contests-from-rewards-fuel-public-display.php
r2750869 r2791511 7 7 * 8 8 * @link https://RewardsFuel.com 9 * @since 2.0.5 69 * @since 2.0.57 10 10 * 11 11 * @package Contests_From_Rewards_Fuel -
contests-from-rewards-fuel/trunk/uninstall.php
r2750869 r2791511 21 21 * 22 22 * @link https://RewardsFuel.com 23 * @since 2.0.5 623 * @since 2.0.57 24 24 * 25 25 * @package Contests_From_Rewards_Fuel
Note: See TracChangeset
for help on using the changeset viewer.