Changeset 34001 for trunk/src/wp-includes/post-functions.php
- Timestamp:
- 09/10/2015 04:53:52 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-functions.php
r33954 r34001 4197 4197 4198 4198 foreach ( $page->ancestors as $parent ) { 4199 $uri = get_post( $parent )->post_name . '/' . $uri; 4199 $parent = get_post( $parent ); 4200 if ( 'publish' === $parent->post_status ) { 4201 $uri = $parent->post_name . '/' . $uri; 4202 } 4200 4203 } 4201 4204
Note: See TracChangeset
for help on using the changeset viewer.