Changeset 1767 for sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/admin-edit.php
- Timestamp:
- 07/21/2015 06:12:54 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/admin-edit.php
r1593 r1767 55 55 */ 56 56 function wporg_themes_search_slug( $search, $wp_query ) { 57 if ( ! is_admin() || 'repopackage' !== $wp_query->query_vars['post_type']) {57 if ( empty( $search ) || ! is_admin() || 'repopackage' !== $wp_query->query_vars['post_type'] || ! $wp_query->is_search() ) { 58 58 return $search; 59 59 }
Note: See TracChangeset
for help on using the changeset viewer.