[wp-trac] [WordPress Trac] #18785: Modernize screen functions
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 23 19:45:39 UTC 2011
#18785: Modernize screen functions
------------------------------+-----------------------
Reporter: nacin | Owner: nacin
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 3.3
Component: Administration | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+-----------------------
Comment (by scribu):
Replying to [comment:59 nacin]:
> > WP_Screen::get( $hook_name )->set_as_current();
>
> I don't have a problem with chaining here (definitely makes sense for
this usage), but I'm not sure what you mean by coding standards.
"If you don't use a variable more than once, don't create it."
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18785#comment:61>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list