Skip to:
Content

BuddyPress.org

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#8927 closed task (fixed)

Fully deprecate `bp_nav` & `bp_options_nav` BP globals

Reported by: imath Owned by: imath
Priority: normal Milestone: 12.0.0
Component: Core Version:
Severity: normal 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.


3 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
3 years ago

  • Resolution → fixed
  • Status assigned → 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:


3 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.