[wp-trac] [WordPress Trac] #14842: Efficiency improvement for is_super_admin()
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 12 14:59:25 UTC 2010
#14842: Efficiency improvement for is_super_admin()
-------------------------+--------------------------------------------------
Reporter: mdawaffe | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.1
Component: Multisite | Version: 3.0.1
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+--------------------------------------------------
Comment(by nacin):
I'm confused why your refactoring patches lately are overusing language
syntaxes and styles that we would never leverage in core for readability
purposes. (#14838)
You also missed the & in your second patch, which is no longer possible
due to the syntax change.
We don't do by reference for new WP_User objects anywhere.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14842#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list