diff --git a/wp-admin/includes/menu.php b/wp-admin/includes/menu.php index b26bc1e26c..07c382b989 100644 --- a/wp-admin/includes/menu.php +++ b/wp-admin/includes/menu.php @@ -241,7 +241,7 @@ function add_menu_classes( $menu ) { $first_item = false; } - if ( $i == items_count ) { // Last item. + if ( $i == $items_count ) { // Last item. $classes = $menu[ $order ][4]; $menu[ $order ][4] = add_cssclass( 'menu-top-last', $classes ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index cfef869245..b2b0218be9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-beta1-53195'; +$wp_version = '6.0-beta1-53196'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.