[wp-trac] [WordPress Trac] #40703: Adjust the `add_filter()` calls for `wp_maybe_update_*_counts()` in `ms-default-filters.php`

WordPress Trac noreply at wordpress.org
Tue May 9 16:18:18 UTC 2017


#40703: Adjust the `add_filter()` calls for `wp_maybe_update_*_counts()` in `ms-
default-filters.php`
--------------------------------+------------------------
 Reporter:  flixos90            |       Owner:  flixos90
     Type:  defect (bug)        |      Status:  assigned
 Priority:  normal              |   Milestone:  4.8
Component:  Networks and Sites  |     Version:  trunk
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+------------------------
Changes (by flixos90):

 * keywords:  needs-patch => has-patch
 * owner:   => flixos90
 * status:  new => assigned


Comment:

 [attachment:40703.diff] sets the `$accepted_args` parameter of the
 `add_filter()` calls to 0, so that no parameters are passed to the
 functions.

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


More information about the wp-trac mailing list