Skip to content
Commit a86a646c authored by Jon Cave's avatar Jon Cave
Browse files

Don't pass $post_type as get_page()'s $filter argument. Copy-and-paste error....

Don't pass $post_type as get_page()'s $filter argument. Copy-and-paste error. Removal improves get_page_by_path() performance dramatically by stopping sanitize_post() being called. Fixes #19175.


git-svn-id: https://core.svn.wordpress.org/trunk@19283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 7d181c9a
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