Changeset 3409689
- Timestamp:
- 12/03/2025 02:52:31 PM (11 days ago)
- Location:
- sitewide-notice-wp
- Files:
-
- 3 edited
- 2 copied
-
tags/2.4.2 (copied) (copied from sitewide-notice-wp/trunk)
-
tags/2.4.2/readme.txt (copied) (copied from sitewide-notice-wp/trunk/readme.txt) (3 diffs)
-
tags/2.4.2/sitewide-notice-wp.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/sitewide-notice-wp.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sitewide-notice-wp/tags/2.4.2/readme.txt
r3376126 r3409689 2 2 Contributors: andrewza, yoohooplugins 3 3 Donate link: https://yoohooplugins.com 4 Tags: sitewide banner, site banner, banner, notice, sitewide notice 4 Tags: 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 5 5 Requires at least: 5.2 6 Tested up to: 6. 87 Stable tag: 2.4. 16 Tested up to: 6.9 7 Stable tag: 2.4.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 66 66 67 67 == Upgrade Notice == 68 = 2.4.2 = 69 * Upgrade for a minor security improvement to the plugin. 70 68 71 = 2.4 = 69 72 * Upgrade for general improvements on loading the notification bar. … … 76 79 77 80 == 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 78 84 = 2.4 - 2023-01-30 = 79 85 * SECURITY: Improved general sanitization and escaping of the plugin where possible. -
sitewide-notice-wp/tags/2.4.2/sitewide-notice-wp.php
r2952226 r3409689 4 4 * Description: Adds a simple message bar to the front-end of your website. 5 5 * Plugin URI: https://yoohooplugins.com 6 * Version: 2.4. 16 * Version: 2.4.2 7 7 * Author: Yoohoo Plugins 8 8 * Author URI: https://yoohooplugins.com … … 55 55 */ 56 56 private function __construct() { 57 58 57 } //end of construct 59 58 … … 62 61 global $pagenow; 63 62 64 //run this code regardless if the actual banner is activated or not.65 add_action( 'init', array( 'SiteWide_Notice_WP', 'init' ) );66 67 63 $swnza_options = get_option( 'swnza_options' ); 68 64 … … 70 66 add_action( 'wp_footer', array( 'SiteWide_Notice_WP', 'display_sitewide_notice_banner' ) ); 71 67 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' );78 68 } 79 69 } -
sitewide-notice-wp/trunk/readme.txt
r3376126 r3409689 2 2 Contributors: andrewza, yoohooplugins 3 3 Donate link: https://yoohooplugins.com 4 Tags: sitewide banner, site banner, banner, notice, sitewide notice 4 Tags: 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 5 5 Requires at least: 5.2 6 Tested up to: 6. 87 Stable tag: 2.4. 16 Tested up to: 6.9 7 Stable tag: 2.4.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 66 66 67 67 == Upgrade Notice == 68 = 2.4.2 = 69 * Upgrade for a minor security improvement to the plugin. 70 68 71 = 2.4 = 69 72 * Upgrade for general improvements on loading the notification bar. … … 76 79 77 80 == 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 78 84 = 2.4 - 2023-01-30 = 79 85 * SECURITY: Improved general sanitization and escaping of the plugin where possible. -
sitewide-notice-wp/trunk/sitewide-notice-wp.php
r2952226 r3409689 4 4 * Description: Adds a simple message bar to the front-end of your website. 5 5 * Plugin URI: https://yoohooplugins.com 6 * Version: 2.4. 16 * Version: 2.4.2 7 7 * Author: Yoohoo Plugins 8 8 * Author URI: https://yoohooplugins.com … … 55 55 */ 56 56 private function __construct() { 57 58 57 } //end of construct 59 58 … … 62 61 global $pagenow; 63 62 64 //run this code regardless if the actual banner is activated or not.65 add_action( 'init', array( 'SiteWide_Notice_WP', 'init' ) );66 67 63 $swnza_options = get_option( 'swnza_options' ); 68 64 … … 70 66 add_action( 'wp_footer', array( 'SiteWide_Notice_WP', 'display_sitewide_notice_banner' ) ); 71 67 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' );78 68 } 79 69 }
Note: See TracChangeset
for help on using the changeset viewer.