Changeset 16276
- Timestamp:
- 11/10/2010 04:42:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r16267 r16276 1351 1351 if ( !empty( $qv['post_type'] ) && ! is_array( $qv['post_type'] ) ) { 1352 1352 $post_type_obj = get_post_type_object( $qv['post_type'] ); 1353 if ( $post_type_obj->has_archive)1353 if ( ! empty( $post_type_obj->has_archive ) ) 1354 1354 $this->is_post_type_archive = true; 1355 1355 }
Note: See TracChangeset
for help on using the changeset viewer.