Changeset 5500
- Timestamp:
- 05/18/2017 07:07:40 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r5486 r5500 654 654 */ 655 655 public function pre_get_posts( $wp_query ) { 656 if ( is_admin() ) {656 if ( is_admin() || ! $wp_query->is_main_query() ) { 657 657 return; 658 658 }
Note: See TracChangeset
for help on using the changeset viewer.