Themes: Move the test for post-formats theme support to a more appropriate place.

Follow-up to [49344].

See #51390.

git-svn-id: https://develop.svn.wordpress.org/trunk@49354 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-10-28 15:12:40 +00:00
parent 7e4debe75c
commit 4f6eee8e72
3 changed files with 11 additions and 11 deletions

View File

@@ -2481,7 +2481,7 @@ function get_theme_starter_content() {
* by adding it to the function signature.
* @since 5.5.0 The `core-block-patterns` feature was added and is enabled by default.
* @since 5.5.0 The `custom-logo` feature now also accepts 'unlink-homepage-logo'.
* @since 5.6.0 The `post-formats` feature now returns doing it wrong if no array is passed
* @since 5.6.0 The `post-formats` feature warns if no array is passed.
*
* @global array $_wp_theme_features
*