Skip to:
Content

BuddyPress.org

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#8927 closed task (fixed)

Fully deprecate `bp_nav` & `bp_options_nav` BP globals

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

Description

These 2 backward compatibility globals are deprecated since BuddyPress 2.6, let's fully deprecate them and move the backward compatibility mechanism into the BP Classic plugin.

Change History (4)

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


2 years ago
#1

  • Keywords has-patch has-unit-tests added; needs-patch removed

Let's move the code and corresponding Unit tests into the BP Classic plugin.

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

#2 @imath
2 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 13507:

Fully deprecate bp_nav & bp_options_nav BP globals

These back compatibility mechanism, which was in BP since version 2.6, has moved to the BP Classic plugin.

Fixes #8927
Closes https://github.com/buddypress/buddypress/pull/121

MrVibe commented on PR #121:


2 years ago
#3

A little clarification please, Would bp_setup_nav action hook still work ? bp_core_new_nav_item would work on bp_setup_nav hook ?

Note: See TracTickets for help on using tickets.