Make WordPress Core


Ignore:
Timestamp:
08/24/2023 03:56:34 PM (10 months ago)
Author:
joedolson
Message:

Menus: Fix proximity of controls to Save and Delete menus.

Move the position of the Save and Delete buttons in menu editing so they are immediate neighbors, improving the proximity of related controls.

Props 90lines, sabernhardt, costdev.
See #56594.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php

    r56273 r56449  
    421421            $blogname = untrailingslashit( $blog['domain'] . $blog['path'] );
    422422            ?>
    423             <label class="label-covers-full-cell" for="blog_<?php echo $blog['blog_id']; ?>">
     423            <input type="checkbox" id="blog_<?php echo $blog['blog_id']; ?>" name="allblogs[]"
     424                value="<?php echo esc_attr( $blog['blog_id'] ); ?>" />
     425            <label for="blog_<?php echo $blog['blog_id']; ?>">
    424426                <span class="screen-reader-text">
    425427                <?php
     
    429431                </span>
    430432            </label>
    431             <input type="checkbox" id="blog_<?php echo $blog['blog_id']; ?>" name="allblogs[]"
    432                 value="<?php echo esc_attr( $blog['blog_id'] ); ?>" />
    433433            <?php
    434434        endif;
Note: See TracChangeset for help on using the changeset viewer.