- Timestamp:
- 12/09/2019 01:48:37 PM (5 years ago)
- Location:
- branches/5.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3
-
branches/5.3/src/wp-admin/includes/class-walker-nav-menu-checklist.php
r46380 r46843 63 63 * @since 3.0.0 64 64 * 65 * @global int $_nav_menu_placeholder 65 * @global int $_nav_menu_placeholder 66 * @global int|string $nav_menu_selected_id 66 67 * 67 68 * @param string $output Used to append additional content (passed by reference). … … 72 73 */ 73 74 public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { 74 global $_nav_menu_placeholder ;75 global $_nav_menu_placeholder, $nav_menu_selected_id; 75 76 76 77 $_nav_menu_placeholder = ( 0 > $_nav_menu_placeholder ) ? intval( $_nav_menu_placeholder ) - 1 : -1; … … 82 83 $output .= $indent . '<li>'; 83 84 $output .= '<label class="menu-item-title">'; 84 $output .= '<input type="checkbox" class="menu-item-checkbox';85 $output .= '<input type="checkbox"' . wp_nav_menu_disabled_check( $nav_menu_selected_id, false ) . ' class="menu-item-checkbox'; 85 86 86 87 if ( ! empty( $item->front_or_home ) ) {
Note: See TracChangeset
for help on using the changeset viewer.