[wp-trac] [WordPress Trac] #19020: Content Updates for Help Tabs

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 8 17:49:56 UTC 2011


#19020: Content Updates for Help Tabs
----------------------------+-----------------------
 Reporter:  dougwrites      |       Owner:  nacin
     Type:  defect (bug)    |      Status:  reopened
 Priority:  normal          |   Milestone:  3.3
Component:  Administration  |     Version:  3.3
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+-----------------------

Comment (by nacin):

 > Also, this patch breaks twentyeleven compat with < 3.3, if we care.

 A method_exists() before the add_action() makes sense.

 That said, perhaps we should sneak in a `function __call( $name, $args )
 {}` in WP_Screen. I've been thinking about this a lot. Then things will
 fail silently when called in older versions. Will only work for 3.3+, but
 can help as we start to probably pull more methods into the screen bits.
 (Perhaps some form of settings, etc.) Of course, it'll also fail silently
 with a typo. Perhaps we can trigger_error() E_NOTICE but otherwise let it
 slide -- look ma, no fatals.

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


More information about the wp-trac mailing list