[wp-trac] [WordPress Trac] #36576: Split do_all_pings
WordPress Trac
noreply at wordpress.org
Mon Oct 12 06:26:35 UTC 2020
#36576: Split do_all_pings
-------------------------------------------------+-------------------------
Reporter: dshanske | Owner: dshanske
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.6
Component: Pings/Trackbacks | Version: 2.1
Severity: trivial | Resolution:
Keywords: needs-dev-note dev-feedback needs- | Focuses:
patch |
-------------------------------------------------+-------------------------
Changes (by azaozz):
* keywords: has-patch needs-dev-note dev-feedback => needs-dev-note dev-
feedback needs-patch
Comment:
Yeah, seems this will work. Refactor `do_all_pings()` into a function that
only triggers the action all "ping types" are attached to.
Of course all `add_action()` will go in `/wp-includes/default-filters.php`
and the code from `do_all_pings()` will be separated similarly to
https://github.com/WordPress/wordpress-
develop/pull/494/commits/6a527c50c47cb4d0f534a8cccc270a5410e8837b.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36576#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list