[wp-trac] [WordPress Trac] #19175: Improve get_page_by_path() performance

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 14 21:32:57 UTC 2011


#19175: Improve get_page_by_path() performance
------------------------------+---------------------
 Reporter:  duck_             |       Owner:  duck_
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.3
Component:  Performance       |     Version:  3.3
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by duck_):

 * owner:   => duck_
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [19283]:
 {{{
 #!CommitTicketReference repository="" revision="19283"
 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.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19175#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list