Make WordPress Core


Ignore:
Timestamp:
03/22/2026 11:04:10 PM (6 days ago)
Author:
joedolson
Message:

Administration: Fix radio button selection alignment.

Fix issue where the selected state dot on radio buttons was not centered when scaling is set to a value greater than 100%. Remove the .tog class and styles, unused since [26072].

Props presskopp, siliconforks, suhan2411, sabernhardt, shailu25, joedolson.
Fixes #64816.

File:
1 edited

Legend:

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

    r62088 r62089  
    10351035            ?>
    10361036            <div class="color-option <?php echo ( $color === $current_color ) ? 'selected' : ''; ?>">
    1037                 <input name="admin_color" id="admin_color_<?php echo esc_attr( $color ); ?>" type="radio" value="<?php echo esc_attr( $color ); ?>" class="tog" <?php checked( $color, $current_color ); ?> />
     1037                <input name="admin_color" id="admin_color_<?php echo esc_attr( $color ); ?>" type="radio" value="<?php echo esc_attr( $color ); ?>" <?php checked( $color, $current_color ); ?> />
    10381038                <input type="hidden" class="css_url" value="<?php echo esc_url( $color_info->url ); ?>" />
    10391039                <input type="hidden" class="icon_colors" value="<?php echo esc_attr( wp_json_encode( array( 'icons' => $color_info->icon_colors ) ) ); ?>" />
Note: See TracChangeset for help on using the changeset viewer.