Changeset 35205
- Timestamp:
- 10/15/2015 05:52:36 PM (9 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp.php
r35195 r35205 216 216 217 217 $post_status_obj = get_post_status_object( $page->post_status ); 218 if ( ! $post_status_obj->public && ! $post_status_obj->protected && ! $post_status_obj->private ) { 218 if ( ! $post_status_obj->public && ! $post_status_obj->protected 219 && ! $post_status_obj->private && $post_status_obj->exclude_from_search ) { 219 220 continue; 220 221 } -
trunk/src/wp-includes/rewrite-functions.php
r35195 r35205 404 404 405 405 $post_status_obj = get_post_status_object( $page->post_status ); 406 if ( ! $post_status_obj->public && ! $post_status_obj->protected && ! $post_status_obj->private ) { 406 if ( ! $post_status_obj->public && ! $post_status_obj->protected 407 && ! $post_status_obj->private && $post_status_obj->exclude_from_search ) { 407 408 continue; 408 409 }
Note: See TracChangeset
for help on using the changeset viewer.