Changeset 3134
- Timestamp:
- 05/13/2016 08:20:25 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r3095 r3134 340 340 341 341 if ( empty( $wp_query->query_vars['pagename'] ) && ( empty( $wp_query->query_vars['post_type'] ) || 'post' == $wp_query->query_vars['post_type'] ) ) { 342 $wp_query->query_vars['post_type'] = array( 'plugin' ); 342 $wp_query->query_vars['post_type'] = array( 'plugin' ); 343 $wp_query->query_vars['post_status'] = array( 'publish' ); 343 344 } 344 345
Note: See TracChangeset
for help on using the changeset viewer.