Plugin Directory

Changeset 3028244


Ignore:
Timestamp:
01/29/2024 01:00:56 PM (2 years ago)
Author:
sourabh.asct
Message:

Latest version 3.2

Location:
disable-wp-notification
Files:
9 added
18 edited
1 copied

Legend:

Unmodified
Added
Removed
  • disable-wp-notification/tags/3.2/README.txt

    r2916349 r3028244  
    44Donate link: https://sourabhagrawal.com/disable-wp-notification/
    55Tags: remove unwanted notification, disable dashboard notifications, disable plugin update, disable admin notices, disable theme update, , remove notices, disable warnings, disable wordpress plugin update, disable wordpress theme update, disable update nags, disable nags
    6 Requires at least: 3.0.1
    7 Tested up to: 6.2.2
    8 Stable tag: 3.1
     6Requires at least: 6.0
     7Tested up to: 6.4.2
     8Stable tag: 3.2
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7171
    7272== Changelog ==
     73= 3.2
     74* Compatible up to WordPress 6.4.2
     75* Minor Bug Fixes
     76
    7377= 3.1
    7478* Compatible up to WordPress 6.2.2
     
    102106
    103107== Upgrade Notice ==
     108= 3.2
     109* Compatible up to WordPress 6.4.2
     110* Minor Bug Fixes
    104111
    105112= 3.1
  • disable-wp-notification/tags/3.2/admin/class-disable-wp-notification-admin.php

    r2916349 r3028244  
    11<?php
    2 
    3 /**
    4 *
    5 * @link       https://sourabhagrawal.com/
    6 * @since      1.0.0
    7 *
    8 * @package    Disable_Wp_Notification
    9 * @subpackage Disable_Wp_Notification/admin
    10 */
    11 
    122/**
    133*
     
    155* enqueue the admin-specific stylesheet and JavaScript.
    166*
     7* @link       https://sourabhagrawal.com/
     8* @since      1.0.0
    179* @package    Disable_Wp_Notification
    1810* @subpackage Disable_Wp_Notification/admin
     
    5749    */
    5850    public function admin_menu() {
    59        
    6051        /**
    6152        * An instance of this class should be passed to the run() function
     
    8172            }
    8273        }
    83        
    8474    }
    8575   
     
    8777    * Options page callback
    8878    *
    89     * @since    3.0
     79    * @since    3.2
    9080    */
    9181    public function disable_notification()
     
    164154        <div class="event-handler" aria-controls="area-2"> <?php echo __('Notifications', 'disable-wp-notification');?> </div>
    165155        <div id="display-notifications" class="handled-section" id="area-2">
    166         <h1>All The Notifications</h1>
     156        <h1><?php echo __('All The Notifications', 'disable-wp-notification');?></h1>
    167157        </div>
    168158        </div>
     
    172162        <div class="description">
    173163        <ul>
    174         <li>Disable All the Notifications.</li>
    175         <li>Disable Plugin Update Notification.</li>
    176         <li>Disable Theme Update Notification.</li>
     164        <li><?php echo __('Disable All the Notifications.', 'disable-wp-notification');?></li>
     165        <li><?php echo __('Disable Plugin Update Notification.', 'disable-wp-notification');?></li>
     166        <li><?php echo __('Disable Theme Update Notification.', 'disable-wp-notification');?></li>
    177167        </ul>
    178168        </div>
     
    184174        <div class="handled-section" id="area-2">
    185175        <div class="description">
    186             <p>If you find this plugin valuable and would like to support its further development, you can show your appreciation by buying us a coffee through a voluntary monetary contribution. Your support will help us continue improving and growing the plugin. Additionally, we would greatly appreciate it if you could take a moment to leave a review or rating for the plugin, as it helps us reach more users and gather feedback for further enhancements. However, please note that both the contribution and review/rating are completely optional and not mandatory.</p> <p><b>Thank you for considering it!</b></p>
     176            <p><?php echo __('If you find this plugin valuable and would like to support its further development, you can show your appreciation by buying us a coffee through a voluntary monetary contribution. Your support will help us continue improving and growing the plugin. Additionally, we would greatly appreciate it if you could take a moment to leave a review or rating for the plugin, as it helps us reach more users and gather feedback for further enhancements. However, please note that both the contribution and review/rating are completely optional and not mandatory.', 'disable-wp-notification');?></p> <p><b><?php echo __('Thank you for considering it!', 'disable-wp-notification');?></b></p>
    187177           
    188178            <div class="rating-review">
     
    331321    * Register the stylesheets for the admin area.
    332322    *
    333     * @since    1.0.3
     323    * @since    3.2
    334324    */
    335325    public function enqueue_styles() {
     
    365355                        ?>
    366356                        <style type="text/css">
    367                         body.wp-admin:not(.theme-editor-php) .notice:not(.updated),
     357                        body.wp-admin:not(.theme-editor-php) .notice:not(.updated):not(.new-application-password-notice),
    368358                        body.wp-admin .update-nag,
    369359                        body.wp-admin #adminmenu .awaiting-mod,
     
    371361                        #message.woocommerce-message,
    372362                        body.wp-admin .plugin-update.colspanchange,
     363                        body.wp-admin .fs-notice.fs-type-plugin,
    373364                        .notice.elementor-message.elementor-message-dismissed
    374365                        {display: none !important;}
     
    433424                return $links;
    434425            }
    435            
    436         }
    437        
     426        }
     427       
  • disable-wp-notification/tags/3.2/admin/js/disable-wp-notifications.js

    r2319178 r3028244  
    44        jQuery("body.wp-admin .plugin-update.colspanchange").replaceWith('');
    55        jQuery("body.wp-admin .notice.elementor-message.elementor-message-dismissed").replaceWith('');
    6         jQuery("body.wp-admin:not(.theme-editor-php) .notice").replaceWith('');
     6        jQuery("body.wp-admin:not(.theme-editor-php) .notice:not(.updated):not(.new-application-password-notice):not(#message)").replaceWith('');
    77    });
    88})( jQuery );
  • disable-wp-notification/tags/3.2/disable-wp-notification.php

    r2916349 r3028244  
    99 * Plugin URI:        https://sourabhagrawal.com/disable-wp-notification
    1010 * Description:       Best wordpress plugin to remove all the admin panel notifications in just one click. Including the theme and plugin update notification.
    11  * Version:           3.1
     11 * Version:           3.2
    1212 * Author:            Sourabh Agrawal
    1313 * Author URI:        https://sourabhagrawal.com/
     
    2626 * Currently plugin version.
    2727 */
    28 define( 'DISABLE_WP_NOTIFICATION_VERSION', '3.0' );
     28define( 'DISABLE_WP_NOTIFICATION_VERSION', '3.2' );
    2929define( 'DISABLE_WP_NOTIFICATION', plugin_basename( __FILE__ ) );
    3030
  • disable-wp-notification/tags/3.2/includes/class-disable-wp-notification-activator.php

    r2309600 r3028244  
    11<?php
    2 
    3 /**
    4  * Fired during plugin activation
    5  *
    6  * @link       https://sourabhagrawal.com/
    7  * @since      1.0.0
    8  *
    9  * @package    Disable_Wp_Notification
    10  * @subpackage Disable_Wp_Notification/includes
    11  */
    12 
    132/**
    143 * Fired during plugin activation.
  • disable-wp-notification/tags/3.2/includes/class-disable-wp-notification-deactivator.php

    r2309600 r3028244  
    11<?php
    2 
    3 /**
    4  * Fired during plugin deactivation
    5  *
    6  * @link       https://sourabhagrawal.com/
    7  * @since      1.0.0
    8  *
    9  * @package    Disable_Wp_Notification
    10  * @subpackage Disable_Wp_Notification/includes
    11  */
    12 
    132/**
    143 * Fired during plugin deactivation.
  • disable-wp-notification/tags/3.2/includes/class-disable-wp-notification-i18n.php

    r2309600 r3028244  
    11<?php
    2 
    3 /**
    4  * Define the internationalization functionality
    5  *
    6  * Loads and defines the internationalization files for this plugin
    7  * so that it is ready for translation.
    8  *
    9  * @link       https://sourabhagrawal.com/
    10  * @since      1.0.0
    11  *
    12  * @package    Disable_Wp_Notification
    13  * @subpackage Disable_Wp_Notification/includes
    14  */
    15 
    162/**
    173 * Define the internationalization functionality.
  • disable-wp-notification/tags/3.2/includes/class-disable-wp-notification-loader.php

    r2309600 r3028244  
    11<?php
    2 
    3 /**
    4  * Register all actions and filters for the plugin
    5  *
    6  * @link       https://sourabhagrawal.com/
    7  * @since      1.0.0
    8  *
    9  * @package    Disable_Wp_Notification
    10  * @subpackage Disable_Wp_Notification/includes
    11  */
    12 
    132/**
    143 * Register all actions and filters for the plugin.
  • disable-wp-notification/tags/3.2/includes/class-disable-wp-notification.php

    r2309600 r3028244  
    11<?php
    2 
    3 /**
    4  * The file that defines the core plugin class
    5  *
    6  *
    7  * @link       https://sourabhagrawal.com/
    8  * @since      1.0.0
    9  *
    10  * @package    Disable_Wp_Notification
    11  * @subpackage Disable_Wp_Notification/includes
    12  */
    132
    143/**
  • disable-wp-notification/trunk/README.txt

    r2916349 r3028244  
    44Donate link: https://sourabhagrawal.com/disable-wp-notification/
    55Tags: remove unwanted notification, disable dashboard notifications, disable plugin update, disable admin notices, disable theme update, , remove notices, disable warnings, disable wordpress plugin update, disable wordpress theme update, disable update nags, disable nags
    6 Requires at least: 3.0.1
    7 Tested up to: 6.2.2
    8 Stable tag: 3.1
     6Requires at least: 6.0
     7Tested up to: 6.4.2
     8Stable tag: 3.2
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7171
    7272== Changelog ==
     73= 3.2
     74* Compatible up to WordPress 6.4.2
     75* Minor Bug Fixes
     76
    7377= 3.1
    7478* Compatible up to WordPress 6.2.2
     
    102106
    103107== Upgrade Notice ==
     108= 3.2
     109* Compatible up to WordPress 6.4.2
     110* Minor Bug Fixes
    104111
    105112= 3.1
  • disable-wp-notification/trunk/admin/class-disable-wp-notification-admin.php

    r2916349 r3028244  
    11<?php
    2 
    3 /**
    4 *
    5 * @link       https://sourabhagrawal.com/
    6 * @since      1.0.0
    7 *
    8 * @package    Disable_Wp_Notification
    9 * @subpackage Disable_Wp_Notification/admin
    10 */
    11 
    122/**
    133*
     
    155* enqueue the admin-specific stylesheet and JavaScript.
    166*
     7* @link       https://sourabhagrawal.com/
     8* @since      1.0.0
    179* @package    Disable_Wp_Notification
    1810* @subpackage Disable_Wp_Notification/admin
     
    5749    */
    5850    public function admin_menu() {
    59        
    6051        /**
    6152        * An instance of this class should be passed to the run() function
     
    8172            }
    8273        }
    83        
    8474    }
    8575   
     
    8777    * Options page callback
    8878    *
    89     * @since    3.0
     79    * @since    3.2
    9080    */
    9181    public function disable_notification()
     
    164154        <div class="event-handler" aria-controls="area-2"> <?php echo __('Notifications', 'disable-wp-notification');?> </div>
    165155        <div id="display-notifications" class="handled-section" id="area-2">
    166         <h1>All The Notifications</h1>
     156        <h1><?php echo __('All The Notifications', 'disable-wp-notification');?></h1>
    167157        </div>
    168158        </div>
     
    172162        <div class="description">
    173163        <ul>
    174         <li>Disable All the Notifications.</li>
    175         <li>Disable Plugin Update Notification.</li>
    176         <li>Disable Theme Update Notification.</li>
     164        <li><?php echo __('Disable All the Notifications.', 'disable-wp-notification');?></li>
     165        <li><?php echo __('Disable Plugin Update Notification.', 'disable-wp-notification');?></li>
     166        <li><?php echo __('Disable Theme Update Notification.', 'disable-wp-notification');?></li>
    177167        </ul>
    178168        </div>
     
    184174        <div class="handled-section" id="area-2">
    185175        <div class="description">
    186             <p>If you find this plugin valuable and would like to support its further development, you can show your appreciation by buying us a coffee through a voluntary monetary contribution. Your support will help us continue improving and growing the plugin. Additionally, we would greatly appreciate it if you could take a moment to leave a review or rating for the plugin, as it helps us reach more users and gather feedback for further enhancements. However, please note that both the contribution and review/rating are completely optional and not mandatory.</p> <p><b>Thank you for considering it!</b></p>
     176            <p><?php echo __('If you find this plugin valuable and would like to support its further development, you can show your appreciation by buying us a coffee through a voluntary monetary contribution. Your support will help us continue improving and growing the plugin. Additionally, we would greatly appreciate it if you could take a moment to leave a review or rating for the plugin, as it helps us reach more users and gather feedback for further enhancements. However, please note that both the contribution and review/rating are completely optional and not mandatory.', 'disable-wp-notification');?></p> <p><b><?php echo __('Thank you for considering it!', 'disable-wp-notification');?></b></p>
    187177           
    188178            <div class="rating-review">
     
    331321    * Register the stylesheets for the admin area.
    332322    *
    333     * @since    1.0.3
     323    * @since    3.2
    334324    */
    335325    public function enqueue_styles() {
     
    365355                        ?>
    366356                        <style type="text/css">
    367                         body.wp-admin:not(.theme-editor-php) .notice:not(.updated),
     357                        body.wp-admin:not(.theme-editor-php) .notice:not(.updated):not(.new-application-password-notice),
    368358                        body.wp-admin .update-nag,
    369359                        body.wp-admin #adminmenu .awaiting-mod,
     
    371361                        #message.woocommerce-message,
    372362                        body.wp-admin .plugin-update.colspanchange,
     363                        body.wp-admin .fs-notice.fs-type-plugin,
    373364                        .notice.elementor-message.elementor-message-dismissed
    374365                        {display: none !important;}
     
    433424                return $links;
    434425            }
    435            
    436         }
    437        
     426        }
     427       
  • disable-wp-notification/trunk/admin/js/disable-wp-notifications.js

    r2319178 r3028244  
    44        jQuery("body.wp-admin .plugin-update.colspanchange").replaceWith('');
    55        jQuery("body.wp-admin .notice.elementor-message.elementor-message-dismissed").replaceWith('');
    6         jQuery("body.wp-admin:not(.theme-editor-php) .notice").replaceWith('');
     6        jQuery("body.wp-admin:not(.theme-editor-php) .notice:not(.updated):not(.new-application-password-notice):not(#message)").replaceWith('');
    77    });
    88})( jQuery );
  • disable-wp-notification/trunk/disable-wp-notification.php

    r2916349 r3028244  
    99 * Plugin URI:        https://sourabhagrawal.com/disable-wp-notification
    1010 * Description:       Best wordpress plugin to remove all the admin panel notifications in just one click. Including the theme and plugin update notification.
    11  * Version:           3.1
     11 * Version:           3.2
    1212 * Author:            Sourabh Agrawal
    1313 * Author URI:        https://sourabhagrawal.com/
     
    2626 * Currently plugin version.
    2727 */
    28 define( 'DISABLE_WP_NOTIFICATION_VERSION', '3.0' );
     28define( 'DISABLE_WP_NOTIFICATION_VERSION', '3.2' );
    2929define( 'DISABLE_WP_NOTIFICATION', plugin_basename( __FILE__ ) );
    3030
  • disable-wp-notification/trunk/includes/class-disable-wp-notification-activator.php

    r2309600 r3028244  
    11<?php
    2 
    3 /**
    4  * Fired during plugin activation
    5  *
    6  * @link       https://sourabhagrawal.com/
    7  * @since      1.0.0
    8  *
    9  * @package    Disable_Wp_Notification
    10  * @subpackage Disable_Wp_Notification/includes
    11  */
    12 
    132/**
    143 * Fired during plugin activation.
  • disable-wp-notification/trunk/includes/class-disable-wp-notification-deactivator.php

    r2309600 r3028244  
    11<?php
    2 
    3 /**
    4  * Fired during plugin deactivation
    5  *
    6  * @link       https://sourabhagrawal.com/
    7  * @since      1.0.0
    8  *
    9  * @package    Disable_Wp_Notification
    10  * @subpackage Disable_Wp_Notification/includes
    11  */
    12 
    132/**
    143 * Fired during plugin deactivation.
  • disable-wp-notification/trunk/includes/class-disable-wp-notification-i18n.php

    r2309600 r3028244  
    11<?php
    2 
    3 /**
    4  * Define the internationalization functionality
    5  *
    6  * Loads and defines the internationalization files for this plugin
    7  * so that it is ready for translation.
    8  *
    9  * @link       https://sourabhagrawal.com/
    10  * @since      1.0.0
    11  *
    12  * @package    Disable_Wp_Notification
    13  * @subpackage Disable_Wp_Notification/includes
    14  */
    15 
    162/**
    173 * Define the internationalization functionality.
  • disable-wp-notification/trunk/includes/class-disable-wp-notification-loader.php

    r2309600 r3028244  
    11<?php
    2 
    3 /**
    4  * Register all actions and filters for the plugin
    5  *
    6  * @link       https://sourabhagrawal.com/
    7  * @since      1.0.0
    8  *
    9  * @package    Disable_Wp_Notification
    10  * @subpackage Disable_Wp_Notification/includes
    11  */
    12 
    132/**
    143 * Register all actions and filters for the plugin.
  • disable-wp-notification/trunk/includes/class-disable-wp-notification.php

    r2309600 r3028244  
    11<?php
    2 
    3 /**
    4  * The file that defines the core plugin class
    5  *
    6  *
    7  * @link       https://sourabhagrawal.com/
    8  * @since      1.0.0
    9  *
    10  * @package    Disable_Wp_Notification
    11  * @subpackage Disable_Wp_Notification/includes
    12  */
    132
    143/**
Note: See TracChangeset for help on using the changeset viewer.