Plugin Directory

Changeset 3281999


Ignore:
Timestamp:
04/25/2025 03:36:12 PM (11 months ago)
Author:
rpetersen29
Message:

v3.0.7

Location:
simple-banner
Files:
2 edited
10 copied

Legend:

Unmodified
Added
Removed
  • simple-banner/tags/3.0.7/readme.txt

    r3268218 r3281999  
    44Tags: banner, bar, announcement, notification, notice
    55Requires at least: 3.0.1
    6 Tested up to: 6.7.2
    7 Stable tag: 3.0.6
     6Tested up to: 6.8.0
     7Stable tag: 3.0.7
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    100100== Changelog ==
    101101
     102= 3.0.7 =
     103* Test against wp 6.8.0, minor bugfix
     104
    102105= 3.0.6 =
    103106* Clear caches on settings save
     
    364367== Upgrade Notice ==
    365368
     369= 3.0.7 =
     370* Test against wp 6.8.0, minor bugfix
     371
    366372= 3.0.6 =
    367373* Clear caches on settings save
  • simple-banner/tags/3.0.7/simple-banner.php

    r3268218 r3281999  
    44 * Plugin URI: https://github.com/rpetersen29/simple-banner
    55 * Description: Display a simple banner at the top or bottom of your website. Now with multi-banner support
    6  * Version: 3.0.6
     6 * Version: 3.0.7
    77 * Author: Ryan Petersen
    88 * Author URI: http://rpetersen29.github.io/
     
    1010 *
    1111 * @package Simple Banner
    12  * @version 3.0.6
     12 * @version 3.0.7
    1313 * @author Ryan Petersen <rpetersen.dev@gmail.com>
    1414 */
    15 define ('SB_VERSION', '3.0.6');
     15define ('SB_VERSION', '3.0.7');
    1616
    1717register_activation_hook( __FILE__, 'simple_banner_activate' );
     
    997997// Hack: Set hidden variable to always change on save
    998998// TODO: Find better way of making sure cache is cleared on save
     999add_action( 'add_option_simple_banner_clear_cache', 'clear_all_caches', 10, 2 );
    9991000add_action( 'update_option_simple_banner_clear_cache', 'clear_all_caches', 10, 3 );
    10001001
    1001 function clear_all_caches($old_value, $value, $option) {
     1002/**
     1003 * Arguments here aren't used currently. And $option value is optional due to
     1004 * "add_option_{$option}" only passing in two arguments.
     1005 */
     1006function clear_all_caches($old_value, $value, $option = 'simple_banner_clear_cache') {
    10021007    try {
    10031008        clearW3TotalCache();
  • simple-banner/trunk/readme.txt

    r3268218 r3281999  
    44Tags: banner, bar, announcement, notification, notice
    55Requires at least: 3.0.1
    6 Tested up to: 6.7.2
    7 Stable tag: 3.0.6
     6Tested up to: 6.8.0
     7Stable tag: 3.0.7
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    100100== Changelog ==
    101101
     102= 3.0.7 =
     103* Test against wp 6.8.0, minor bugfix
     104
    102105= 3.0.6 =
    103106* Clear caches on settings save
     
    364367== Upgrade Notice ==
    365368
     369= 3.0.7 =
     370* Test against wp 6.8.0, minor bugfix
     371
    366372= 3.0.6 =
    367373* Clear caches on settings save
  • simple-banner/trunk/simple-banner.php

    r3268218 r3281999  
    44 * Plugin URI: https://github.com/rpetersen29/simple-banner
    55 * Description: Display a simple banner at the top or bottom of your website. Now with multi-banner support
    6  * Version: 3.0.6
     6 * Version: 3.0.7
    77 * Author: Ryan Petersen
    88 * Author URI: http://rpetersen29.github.io/
     
    1010 *
    1111 * @package Simple Banner
    12  * @version 3.0.6
     12 * @version 3.0.7
    1313 * @author Ryan Petersen <rpetersen.dev@gmail.com>
    1414 */
    15 define ('SB_VERSION', '3.0.6');
     15define ('SB_VERSION', '3.0.7');
    1616
    1717register_activation_hook( __FILE__, 'simple_banner_activate' );
     
    997997// Hack: Set hidden variable to always change on save
    998998// TODO: Find better way of making sure cache is cleared on save
     999add_action( 'add_option_simple_banner_clear_cache', 'clear_all_caches', 10, 2 );
    9991000add_action( 'update_option_simple_banner_clear_cache', 'clear_all_caches', 10, 3 );
    10001001
    1001 function clear_all_caches($old_value, $value, $option) {
     1002/**
     1003 * Arguments here aren't used currently. And $option value is optional due to
     1004 * "add_option_{$option}" only passing in two arguments.
     1005 */
     1006function clear_all_caches($old_value, $value, $option = 'simple_banner_clear_cache') {
    10021007    try {
    10031008        clearW3TotalCache();
Note: See TracChangeset for help on using the changeset viewer.