From 5bf66662a9bdd62c5bccab15e607cd95cfb8fcab Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 27 Jul 2020 10:05:23 +0200 Subject: Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my familly --- .../includes/class-walker-nav-menu-checklist.php | 122 --------------------- 1 file changed, 122 deletions(-) delete mode 100644 srcs/wordpress/wp-admin/includes/class-walker-nav-menu-checklist.php (limited to 'srcs/wordpress/wp-admin/includes/class-walker-nav-menu-checklist.php') diff --git a/srcs/wordpress/wp-admin/includes/class-walker-nav-menu-checklist.php b/srcs/wordpress/wp-admin/includes/class-walker-nav-menu-checklist.php deleted file mode 100644 index 6cacf18..0000000 --- a/srcs/wordpress/wp-admin/includes/class-walker-nav-menu-checklist.php +++ /dev/null @@ -1,122 +0,0 @@ -db_fields = $fields; - } - } - - /** - * Starts the list before the elements are added. - * - * @see Walker_Nav_Menu::start_lvl() - * - * @since 3.0.0 - * - * @param string $output Used to append additional content (passed by reference). - * @param int $depth Depth of page. Used for padding. - * @param array $args Not used. - */ - public function start_lvl( &$output, $depth = 0, $args = array() ) { - $indent = str_repeat( "\t", $depth ); - $output .= "\n$indent"; - } - - /** - * Start the element output. - * - * @see Walker_Nav_Menu::start_el() - * - * @since 3.0.0 - * - * @global int $_nav_menu_placeholder - * @global int|string $nav_menu_selected_id - * - * @param string $output Used to append additional content (passed by reference). - * @param object $item Menu item data object. - * @param int $depth Depth of menu item. Used for padding. - * @param array $args Not used. - * @param int $id Not used. - */ - public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { - global $_nav_menu_placeholder, $nav_menu_selected_id; - - $_nav_menu_placeholder = ( 0 > $_nav_menu_placeholder ) ? intval( $_nav_menu_placeholder ) - 1 : -1; - $possible_object_id = isset( $item->post_type ) && 'nav_menu_item' == $item->post_type ? $item->object_id : $_nav_menu_placeholder; - $possible_db_id = ( ! empty( $item->ID ) ) && ( 0 < $possible_object_id ) ? (int) $item->ID : 0; - - $indent = ( $depth ) ? str_repeat( "\t", $depth ) : ''; - - $output .= $indent . '
  • '; - $output .= ''; - - // Menu item hidden fields - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - } - -} // Walker_Nav_Menu_Checklist -- cgit