[wp-trac] [WordPress Trac] #36824: do_all_pings function queries all posts
WordPress Trac
noreply at wordpress.org
Fri May 13 02:05:37 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: has-patch needs-unit-tests | Focuses: performance
----------------------------------------+------------------------------
Changes (by dshanske):
* keywords: has-patch => has-patch needs-unit-tests
Comment:
The fields => ids should return only an array of post IDs, therefore it
should be $ping, not $ping->ID.
Other than that, while it is not my area of expertise, it needs unit
testing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36824#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list