[wp-trac] [WordPress Trac] #17920: Unnecessary code in wp.getPage

WordPress Trac noreply at wordpress.org
Thu Sep 11 13:55:59 UTC 2014


#17920: Unnecessary code in wp.getPage
------------------------------------+-----------------------------
 Reporter:  nprasath002             |       Owner:  SergeyBiryukov
     Type:  enhancement             |      Status:  closed
 Priority:  normal                  |   Milestone:  4.1
Component:  XML-RPC                 |     Version:  3.2
 Severity:  minor                   |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"29731"]:
 {{{
 #!CommitTicketReference repository="" revision="29731"
 XML-RPC: Check if category support was added for pages before calling
 wp_get_post_categories() to avoid unnecessary query in wp.getPage.

 props markoheijnen, nprasath002.
 fixes #17920.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/17920#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list