[wp-trac] [WordPress Trac] #36824: do_all_pings function queries all posts
WordPress Trac
noreply at wordpress.org
Sat Aug 6 15:02:03 UTC 2016
#36824: do_all_pings function queries all posts
-------------------------------------------------+-------------------------
Reporter: spacedmonkey | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Pings/Trackbacks | Review
Severity: normal | Version: 2.1
Keywords: has-patch has-unit-tests 2nd- | Resolution:
opinion | Focuses:
| performance
-------------------------------------------------+-------------------------
Changes (by dshanske):
* keywords: has-patch has-unit-tests => has-patch has-unit-tests 2nd-
opinion
Comment:
I found an issue with the patch. post_type = any will exclude any custom
post type that has the exclude_from_search set to true. This would break
expected ping behavior.
Suggest post_type be set to get_post_types( array( 'publicly_queryable' =>
true ) and I can resubmit the last version of the patch with that change.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36824#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list