mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-02-17 22:32:50 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@52304 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| e2e | ||
| gutenberg | ||
| phpunit | ||
| qunit | ||
| visual-regression | ||