Skip to:
Content

BuddyPress.org

#8983 closed defect (bug) (fixed)

`bp_clear_object_type_terms_cache` is generating a notice error

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 12.0.0 Priority: normal
Severity: normal Version: 7.0.0
Component: Core Keywords: has-patch
Cc:

Description (last modified by imath)

That's because it can't get the $taxonomy parameters as the action is not specifying the right number of arguments to transport.

Change History (3)

This ticket was mentioned in PR #156 on buddypress/buddypress by @imath.


10 months ago
#1

  • Keywords has-patch added; needs-patch removed

2 is the right number or parameters bp_clear_object_type_terms_cache() needs to receive from action hooks.

Trac ticket: https://buddypress.trac.wordpress.org/ticket/8983

#2 @imath
10 months ago

  • Description modified (diff)

#3 @imath
10 months ago

  • Owner set to imath
  • Resolution set to fixed
  • Status changed from new to closed

In 13573:

Edit action hooks about clearing the Object types cache

2 is the right parameters number the function bp_clear_object_type_terms_cache() needs to receive from these action hooks.

Fixes #8983
Closes https://github.com/buddypress/buddypress/pull/156

Note: See TracTickets for help on using tickets.