“Custom Admin CSS” : String quotes are escaped
-
Hi!
Just tried to add some CSS to admin interface via the custom admin css option, but some characters are escaped, and so the CSS becomes invalid after saving
This :
#toplevel_page_some_plugin .wp-menu-name::after {
content: 'Some Text';
}Becomes
#toplevel_page_some_plugin .wp-menu-name::after {
content: \'Some Text\';
}Same behavior with double quotes
Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.