mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
* Calling `add_theme_support( 'html5' )` without passing an array of supported types should throw a `_doing_it_wrong()` notice: "You need to pass an array of types". * If the second parameter is not specified, it should fall back to an array of `comment-list`, `comment-form`, and `search-form` for backward compatibility. * If the second parameter is not an array, the function should return `false`. The latter two points are covered by existing unit tests. The first one is now addressed by `@expectedIncorrectUsage`. Follow-up to [25193], [25235], [25785]. Props audrasjb, peterwilsoncc, SergeyBiryukov. Fixes #51657. git-svn-id: https://develop.svn.wordpress.org/trunk@52828 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| e2e | ||
| gutenberg | ||
| phpunit | ||
| qunit | ||
| visual-regression | ||