Changeset 13944 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/inc/block-config.php
- Timestamp:
- 08/02/2024 12:26:40 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/inc/block-config.php
r13940 r13944 55 55 ); 56 56 57 $selected_slug = $wp_query->get( 'post_type' ) ? $wp_query->get( 'post_type' ) : 'any'; 57 $post_type = $wp_query->get( 'post_type' ); 58 $selected_slug = is_string( $post_type ) ? $post_type : 'any'; 58 59 $label = $options[ $selected_slug ] ?? $options['any']; 59 60
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)