Tonya Mork
ba7d3a52b1
Themes: Make block themes support HTML5 by default.
...
For block themes, [52369] added HTML5 support for `'comment-list'`, `'comment-form'`, `'style'`, and `'script'`. However, when sites upgrade to 5.9 with non-block content such as a gallery and caption, the markup was not HTML5.
This commit adds full HTML5 theme feature support for block themes. Non-block content such as a `[gallery]` and `[caption]` shortcodes will natively be in HMTL5 markup without block themes needing to specifically add `add_theme_support( 'html5, .. )` to the theme.
Follow-up to [24417], [27302], [34261], [52369], [52383], [52386].
Props @joyously, costdev, hellofromTonya, audrasjb, Mamaduka, ocean90.
Fixes #54731 . See #54597 .
git-svn-id: https://develop.svn.wordpress.org/trunk@52439 602fd350-edb4-49c9-b593-d223f7449a82
2022-01-04 18:38:52 +00:00
..
2021-11-04 15:22:47 +00:00
2021-12-19 13:42:37 +00:00
2021-12-14 15:31:14 +00:00
2021-11-04 15:22:47 +00:00
2022-01-04 05:37:25 +00:00
2021-12-18 21:44:57 +00:00
2021-12-21 00:10:26 +00:00
2021-11-04 15:22:47 +00:00
2021-08-26 12:57:08 +00:00
2021-11-19 20:22:43 +00:00
2021-11-08 14:21:44 +00:00
2021-08-30 15:19:38 +00:00
2021-11-04 15:22:47 +00:00
2021-12-19 13:42:37 +00:00
2021-11-25 19:39:31 +00:00
2021-11-08 13:23:44 +00:00
2021-08-20 16:11:04 +00:00
2021-08-21 15:32:53 +00:00
2021-12-30 16:27:48 +00:00
2021-12-06 21:29:00 +00:00
2021-11-04 15:22:47 +00:00
2021-12-14 14:59:33 +00:00
2021-12-15 19:59:32 +00:00
2021-11-11 16:27:44 +00:00
2021-12-19 13:42:37 +00:00
2021-12-15 19:59:32 +00:00
2021-12-19 13:42:37 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2021-11-25 19:39:31 +00:00
2021-12-02 05:39:57 +00:00
2021-11-04 15:22:47 +00:00
2021-11-16 21:23:12 +00:00
2021-11-25 19:39:31 +00:00
2021-11-25 19:39:31 +00:00
2021-11-18 15:10:18 +00:00
2022-01-04 15:22:40 +00:00
2021-12-10 20:28:27 +00:00
2021-11-04 15:22:47 +00:00
2021-12-19 13:42:37 +00:00
2021-08-07 10:29:41 +00:00
2021-12-19 13:42:37 +00:00
2022-01-04 14:23:56 +00:00
2021-12-19 13:42:37 +00:00
2021-11-04 15:22:47 +00:00
2021-08-07 10:29:41 +00:00
2021-12-19 13:42:37 +00:00
2022-01-04 05:37:25 +00:00
2020-11-15 13:59:32 +00:00
2021-12-19 13:42:37 +00:00
2021-12-06 21:29:00 +00:00
2021-08-16 20:16:13 +00:00
2021-12-19 13:42:37 +00:00
2021-12-19 13:42:37 +00:00
2021-11-04 15:22:47 +00:00
2021-11-15 01:08:35 +00:00
2021-08-06 21:52:06 +00:00
2021-11-04 15:22:47 +00:00
2021-12-07 12:10:36 +00:00
2021-12-02 23:35:20 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2021-12-19 13:42:37 +00:00
2021-11-19 18:58:14 +00:00
2021-11-04 15:22:47 +00:00
2021-12-07 17:44:46 +00:00
2021-12-19 13:42:37 +00:00
2021-11-04 15:22:47 +00:00
2021-12-06 21:29:00 +00:00
2021-08-26 12:57:08 +00:00
2021-08-26 12:57:08 +00:00
2021-12-06 11:06:40 +00:00
2021-11-27 16:16:15 +00:00
2021-11-04 15:22:47 +00:00
2021-08-07 10:29:41 +00:00
2021-11-04 15:22:47 +00:00
2021-11-16 21:23:12 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2021-07-12 10:35:44 +00:00
2021-12-19 13:42:37 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2021-12-19 13:42:37 +00:00
2021-08-26 12:57:08 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2021-12-19 13:42:37 +00:00
2021-08-07 10:29:41 +00:00
2021-12-19 13:42:37 +00:00
2022-01-04 18:38:52 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2021-12-19 13:42:37 +00:00
2021-11-04 15:22:47 +00:00
2021-11-27 16:16:15 +00:00
2021-08-07 10:29:41 +00:00