Plugin Directory

Changeset 3409689


Ignore:
Timestamp:
12/03/2025 02:52:31 PM (11 days ago)
Author:
andrewza
Message:

V2.4.2

Location:
sitewide-notice-wp
Files:
3 edited
2 copied

Legend:

Unmodified
Added
Removed
  • sitewide-notice-wp/tags/2.4.2/readme.txt

    r3376126 r3409689  
    22Contributors: andrewza, yoohooplugins
    33Donate link: https://yoohooplugins.com
    4 Tags: sitewide banner, site banner, banner, notice, sitewide notice
     4Tags: sitewide banner, site banner, banner, notice, sitewide notice, popup banner, simple banner, website banner, website notice, site notice, site message, website message bar, website bar message, message bar
    55Requires at least: 5.2
    6 Tested up to: 6.8
    7 Stable tag: 2.4.1
     6Tested up to: 6.9
     7Stable tag: 2.4.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6666
    6767== Upgrade Notice ==
     68= 2.4.2 =
     69* Upgrade for a minor security improvement to the plugin.
     70
    6871= 2.4 =
    6972* Upgrade for general improvements on loading the notification bar.
     
    7679
    7780== Changelog ==
     81= 2.4.2 - 2025-12-03 =
     82* SECURITY: Fixed a minor issue of unused code that could be exploited to delete options.
     83
    7884= 2.4 - 2023-01-30 =
    7985* SECURITY: Improved general sanitization and escaping of the plugin where possible.
  • sitewide-notice-wp/tags/2.4.2/sitewide-notice-wp.php

    r2952226 r3409689  
    44 * Description: Adds a simple message bar to the front-end of your website.
    55 * Plugin URI: https://yoohooplugins.com
    6  * Version: 2.4.1
     6 * Version: 2.4.2
    77 * Author: Yoohoo Plugins
    88 * Author URI: https://yoohooplugins.com
     
    5555    */
    5656    private function __construct() {
    57 
    5857    } //end of construct
    5958
     
    6261        global $pagenow;
    6362
    64         //run this code regardless if the actual banner is activated or not.
    65         add_action( 'init', array( 'SiteWide_Notice_WP', 'init' ) );
    66 
    6763        $swnza_options = get_option( 'swnza_options' );
    6864
     
    7066            add_action( 'wp_footer', array( 'SiteWide_Notice_WP', 'display_sitewide_notice_banner' ) );
    7167            add_action( 'wp_enqueue_scripts', array( 'SiteWide_Notice_WP', 'enqueue_scripts' ) );
    72         }
    73     }
    74 
    75     public static function init() {
    76         if( isset( $_REQUEST['remove_swnza_settings'] ) || !empty( $_REQUEST['remove_swnza_settings'] ) ) {
    77             delete_option( 'swnza_options' );
    7868        }
    7969    }
  • sitewide-notice-wp/trunk/readme.txt

    r3376126 r3409689  
    22Contributors: andrewza, yoohooplugins
    33Donate link: https://yoohooplugins.com
    4 Tags: sitewide banner, site banner, banner, notice, sitewide notice
     4Tags: sitewide banner, site banner, banner, notice, sitewide notice, popup banner, simple banner, website banner, website notice, site notice, site message, website message bar, website bar message, message bar
    55Requires at least: 5.2
    6 Tested up to: 6.8
    7 Stable tag: 2.4.1
     6Tested up to: 6.9
     7Stable tag: 2.4.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6666
    6767== Upgrade Notice ==
     68= 2.4.2 =
     69* Upgrade for a minor security improvement to the plugin.
     70
    6871= 2.4 =
    6972* Upgrade for general improvements on loading the notification bar.
     
    7679
    7780== Changelog ==
     81= 2.4.2 - 2025-12-03 =
     82* SECURITY: Fixed a minor issue of unused code that could be exploited to delete options.
     83
    7884= 2.4 - 2023-01-30 =
    7985* SECURITY: Improved general sanitization and escaping of the plugin where possible.
  • sitewide-notice-wp/trunk/sitewide-notice-wp.php

    r2952226 r3409689  
    44 * Description: Adds a simple message bar to the front-end of your website.
    55 * Plugin URI: https://yoohooplugins.com
    6  * Version: 2.4.1
     6 * Version: 2.4.2
    77 * Author: Yoohoo Plugins
    88 * Author URI: https://yoohooplugins.com
     
    5555    */
    5656    private function __construct() {
    57 
    5857    } //end of construct
    5958
     
    6261        global $pagenow;
    6362
    64         //run this code regardless if the actual banner is activated or not.
    65         add_action( 'init', array( 'SiteWide_Notice_WP', 'init' ) );
    66 
    6763        $swnza_options = get_option( 'swnza_options' );
    6864
     
    7066            add_action( 'wp_footer', array( 'SiteWide_Notice_WP', 'display_sitewide_notice_banner' ) );
    7167            add_action( 'wp_enqueue_scripts', array( 'SiteWide_Notice_WP', 'enqueue_scripts' ) );
    72         }
    73     }
    74 
    75     public static function init() {
    76         if( isset( $_REQUEST['remove_swnza_settings'] ) || !empty( $_REQUEST['remove_swnza_settings'] ) ) {
    77             delete_option( 'swnza_options' );
    7868        }
    7969    }
Note: See TracChangeset for help on using the changeset viewer.