Changeset 11227
- Timestamp:
- 09/13/2021 04:17:02 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/query-modifications.php
r11166 r11227 36 36 // eliminate draft posts from showing up in the directory 37 37 if ( 38 ! isset( $query->query_vars['post_status'] ) || 39 'publish' === $query->query_vars['post_status'] 38 ( 39 ! isset( $query->query_vars['post_status'] ) || 40 'publish' === $query->query_vars['post_status'] 41 ) && 42 ! $query->is_search() 40 43 ) { 41 44 $query->query_vars['post_status'] = array(
Note: See TracChangeset
for help on using the changeset viewer.