From 1fa4a04b7cafe0ed786948be48c6f9cce392dd15 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 26 Sep 2012 06:44:26 +0000 Subject: [PATCH] Make 'Show Avatars' a checkbox rather than a yes/no radio button. props tmoorewp, fixes #20889. git-svn-id: https://develop.svn.wordpress.org/trunk@22010 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/options-discussion.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php index 2651de8c8a..df14d51aab 100644 --- a/wp-admin/options-discussion.php +++ b/wp-admin/options-discussion.php @@ -174,13 +174,10 @@ printf( __('Comments should be displayed with the %s comments at the top of each
- __( 'Don’t show Avatars' ), 1 => __( 'Show Avatars' ) ); - foreach ( $yesorno as $key => $value) { - $selected = (get_option('show_avatars') == $key) ? 'checked="checked"' : ''; - echo "\n\t
"; - } -?> +