Skip to content
Commit 12ae5d47 authored by Andrew Nacin's avatar Andrew Nacin
Browse files

Always call get_post() in get_page_uri() to ensure we have a WP_Post object,...

Always call get_post() in get_page_uri() to ensure we have a WP_Post object, which lazy-loads the ancestors this function requires.

props dd32
fixes #22883
Unit tests: [1175/tests]



git-svn-id: https://core.svn.wordpress.org/trunk@23208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 34411651
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment