[wp-trac] [WordPress Trac] #38614: Text widget markup is not removable
WordPress Trac
noreply at wordpress.org
Wed Apr 19 19:11:52 UTC 2017
#38614: Text widget markup is not removable
--------------------------+----------------------
Reporter: henry.wright | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Widgets | Version: 4.6.1
Severity: normal | Resolution: wontfix
Keywords: close | Focuses:
--------------------------+----------------------
Comment (by SergeyBiryukov):
Replying to [comment:5 westonruter]:
> Instead of `'text-2' !== $widget->id` it would probably be better to
check `'text' !== $widget->id_base`.
Good point, I was thinking of filtering one particular widget. For all
text widgets, the latter should work.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38614#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list