Make WordPress Core


Ignore:
Timestamp:
05/22/2016 04:18:22 PM (6 years ago)
Author:
boonebgorges
Message:

In get_page_by_path(), values fetched from cache should obey $output param.

Introduced in [37479].

Props spacedmonkey.
Fixes #36711.

File:
1 edited

Legend:

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

    r37479 r37481  
    42464246            return;
    42474247        } else {
    4248             return get_post( $cached );
     4248            return get_post( $cached, $output );
    42494249        }
    42504250    }
Note: See TracChangeset for help on using the changeset viewer.