Changeset 9350
- Timestamp:
- 12/16/2019 05:18:03 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/functions.php
r8924 r9350 28 28 // Ensure all non-post routes 404, as this site isn't like most others. 29 29 if ( 30 ( ! is_admin() && $query->is_main_query() && ! $ posts ) ||30 ( ! is_admin() && $query->is_main_query() && ! $query->is_robots() && ! $posts ) || 31 31 ( ! is_admin() && $query->is_main_query() && $query->is_post_type_archive( 'meeting' ) && $query->get('paged') > 1 ) // Pagination on the query is explicitly disabled, so this doens't 404 32 32 ) {
Note: See TracChangeset
for help on using the changeset viewer.