Ticket #35368: 35368.diff
| File 35368.diff, 462 bytes (added by , 10 years ago) |
|---|
-
src/wp-includes/post.php
diff --git src/wp-includes/post.php src/wp-includes/post.php index cc8e843..72ef164 100644
function _page_traverse_name( $page_id, &$children, &$result ){ 4291 4291 * @return string|false Page URI, false on error. 4292 4292 */ 4293 4293 function get_page_uri( $page ) { 4294 $page = get_post( $page ); 4294 if ( ! $page instanceof WP_Post ) { 4295 $page = get_post( $page ); 4296 } 4295 4297 4296 4298 if ( ! $page ) 4297 4299 return false;