[wp-trac] [WordPress Trac] #48123: Remove `$accepted_args` from hooks, whose callbacks do not have any arguments

WordPress Trac noreply at wordpress.org
Tue Oct 8 03:11:50 UTC 2019


#48123: Remove `$accepted_args` from hooks, whose callbacks do not have any
arguments
--------------------------+-------------------------------
 Reporter:  itowhid06     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  low           |   Milestone:  Future Release
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  coding-standards
--------------------------+-------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:5 jrf]:
 > I've not been able to find a WP native `do_action()` call with the hook
 name `do_pings`, though that is outside the scope of this ticket.

 It's an event scheduled in [source:tags/5.2/src/wp-
 includes/post.php?marks=6582-6584#L6561 _publish_post_hook()].

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


More information about the wp-trac mailing list