[wp-trac] [WordPress Trac] #10861: Clean up constructors and destructors

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 26 23:47:50 UTC 2009


#10861: Clean up constructors and destructors
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:       
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  2.9  
Component:  General       |     Version:  2.8.4
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------

Comment(by dd32):

 > attachment 10861_wp-dependencies.patch added
 > WP_Dependencies was full of logic by doing nothing. After this patch
 it's therefore documented that this is done by intention (while reducing
 the code for doing nothing).

 I think that code is to call the child classes that extend it perhaps?
 (Not sure its needed though.. Just checking)

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


More information about the wp-trac mailing list