Skip to content

Commit 719a9be

Browse files
committed
Remove obsolete 'tog' class.
1 parent 8314517 commit 719a9be

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/wp-admin/includes/misc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ function admin_color_scheme_picker( $user_id ) {
10321032

10331033
?>
10341034
<div class="color-option <?php echo ( $color === $current_color ) ? 'selected' : ''; ?>">
1035-
<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 ); ?> />
1035+
<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 ); ?> />
10361036
<input type="hidden" class="css_url" value="<?php echo esc_url( $color_info->url ); ?>" />
10371037
<input type="hidden" class="icon_colors" value="<?php echo esc_attr( wp_json_encode( array( 'icons' => $color_info->icon_colors ) ) ); ?>" />
10381038
<label for="admin_color_<?php echo esc_attr( $color ); ?>"><?php echo esc_html( $color_info->name ); ?></label>

src/wp-admin/options-reading.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@
9090
<td id="front-static-pages"><fieldset>
9191
<legend class="screen-reader-text"><span><?php echo $your_homepage_displays_title; ?></span></legend>
9292
<p><label>
93-
<input name="show_on_front" type="radio" value="posts" class="tog" <?php checked( 'posts', get_option( 'show_on_front' ) ); ?> />
93+
<input name="show_on_front" type="radio" value="posts" <?php checked( 'posts', get_option( 'show_on_front' ) ); ?> />
9494
<?php _e( 'Your latest posts' ); ?>
9595
</label>
9696
</p>
9797
<p><label>
98-
<input name="show_on_front" type="radio" value="page" class="tog" <?php checked( 'page', get_option( 'show_on_front' ) ); ?> />
98+
<input name="show_on_front" type="radio" value="page" <?php checked( 'page', get_option( 'show_on_front' ) ); ?> />
9999
<?php
100100
printf(
101101
/* translators: %s: URL to Pages screen. */

0 commit comments

Comments
 (0)