Changeset 13892 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/inc/block-config.php
- Timestamp:
- 07/10/2024 02:35:19 AM (23 months 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
r13882 r13892 506 506 * Enables combining filters by building up the correct URL on submit, 507 507 * for example courses using a topic and a level: 508 * ?wporg_workshop_topic[]=extending-wordpress&wporg_lesson_level []=beginner`508 * ?wporg_workshop_topic[]=extending-wordpress&wporg_lesson_level=beginner` 509 509 * 510 510 * @param string $key The key for the current filter. … … 513 513 global $wp_query; 514 514 515 $single_query_vars = array( 'wporg_lesson_level', 'wporg_learning_pathway' );515 $single_query_vars = array( 'wporg_lesson_level', 'wporg_learning_pathway', 'post_type' ); 516 516 foreach ( $single_query_vars as $single_query_var ) { 517 517 if ( ! isset( $wp_query->query[ $single_query_var ] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.