- Timestamp:
- 06/02/2024 07:12:25 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-core-bp-options-nav-backcompat.php
r13818 r13900 3 3 * Backward compatibility for the $bp->bp_options_nav global. 4 4 * 5 * @package BuddyPress 6 * @subpackage Core 5 7 * @since 2.6.0 6 8 * @deprecated 12.0.0 … … 11 13 12 14 /** 13 * bp_options_nav backward compatibility class.14 *15 15 * This class is used to provide backward compatibility for extensions that access and modify 16 16 * the $bp->bp_options_nav global. 17 * 18 * Backward compatibility class for `bp_options_nav`. 17 19 * 18 20 * @since 2.6.0 … … 20 22 */ 21 23 class BP_Core_BP_Options_Nav_BackCompat extends BP_Core_BP_Nav_BackCompat { 24 22 25 /** 23 26 * Parent slug of the current nav item. 24 27 * 25 28 * @since 2.6.0 26 * @access protected29 * 27 30 * @var string 28 31 */ … … 36 39 * 37 40 * @param mixed $offset Array offset. 38 * @return BP_Core_BP_Nav_BackCompat39 41 */ 40 42 public function offsetGet( $offset ) { … … 55 57 * @param mixed $offset Array offset. 56 58 */ 59 #[ReturnTypeWillChange] 57 60 public function offsetUnset( $offset ) { 58 61 _doing_it_wrong( … … 69 72 * @since 2.6.0 70 73 * @deprecated 12.0.0 71 *72 * @return string73 74 */ 74 75 public function get_parent_slug() { … … 82 83 * @deprecated 12.0.0 83 84 */ 84 public function set_parent_slug( $slug) {85 public function set_parent_slug() { 85 86 _deprecated_function( __METHOD__, '12.0.0' ); 86 87 } … … 93 94 * 94 95 * @param mixed $offset Array offset. 95 * @return bool|array96 96 */ 97 97 public function get_nav( $offset ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)