Changeset 14003
- Timestamp:
- 08/28/2024 03:49:05 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r14002 r14003 789 789 $wp_query->query_vars['post_type'][] = 'page'; 790 790 } 791 } 792 793 // If it's a query explicitely for non-plugin-related content, bail. 794 if ( 795 ! empty( $wp_query->query_vars['post_type'] ) && 796 'plugin' !== $wp_query->query_vars['post_type'] && 797 ! in_array( 'plugin', (array) $wp_query->query_vars['post_type'], true ) 798 ) { 799 return; 791 800 } 792 801
Note: See TracChangeset
for help on using the changeset viewer.