Changeset 9876 for sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-themes-api.php
- Timestamp:
- 05/14/2020 02:39:27 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-themes-api.php
r9590 r9876 294 294 } 295 295 296 // Pending https://core.trac.wordpress.org/ticket/46272296 // See https://core.trac.wordpress.org/ticket/46272. 297 297 if ( ! isset( $wp_version ) || version_compare( $wp_version, '5.2-alpha', '>=' ) ) { 298 298 $tags[ __( 'Layout' ) ]['wide-blocks'] = __( 'Wide Blocks' ); 299 299 $tags[ __( 'Features' ) ]['block-styles'] = __( 'Block Editor Styles' ); 300 300 asort( $tags[ __( 'Features' ) ] ); // To move block-styles to the right place. 301 } 302 303 // See https://core.trac.wordpress.org/ticket/50164. 304 if ( ! isset( $wp_version ) || version_compare( $wp_version, '5.5-alpha', '>=' ) ) { 305 $tags[ __( 'Features' ) ]['block-patterns'] = __( 'Block Editor Patterns' ); 306 $tags[ __( 'Features' ) ]['full-site-editing'] = __( 'Full Site Editing' ); 307 asort( $tags[ __( 'Features' ) ] ); 301 308 } 302 309
Note: See TracChangeset
for help on using the changeset viewer.