Files
wordpress/wp-includes
Peter Wilson 2d944ca1d9 KSES: Allow attributes to be restricted via callbacks.
Add callback validation to HTML tag attributes for increased flexibility over an array of values only.

In `object` tags, validate the `data` attribute via a callback to ensure it is a PDF and matches the `type` attribute. This prevents mime type mismatches in browsers.

Follow up to [51963].

Props Pento, dd32, swissspidy, xknown, peterwilsoncc.
Fixes #54261.


Built from https://develop.svn.wordpress.org/trunk@52304


git-svn-id: http://core.svn.wordpress.org/trunk@51896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-12-02 00:56:01 +00:00
..
2021-11-30 05:48:28 +00:00
2021-11-30 05:48:28 +00:00
2021-11-30 05:48:28 +00:00
2021-12-01 12:17:00 +00:00
2021-11-30 00:24:27 +00:00
2021-12-01 12:17:00 +00:00
2021-11-30 00:24:27 +00:00
2021-11-30 00:24:27 +00:00