Plugin Directory

Changeset 158469


Ignore:
Timestamp:
09/27/2009 10:37:42 PM (17 years ago)
Author:
jkmassel
Message:
 
Location:
disable-upgrade-reminder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • disable-upgrade-reminder/tags/0.2/disable-upgrade-reminder.php

    r158468 r158469  
    55 Description: Disable upgrade reminder is a plugin that disables the upgrade reminder at the top of the WordPress interface for all users except administrators. It's useful for any situation when you don't want anybody except admins worrying about available updates.
    66 Author: Jeremy Massel
    7  Version: 0.1
     7 Version: 0.2
    88 Author URI: http://www.masseltech.com/
    99 */
     
    2424
    2525
    26 add_action('template_redirect', 'do_disableUpgradeReminder');
     26add_action('admin_init', 'do_disableUpgradeReminder');
    2727
    2828
  • disable-upgrade-reminder/trunk/disable-upgrade-reminder.php

    r158465 r158469  
    55 Description: Disable upgrade reminder is a plugin that disables the upgrade reminder at the top of the WordPress interface for all users except administrators. It's useful for any situation when you don't want anybody except admins worrying about available updates.
    66 Author: Jeremy Massel
    7  Version: 0.1
     7 Version: 0.2
    88 Author URI: http://www.masseltech.com/
    99 */
     
    2424
    2525
    26 add_action('template_redirect', 'do_disableUpgradeReminder');
     26add_action('admin_init', 'do_disableUpgradeReminder');
    2727
    2828
Note: See TracChangeset for help on using the changeset viewer.