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

WordPress Trac noreply at wordpress.org
Thu May 12 17:52:23 UTC 2016


#36824: do_all_pings function queries all posts
------------------------------+------------------------------
 Reporter:  spacedmonkey      |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Pings/Trackbacks  |     Version:  2.1
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:  performance
------------------------------+------------------------------

Comment (by spacedmonkey):

 Interesting the you can not query using wp_query using the the to_ping
 param. I do believe this function should be converted to use WP_Query.
 There are many benefits of using wp_query, not only does make this whole
 process more filterable. Should I make a patch that includes the change wp
 query class?

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


More information about the wp-trac mailing list