X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/wordpress.git/blobdiff_plain/4feeb71a9d812a9ae371c28a3d8b442a4394ded7..607b7e02d77e7326161e8ec15639052d2040f745:/wp-admin/options-discussion.php diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php index 3d59195f..5b27e14a 100644 --- a/wp-admin/options-discussion.php +++ b/wp-admin/options-discussion.php @@ -9,7 +9,7 @@ require_once( dirname( __FILE__ ) . '/admin.php' ); if ( ! current_user_can( 'manage_options' ) ) - wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); + wp_die( __( 'Sorry, you are not allowed to manage options for this site.' ) ); $title = __('Discussion Settings'); $parent_file = 'options-general.php'; @@ -78,7 +78,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); /> __('G — Suitable for all audiences'), - /* translators: Content suitability rating: http://bit.ly/89QxZA */ + /* translators: Content suitability rating: https://en.wikipedia.org/wiki/Motion_Picture_Association_of_America_film_rating_system */ 'PG' => __('PG — Possibly offensive, usually for audiences 13 and above'), - /* translators: Content suitability rating: http://bit.ly/89QxZA */ + /* translators: Content suitability rating: https://en.wikipedia.org/wiki/Motion_Picture_Association_of_America_film_rating_system */ 'R' => __('R — Intended for adult audiences above 17'), - /* translators: Content suitability rating: http://bit.ly/89QxZA */ + /* translators: Content suitability rating: https://en.wikipedia.org/wiki/Motion_Picture_Association_of_America_film_rating_system */ 'X' => __('X — Even more mature than above') ); foreach ($ratings as $key => $rating) : @@ -229,7 +229,7 @@ $avatar_defaults = array( 'retro' => __('Retro (Generated)') ); /** - * Filter the default avatars. + * Filters the default avatars. * * Avatars are stored in key/value pairs, where the key is option value, * and the name is the displayed avatar name. @@ -240,7 +240,6 @@ $avatar_defaults = array( */ $avatar_defaults = apply_filters( 'avatar_defaults', $avatar_defaults ); $default = get_option( 'avatar_default', 'mystery' ); -$size = 32; $avatar_list = ''; // Force avatars on to display these choices @@ -249,12 +248,7 @@ add_filter( 'pre_option_show_avatars', '__return_true', 100 ); foreach ( $avatar_defaults as $default_key => $default_name ) { $selected = ($default == $default_key) ? 'checked="checked" ' : ''; $avatar_list .= "\n\t'; $avatar_list .= '
'; } @@ -262,7 +256,7 @@ foreach ( $avatar_defaults as $default_key => $default_name ) { remove_filter( 'pre_option_show_avatars', '__return_true', 100 ); /** - * Filter the HTML output of the default avatar list. + * Filters the HTML output of the default avatar list. * * @since 2.6.0 *