[wp-trac] [WordPress Trac] #19691: Cannot modify admin messages for /wp-admin/edit.php

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 30 07:34:17 UTC 2011


#19691: Cannot modify admin messages for /wp-admin/edit.php
------------------------------------------------+--------------------------
 Reporter:  mikeschinkel                        |       Owner:
     Type:  enhancement                         |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
Component:  Administration                      |  Review
 Severity:  normal                              |     Version:  3.3
 Keywords:  dev-feedback has-patch 2nd-opinion  |  Resolution:
------------------------------------------------+--------------------------

Comment (by mbijon):

 I actually like {{{"{$pagenow}-admin_messages"}}}. That's better than
 making a unique hook per-location.

 You're right about checking {{{$pagenow}}} being more common lately too.
 The generic name is probably simplest given how many hooks I can barely
 remember at times. Maybe we keep the generic one, but rename to
 {{{'before_admin_messages'}}}.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19691#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list