[wp-trac] [WordPress Trac] #36824: do_all_pings function queries all posts

WordPress Trac noreply at wordpress.org
Tue Sep 5 03:31:13 UTC 2017


#36824: do_all_pings function queries all posts
------------------------------+---------------------------
 Reporter:  spacedmonkey      |       Owner:  boonebgorges
     Type:  enhancement       |      Status:  reviewing
 Priority:  normal            |   Milestone:  4.9
Component:  Pings/Trackbacks  |     Version:  2.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:  performance
------------------------------+---------------------------
Changes (by dshanske):

 * keywords:  has-patch needs-refresh => has-patch
 * milestone:  Future Release => 4.9


Comment:

 Just did my own shot at fixing a few of the problems. Want to see if we
 can get this in. The new version makes the same modifications to
 do_enclose that were previously done to pingback, moving the retrieval of
 content out of this function and into that one.

 It also narrows the post_types to only ones that declared support for
 trackbacks, which at the moment is how both pingbacks and trackback
 support is declared, except for enclosures which has the broader
 definition.

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


More information about the wp-trac mailing list