[wp-trac] [WordPress Trac] #27175: Profile Color Schemes Don't Change

WordPress Trac noreply at wordpress.org
Sat Feb 22 04:52:00 UTC 2014


#27175: Profile Color Schemes Don't Change
---------------------------+-----------------------------
 Reporter:  Ipstenu        |       Owner:  nacin
     Type:  defect (bug)   |      Status:  reopened
 Priority:  normal         |   Milestone:  3.9
Component:  Script Loader  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  administration
---------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:12 SergeyBiryukov]:
 > The `did_action( 'admin_init' )` check in [27232] appears to be
 redundant, as `wp_default_styles()` always runs earlier.

 Well, maybe not. I was looking at
 http://codex.wordpress.org/Plugin_API/Action_Reference.


 It turned out that without plugins registering scripts too early,
 `wp_default_styles()` actually does not run earlier than `admin_init`.

 Still, [attachment:27175.6.diff] makes the most sense to me here.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27175#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list