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

WordPress Trac noreply at wordpress.org
Tue Sep 24 09:50:41 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:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------------
 Some `callable` functions do not accept any arguments, but they have `1`
 as accepted argument numbers in `default-filters.php`. This patch removes
 them.

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


More information about the wp-trac mailing list