[wp-trac] [WordPress Trac] #30488: Switching between Admin Color Schemes does not immediately update the body class.
WordPress Trac
noreply at wordpress.org
Fri Feb 6 17:05:57 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 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?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30488#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list