- Timestamp:
- 07/04/2020 11:42:49 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-walker-nav-menu-checklist.php
r10417 r12678 6 6 * @subpackage Core 7 7 * @since 1.9.0 8 * @deprecated 7.0.0 This file is no longer used as of the improved way to generate BuddyPress Member's nav menu items in #8291. 9 * @todo Remove this file as it is no longer used. 8 10 */ 9 11 10 12 // Exit if accessed directly. 11 13 defined( 'ABSPATH' ) || exit; 14 15 _deprecated_file( basename( __FILE__ ), '7.0.0' ); 12 16 13 17 /** … … 18 22 * 19 23 * @since 1.9.0 24 * @deprecated 7.0.0 This class is no longer used as of the improved way to generate BuddyPress Member's nav menu items in #8291. 20 25 */ 21 26 class BP_Walker_Nav_Menu_Checklist extends Walker_Nav_Menu { … … 24 29 * Constructor. 25 30 * 31 * @deprecated 7.0.0 32 * 26 33 * @see Walker_Nav_Menu::__construct() for a description of parameters. 27 34 * … … 29 36 */ 30 37 public function __construct( $fields = false ) { 38 _deprecated_function( __METHOD__, '7.0.0' ); 31 39 if ( $fields ) { 32 40 $this->db_fields = $fields; … … 37 45 * Create the markup to start a tree level. 38 46 * 47 * @deprecated 7.0.0 48 * 39 49 * @see Walker_Nav_Menu::start_lvl() for description of parameters. 40 50 * … … 44 54 */ 45 55 public function start_lvl( &$output, $depth = 0, $args = array() ) { 56 _deprecated_function( __METHOD__, '7.0.0' ); 46 57 $indent = str_repeat( "\t", $depth ); 47 58 $output .= "\n$indent<ul class='children'>\n"; … … 50 61 /** 51 62 * Create the markup to end a tree level. 63 * 64 * @deprecated 7.0.0 52 65 * 53 66 * @see Walker_Nav_Menu::end_lvl() for description of parameters. … … 58 71 */ 59 72 public function end_lvl( &$output, $depth = 0, $args = array() ) { 73 _deprecated_function( __METHOD__, '7.0.0' ); 60 74 $indent = str_repeat( "\t", $depth ); 61 75 $output .= "\n$indent</ul>"; … … 64 78 /** 65 79 * Create the markup to start an element. 80 * 81 * @deprecated 7.0.0 66 82 * 67 83 * @see Walker::start_el() for description of parameters. … … 75 91 */ 76 92 function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { 93 _deprecated_function( __METHOD__, '7.0.0' ); 77 94 global $_nav_menu_placeholder; 78 95
Note: See TracChangeset
for help on using the changeset viewer.