[wp-trac] [WordPress Trac] #9991: Wrap plugin notices in a function

WordPress Trac wp-trac at lists.automattic.com
Sun May 31 10:54:11 GMT 2009


#9991: Wrap plugin notices in a function
----------------------------+-----------------------------------------------
 Reporter:  scribu          |       Owner:            
     Type:  enhancement     |      Status:  new       
 Priority:  normal          |   Milestone:  Unassigned
Component:  Administration  |     Version:            
 Severity:  normal          |    Keywords:  has-patch 
----------------------------+-----------------------------------------------
 Currently, all plugin notices are simply echoed in the plugins.php page,
 which means that there is no clean way to remove or replace these notices.

 The proposed patch simply wraps all that code in a function and hooks it
 to the 'admin_notices' action.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9991>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list