WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/10/2016 06:27:06 PM (4 years ago)
Author:
swissspidy
Message:

Permalinks: Ensure the page hierarchy is correct for sample permalinks.

Fixes #35368.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r36143 r36253  
    42924292 */
    42934293function get_page_uri( $page ) {
    4294     $page = get_post( $page );
     4294    if ( ! $page instanceof WP_Post ) {
     4295        $page = get_post( $page );
     4296    }
    42954297
    42964298    if ( ! $page )
Note: See TracChangeset for help on using the changeset viewer.