[wp-trac] [WordPress Trac] #41455: Text widget removes php
WordPress Trac
noreply at wordpress.org
Sat Jul 29 02:47:19 UTC 2017
#41455: Text widget removes php
--------------------------+------------------------------
Reporter: WPwebbouw | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by marsjaninzmarsa):
* status: new => closed
* resolution: => invalid
Comment:
Current WordPress behavior is correct - content allowed for text widget is
HTML code, and PHP is not valid HTML code. If default purpose of native
widget is extended/shifted by 3rd party code, that's up to 3rd party to
cover new model and also extend sanitization. Or, better, to don't mess
with core widget and to create dedicated one.
Problem is with plugin, not with core.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41455#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list