[wp-trac] [WordPress Trac] #11928: Recent Comments widget injects unconfigurable CSS (with !important)
WordPress Trac
noreply at wordpress.org
Wed Apr 12 08:30:44 UTC 2017
#11928: Recent Comments widget injects unconfigurable CSS (with !important)
-----------------------------+-------------------------
Reporter: archon810 | Owner: azaozz
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Widgets | Version: 2.9.1
Severity: normal | Resolution: worksforme
Keywords: has-patch close | Focuses:
-----------------------------+-------------------------
Comment (by _smartik_):
I'll leave this code here, just in case someone like me comes here for a
solution.
Just add this line in `functions.php`:
{{{#!php
add_filter( 'show_recent_comments_widget_style', '__return_false', 99 );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/11928#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list