Make WordPress Core

Changeset 53196


Ignore:
Timestamp:
04/17/2022 02:42:35 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Correct the $items_count variable in add_menu_classes().

Follow-up to [53195].

See #54728.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/menu.php

    r53195 r53196  
    242242        }
    243243
    244         if ( $i == items_count ) { // Last item.
     244        if ( $i == $items_count ) { // Last item.
    245245            $classes           = $menu[ $order ][4];
    246246            $menu[ $order ][4] = add_cssclass( 'menu-top-last', $classes );
Note: See TracChangeset for help on using the changeset viewer.