diff --git a/wp-includes/post.php b/wp-includes/post.php index ceaa1d96a8..8a0e36b68b 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -4245,7 +4245,7 @@ function get_page_by_path( $page_path, $output = OBJECT, $post_type = 'page' ) { if ( '0' === $cached || 0 === $cached ) { return; } else { - return get_post( $cached ); + return get_post( $cached, $output ); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 559b054418..cba97a824c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37480'; +$wp_version = '4.6-alpha-37481'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.