[wp-trac] [WordPress Trac] #12231: Better name for "themes_loaded"

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 15 00:26:20 UTC 2010


#12231: Better name for "themes_loaded"
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:                                      
     Type:  defect (bug)  |      Status:  new                                 
 Priority:  lowest        |   Milestone:  3.0                                 
Component:  Themes        |     Version:  3.0                                 
 Severity:  trivial       |    Keywords:  has-patch themes_loaded themes_setup
--------------------------+-------------------------------------------------
 Replying to [comment:104 automattor]:
 > (In [13156]) Add 'themes_loaded' hook to run after parent/child themes
 have been included. See #9015

 Could we please rename "themes_loaded" to something else, such as
 "themes_setup"?

  * The "loaded" easily gives the impression that this is when the theme
 files themselves are loaded---in other words, when function
 load_template() does the job of including the theme files.
  * This action hook is meant to conclude the actions started at the
 previous "setup_theme" event.  So something indicating that "setup_theme"
 has completed, such as "themes_setup," fits better.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12231>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list