[wp-trac] [WordPress Trac] #30488: Switching between Admin Color Schemes does not immediately update the body class.

WordPress Trac noreply at wordpress.org
Mon Feb 9 23:09:45 UTC 2015


#30488: Switching between Admin Color Schemes does not immediately update the body
class.
-----------------------------+---------------------------------------------
 Reporter:  valendesigns     |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.2
Component:  Administration   |     Version:  3.8
 Severity:  normal           |  Resolution:
 Keywords:  has-patch dev-   |     Focuses:  ui, javascript, administration
  feedback                   |
-----------------------------+---------------------------------------------

Comment (by valendesigns):

 Replying to [comment:10 ocean90]:
 > To get rid of the RegExp, what about returning the old and the new CSS
 class in wp_send_json_success() to make a simple .replace() call?

 Sounds good. I'll update the patch.

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


More information about the wp-trac mailing list