Plugin Directory

Changeset 3051990


Ignore:
Timestamp:
03/16/2024 12:30:33 AM (23 months ago)
Author:
RewardsFuel
Message:

Escaped the API key

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

Legend:

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

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

    r3039982 r3051990  
    1010 *
    1111 * @link              https://RewardsFuel.com
    12  * @since             2.0.64
     12 * @since             2.0.65
    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.64
     19 * Version:           2.0.65
    2020 * Author:            Rewards Fuel LLC
    2121 * Author URI:        https://RewardsFuel.com
     
    3333/**
    3434 * Currently plugin version.
    35  * Start at version 2.0.64 and use SemVer - https://semver.org
     35 * Start at version 2.0.65 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.64' );
     38define( 'CONTESTS_FROM_REWARDS_FUEL_VERSION', '2.0.65' );
    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.64
     76 * @since    2.0.65
    7777 */
    7878function run_contests_from_rewards_fuel() {
  • contests-from-rewards-fuel/trunk/includes/Class_rf.php

    r3039982 r3051990  
    99            $this->version = CONTESTS_FROM_REWARDS_FUEL_VERSION;
    1010        } else {
    11             $this->version = '2.0.64';
     11            $this->version = '2.0.65';
    1212        }
    1313        $this->cl = $this;
  • contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-activator.php

    r3039982 r3051990  
    55 *
    66 * @link       https://RewardsFuel.com
    7  * @since      2.0.64
     7 * @since      2.0.65
    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.64
     18 * @since      2.0.65
    1919 * @package    Contests_From_Rewards_Fuel
    2020 * @subpackage Contests_From_Rewards_Fuel/includes
     
    2828     * Long Description.
    2929     *
    30      * @since    2.0.64
     30     * @since    2.0.65
    3131     */
    3232    public function __construct() {
  • contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-admin.php

    r3039982 r3051990  
    55 *
    66 * @link       https://RewardsFuel.com
    7  * @since      2.0.64
     7 * @since      2.0.65
    88 *
    99 * @package    Contests_From_Rewards_Fuel
     
    2424     * The array of actions registered with WordPress.
    2525     *
    26      * @since    2.0.64
     26     * @since    2.0.65
    2727     * @access   protected
    2828     * @var      array $actions The actions registered with WordPress to fire when the plugin loads.
     
    6767                if (isset($_REQUEST["update_rewards_fuel_api_key"]) && current_user_can('administrator')) {
    6868                    $api_key = sanitize_text_field($_REQUEST["update_rewards_fuel_api_key"]);
     69                    $api_key= esc_html($api_key);
    6970                    update_option("rewards_fuel_api_key", $api_key);
    7071                    wp_die();
  • contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-deactivator.php

    r3039982 r3051990  
    55 *
    66 * @link       https://RewardsFuel.com
    7  * @since      2.0.64
     7 * @since      2.0.65
    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.64
     18 * @since      2.0.65
    1919 * @package    Contests_From_Rewards_Fuel
    2020 * @subpackage Contests_From_Rewards_Fuel/includes
     
    2828     * Long Description.
    2929     *
    30      * @since    2.0.64
     30     * @since    2.0.65
    3131     */
    3232    public static function deactivate() {
  • contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-entry-methods.php

    r3039982 r3051990  
    88 *
    99 * @link       https://RewardsFuel.com
    10  * @since      2.0.64
     10 * @since      2.0.65
    1111 *
    1212 * @package    Contests_From_Rewards_Fuel
     
    2323 * version of the plugin.
    2424 *
    25  * @since      2.0.64
     25 * @since      2.0.65
    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.64
     40     * @since    2.0.65
    4141     */
    4242    public function __construct() {
  • contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-i18n.php

    r3039982 r3051990  
    88 *
    99 * @link       https://RewardsFuel.com
    10  * @since      2.0.64
     10 * @since      2.0.65
    1111 *
    1212 * @package    Contests_From_Rewards_Fuel
     
    2020 * so that it is ready for translation.
    2121 *
    22  * @since      2.0.64
     22 * @since      2.0.65
    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.64
     32     * @since    2.0.65
    3333     */
    3434    public function load_plugin_textdomain() {
  • contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel-loader.php

    r3039982 r3051990  
    55 *
    66 * @link       https://RewardsFuel.com
    7  * @since      2.0.64
     7 * @since      2.0.65
    88 *
    99 * @package    Contests_From_Rewards_Fuel
     
    2727     * The array of actions registered with WordPress.
    2828     *
    29      * @since    2.0.64
     29     * @since    2.0.65
    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.64
     45     * @since    2.0.65
    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.64
     60     * @since    2.0.65
    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.64
     76     * @since    2.0.65
    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.64
     104     * @since    2.0.65
    105105     */
    106106    public function run()
  • contests-from-rewards-fuel/trunk/includes/class-contests-from-rewards-fuel.php

    r3039982 r3051990  
    88 *
    99 * @link       https://RewardsFuel.com
    10  * @since      2.0.64
     10 * @since      2.0.65
    1111 *
    1212 * @package    Contests_From_Rewards_Fuel
     
    2323 * version of the plugin.
    2424 *
    25  * @since      2.0.64
     25 * @since      2.0.65
    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.64
     40     * @since    2.0.65
    4141     */
    4242    public function __construct() {
     
    6767     * with WordPress.
    6868     *
    69      * @since    2.0.64
     69     * @since    2.0.65
    7070     * @access   private
    7171     */
     
    107107     * with WordPress.
    108108     *
    109      * @since    2.0.64
     109     * @since    2.0.65
    110110     * @access   private
    111111     */
     
    119119     * of the plugin.
    120120     *
    121      * @since    2.0.64
     121     * @since    2.0.65
    122122     * @access   private
    123123     */
     
    133133     * of the plugin.
    134134     *
    135      * @since    2.0.64
     135     * @since    2.0.65
    136136     * @access   private
    137137     */
     
    146146     * Run the loader to execute all of the hooks with WordPress.
    147147     *
    148      * @since    2.0.64
     148     * @since    2.0.65
    149149     */
    150150    public function run() {
  • contests-from-rewards-fuel/trunk/public/class-contests-from-rewards-fuel-public.php

    r3039982 r3051990  
    3030     * The ID of this plugin.
    3131     *
    32      * @since    2.0.64
     32     * @since    2.0.65
    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.64
     41     * @since    2.0.65
    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.64
     56     * @since    2.0.65
    5757     */
    5858    public function enqueue_styles() {
     
    7575     * Register the JavaScript for the public-facing side of the site.
    7676     *
    77      * @since    2.0.64
     77     * @since    2.0.65
    7878     */
    7979    public function enqueue_scripts() {
  • contests-from-rewards-fuel/trunk/public/partials/contests-from-rewards-fuel-public-display.php

    r3039982 r3051990  
    77 *
    88 * @link       https://RewardsFuel.com
    9  * @since      2.0.64
     9 * @since      2.0.65
    1010 *
    1111 * @package    Contests_From_Rewards_Fuel
  • contests-from-rewards-fuel/trunk/uninstall.php

    r3039982 r3051990  
    2121 *
    2222 * @link       https://RewardsFuel.com
    23  * @since      2.0.64
     23 * @since      2.0.65
    2424 *
    2525 * @package    Contests_From_Rewards_Fuel
Note: See TracChangeset for help on using the changeset viewer.