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

WordPress Trac noreply at wordpress.org
Thu Sep 19 01:55:51 UTC 2019


#36824: do_all_pings function queries all posts
--------------------------------------+---------------------------
 Reporter:  spacedmonkey              |       Owner:  boonebgorges
     Type:  enhancement               |      Status:  reviewing
 Priority:  normal                    |   Milestone:  5.3
Component:  Pings/Trackbacks          |     Version:  2.1
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+---------------------------

Comment (by boonebgorges):

 Replying to [comment:55 dshanske]:

 > Specifically with trackbacks, it is currently all or nothing and they
 are a spam concern. That said, the other idea about improving the declared
 post type supports functionality would address that issue.

 Thanks for this. This, and the discussion above, suggests to me that it's
 acceptable to err on the side of caution and look at all post types.
 `post_type_supports()` improvements can be considered technically.

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


More information about the wp-trac mailing list