[buddypress-trac] [BuddyPress Trac] #7318: Cleanup incorrect remove_action() & remove_filter() usage

buddypress-trac noreply at wordpress.org
Mon Nov 28 22:33:56 UTC 2016

#7318: Cleanup incorrect remove_action() & remove_filter() usage
 Reporter:  slaFFik                                 |       Owner:  djpaul
     Type:  defect (bug)                            |      Status:  closed
 Priority:  low                                     |   Milestone:  2.8
Component:  Core                                    |     Version:
 Severity:  normal                                  |  Resolution:  fixed
 Keywords:  good-first-bug needs-refresh has-patch  |
Changes (by djpaul):

 * owner:   => djpaul
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"11256"]:
 #!CommitTicketReference repository="" revision="11256"
 Fix incorrect `remove_action` and `remove_filter` usage for WordPress 4.7.

 `remove_action` and `remove_filter` formally accepted a fourth parameter
 until WP 4.7; it's only with the introduction of the `WP_Hook` class that
 the function signature changed. Prior to WP 4.7, the fourth parameter was
 unused, so it does no harm to remove it and tidy things up.

 Fixes #7318

 Props ketuchetan

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7318#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list