[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 1 22:19:54 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:
--------------------------+-----------------------------

Comment (by jrf):

 Confirmed that none of these three functions take arguments:
 * https://developer.wordpress.org/reference/functions/do_feed_rdf/
 * https://developer.wordpress.org/reference/functions/do_feed_rss/
 * https://developer.wordpress.org/reference/functions/do_all_pings/

 Relevant hook calls:
 * https://developer.wordpress.org/reference/hooks/do_feed_feed/

 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.

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


More information about the wp-trac mailing list