[wp-trac] [WordPress Trac] #48849: XML-RPC - passing array of tag names for strip_tags()
WordPress Trac
noreply at wordpress.org
Mon Dec 2 07:46:36 UTC 2019
#48849: XML-RPC - passing array of tag names for strip_tags()
--------------------------+-----------------------------
Reporter: dkarfa | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version:
Severity: normal | Keywords: has-patch
Focuses: |
--------------------------+-----------------------------
In PHP 7.4 now strip_tags() also accepts an array of allowed tags: instead
of strip_tags($str, '<a><p>') you can now write strip_tags($str, ['a',
'p']).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48849>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list