Make WordPress Core


Ignore:
Timestamp:
10/28/2020 03:12:40 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [49344].

See #51390.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme.php

    r49344 r49354  
    24822482 * @since 5.5.0 The `core-block-patterns` feature was added and is enabled by default.
    24832483 * @since 5.5.0 The `custom-logo` feature now also accepts 'unlink-homepage-logo'.
    2484  * @since 5.6.0 The `post-formats` feature now returns doing it wrong if no array is passed
     2484 * @since 5.6.0 The `post-formats` feature warns if no array is passed.
    24852485 *
    24862486 * @global array $_wp_theme_features
Note: See TracChangeset for help on using the changeset viewer.