Changeset 49344 for trunk/src/wp-includes/theme.php
- Timestamp:
- 10/27/2020 07:58:10 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r49214 r49344 2482 2482 * @since 5.5.0 The `core-block-patterns` feature was added and is enabled by default. 2483 2483 * @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 2485 * 2485 2486 * @global array $_wp_theme_features … … 2524 2525 2525 2526 $args[0] = array_intersect( $args[0], array_keys( $post_formats ) ); 2527 } else { 2528 _doing_it_wrong( "add_theme_support( 'post-formats' )", __( 'You need to pass an array of types.' ), '5.6.0' ); 2529 return false; 2526 2530 } 2527 2531 break;
Note: See TracChangeset
for help on using the changeset viewer.