[wp-trac] [WordPress Trac] #14842: Efficiency improvement for is_super_admin()

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 14 22:50:33 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 hakre):

 Replying to [comment:6 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)

 Ah, interesting.

 >
 > You also missed the & in your second patch, which is no longer possible
 due to the syntax change.

 Not a miss, as explained, I preferred to not use it.

 >
 > We don't do by reference for new WP_User objects anywhere.

 Is there a difference between objects by their class?

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


More information about the wp-trac mailing list