Edit File by line
/home/zeestwma/ceyloniy.../wp-admin
File: options-discussion.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Discussion settings administration panel.
[2] Fix | Delete
*
[3] Fix | Delete
* @package WordPress
[4] Fix | Delete
* @subpackage Administration
[5] Fix | Delete
*/
[6] Fix | Delete
/** WordPress Administration Bootstrap */
[7] Fix | Delete
require_once __DIR__ . '/admin.php';
[8] Fix | Delete
[9] Fix | Delete
if ( ! current_user_can( 'manage_options' ) ) {
[10] Fix | Delete
wp_die( __( 'Sorry, you are not allowed to manage options for this site.' ) );
[11] Fix | Delete
}
[12] Fix | Delete
[13] Fix | Delete
// Used in the HTML title tag.
[14] Fix | Delete
$title = __( 'Discussion Settings' );
[15] Fix | Delete
$parent_file = 'options-general.php';
[16] Fix | Delete
[17] Fix | Delete
add_action( 'admin_print_footer_scripts', 'options_discussion_add_js' );
[18] Fix | Delete
[19] Fix | Delete
get_current_screen()->add_help_tab(
[20] Fix | Delete
array(
[21] Fix | Delete
'id' => 'overview',
[22] Fix | Delete
'title' => __( 'Overview' ),
[23] Fix | Delete
'content' => '<p>' . __( 'This screen provides many options for controlling the management and display of comments and links to your posts/pages. So many, in fact, they will not all fit here! :) Use the documentation links to get information on what each discussion setting does.' ) . '</p>' .
[24] Fix | Delete
'<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>',
[25] Fix | Delete
)
[26] Fix | Delete
);
[27] Fix | Delete
[28] Fix | Delete
get_current_screen()->set_help_sidebar(
[29] Fix | Delete
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
[30] Fix | Delete
'<p>' . __( '<a href="https://wordpress.org/documentation/article/settings-discussion-screen/">Documentation on Discussion Settings</a>' ) . '</p>' .
[31] Fix | Delete
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
[32] Fix | Delete
);
[33] Fix | Delete
[34] Fix | Delete
require_once ABSPATH . 'wp-admin/admin-header.php';
[35] Fix | Delete
?>
[36] Fix | Delete
[37] Fix | Delete
<div class="wrap">
[38] Fix | Delete
<h1><?php echo esc_html( $title ); ?></h1>
[39] Fix | Delete
[40] Fix | Delete
<form method="post" action="options.php">
[41] Fix | Delete
<?php settings_fields( 'discussion' ); ?>
[42] Fix | Delete
[43] Fix | Delete
<table class="form-table indent-children" role="presentation">
[44] Fix | Delete
<?php $default_post_settings_title = __( 'Default post settings' ); ?>
[45] Fix | Delete
<tr>
[46] Fix | Delete
<th scope="row"><?php echo $default_post_settings_title; ?></th>
[47] Fix | Delete
<td><fieldset><legend class="screen-reader-text"><span><?php echo $default_post_settings_title; ?></span></legend>
[48] Fix | Delete
<label for="default_pingback_flag">
[49] Fix | Delete
<input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked( '1', get_option( 'default_pingback_flag' ) ); ?> />
[50] Fix | Delete
<?php _e( 'Attempt to notify any blogs linked to from the post' ); ?></label>
[51] Fix | Delete
<br />
[52] Fix | Delete
<label for="default_ping_status">
[53] Fix | Delete
<input name="default_ping_status" type="checkbox" id="default_ping_status" value="open" <?php checked( 'open', get_option( 'default_ping_status' ) ); ?> />
[54] Fix | Delete
<?php _e( 'Allow link notifications from other blogs (pingbacks and trackbacks) on new posts' ); ?></label>
[55] Fix | Delete
<br />
[56] Fix | Delete
<label for="default_comment_status">
[57] Fix | Delete
<input name="default_comment_status" type="checkbox" id="default_comment_status" value="open" <?php checked( 'open', get_option( 'default_comment_status' ) ); ?> />
[58] Fix | Delete
<?php _e( 'Allow people to submit comments on new posts' ); ?></label>
[59] Fix | Delete
<br />
[60] Fix | Delete
<p class="description"><?php _e( 'Individual posts may override these settings. Changes here will only be applied to new posts.' ); ?></p>
[61] Fix | Delete
</fieldset></td>
[62] Fix | Delete
</tr>
[63] Fix | Delete
<?php $other_comment_settings_title = __( 'Other comment settings' ); ?>
[64] Fix | Delete
<tr>
[65] Fix | Delete
<th scope="row"><?php echo $other_comment_settings_title; ?></th>
[66] Fix | Delete
<td><fieldset><legend class="screen-reader-text"><span><?php echo $other_comment_settings_title; ?></span></legend>
[67] Fix | Delete
<label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked( '1', get_option( 'require_name_email' ) ); ?> /> <?php _e( 'Comment author must fill out name and email' ); ?></label>
[68] Fix | Delete
<br />
[69] Fix | Delete
<label for="comment_registration">
[70] Fix | Delete
<input name="comment_registration" type="checkbox" id="comment_registration" value="1" <?php checked( '1', get_option( 'comment_registration' ) ); ?> />
[71] Fix | Delete
<?php _e( 'Users must be registered and logged in to comment' ); ?>
[72] Fix | Delete
<?php
[73] Fix | Delete
if ( ! get_option( 'users_can_register' ) && is_multisite() ) {
[74] Fix | Delete
echo ' ' . __( '(Signup has been disabled. Only members of this site can comment.)' );
[75] Fix | Delete
}
[76] Fix | Delete
?>
[77] Fix | Delete
</label>
[78] Fix | Delete
<br />
[79] Fix | Delete
<input name="close_comments_for_old_posts" type="checkbox" id="close_comments_for_old_posts" value="1" <?php checked( '1', get_option( 'close_comments_for_old_posts' ) ); ?> /> <label for="close_comments_for_old_posts"><?php _e( 'Automatically close comments on old posts' ); ?></label>
[80] Fix | Delete
<ul>
[81] Fix | Delete
<li>
[82] Fix | Delete
<label for="close_comments_days_old"><?php _e( 'Close comments when post is how many days old' ); ?></label>
[83] Fix | Delete
<input name="close_comments_days_old" type="number" step="1" min="0" id="close_comments_days_old" value="<?php echo esc_attr( get_option( 'close_comments_days_old' ) ); ?>" class="small-text" />
[84] Fix | Delete
</li>
[85] Fix | Delete
</ul>
[86] Fix | Delete
[87] Fix | Delete
<input name="show_comments_cookies_opt_in" type="checkbox" id="show_comments_cookies_opt_in" value="1" <?php checked( '1', get_option( 'show_comments_cookies_opt_in' ) ); ?> />
[88] Fix | Delete
<label for="show_comments_cookies_opt_in"><?php _e( 'Show comments cookies opt-in checkbox, allowing comment author cookies to be set' ); ?></label>
[89] Fix | Delete
<br />
[90] Fix | Delete
<input name="thread_comments" type="checkbox" id="thread_comments" value="1" <?php checked( '1', get_option( 'thread_comments' ) ); ?> />
[91] Fix | Delete
<label for="thread_comments"><?php _e( 'Enable threaded (nested) comments' ); ?></label>
[92] Fix | Delete
[93] Fix | Delete
<?php
[94] Fix | Delete
/**
[95] Fix | Delete
* Filters the maximum depth of threaded/nested comments.
[96] Fix | Delete
*
[97] Fix | Delete
* @since 2.7.0
[98] Fix | Delete
*
[99] Fix | Delete
* @param int $max_depth The maximum depth of threaded comments. Default 10.
[100] Fix | Delete
*/
[101] Fix | Delete
$maxdeep = (int) apply_filters( 'thread_comments_depth_max', 10 );
[102] Fix | Delete
[103] Fix | Delete
$thread_comments_depth = '<select name="thread_comments_depth" id="thread_comments_depth">';
[104] Fix | Delete
for ( $i = 2; $i <= $maxdeep; $i++ ) {
[105] Fix | Delete
$thread_comments_depth .= "<option value='" . esc_attr( $i ) . "'";
[106] Fix | Delete
if ( (int) get_option( 'thread_comments_depth' ) === $i ) {
[107] Fix | Delete
$thread_comments_depth .= " selected='selected'";
[108] Fix | Delete
}
[109] Fix | Delete
$thread_comments_depth .= ">$i</option>";
[110] Fix | Delete
}
[111] Fix | Delete
$thread_comments_depth .= '</select>';
[112] Fix | Delete
?>
[113] Fix | Delete
<ul>
[114] Fix | Delete
<li>
[115] Fix | Delete
<label for="thread_comments_depth"><?php _e( 'Number of levels for threaded (nested) comments' ); ?></label>
[116] Fix | Delete
<?php echo $thread_comments_depth; ?>
[117] Fix | Delete
</li>
[118] Fix | Delete
</ul>
[119] Fix | Delete
</fieldset></td>
[120] Fix | Delete
</tr>
[121] Fix | Delete
[122] Fix | Delete
<?php $comment_pagination_title = __( 'Comment Pagination' ); ?>
[123] Fix | Delete
<tr>
[124] Fix | Delete
<th scope="row"><?php echo $comment_pagination_title; ?></th>
[125] Fix | Delete
<td><fieldset><legend class="screen-reader-text"><span><?php echo $comment_pagination_title; ?></span></legend>
[126] Fix | Delete
<input name="page_comments" type="checkbox" id="page_comments" value="1" <?php checked( '1', get_option( 'page_comments' ) ); ?> />
[127] Fix | Delete
<label for="page_comments"><?php _e( 'Break comments into pages' ); ?></label>
[128] Fix | Delete
<ul>
[129] Fix | Delete
<li>
[130] Fix | Delete
<label for="comments_per_page"><?php _e( 'Top level comments per page' ); ?></label>
[131] Fix | Delete
<input name="comments_per_page" type="number" step="1" min="0" id="comments_per_page" value="<?php echo esc_attr( get_option( 'comments_per_page' ) ); ?>" class="small-text" />
[132] Fix | Delete
</li>
[133] Fix | Delete
<li>
[134] Fix | Delete
<label for="default_comments_page"><?php _e( 'Comments page to display by default' ); ?></label>
[135] Fix | Delete
<select name="default_comments_page" id="default_comments_page">
[136] Fix | Delete
<option value="newest" <?php selected( 'newest', get_option( 'default_comments_page' ) ); ?>><?php _e( 'last page' ); ?></option>
[137] Fix | Delete
<option value="oldest" <?php selected( 'oldest', get_option( 'default_comments_page' ) ); ?>><?php _e( 'first page' ); ?></option>
[138] Fix | Delete
</select>
[139] Fix | Delete
</li>
[140] Fix | Delete
<li>
[141] Fix | Delete
<label for="comment_order"><?php _e( 'Comments to display at the top of each page' ); ?></label>
[142] Fix | Delete
<select name="comment_order" id="comment_order">
[143] Fix | Delete
<option value="asc" <?php selected( 'asc', get_option( 'comment_order' ) ); ?>><?php _e( 'older' ); ?></option>
[144] Fix | Delete
<option value="desc" <?php selected( 'desc', get_option( 'comment_order' ) ); ?>><?php _e( 'newer' ); ?></option>
[145] Fix | Delete
</select>
[146] Fix | Delete
</li>
[147] Fix | Delete
</ul>
[148] Fix | Delete
</fieldset></td>
[149] Fix | Delete
</tr>
[150] Fix | Delete
<?php $email_me_whenever_title = __( 'Email me whenever' ); ?>
[151] Fix | Delete
<tr>
[152] Fix | Delete
<th scope="row"><?php echo $email_me_whenever_title; ?></th>
[153] Fix | Delete
<td><fieldset><legend class="screen-reader-text"><span><?php echo $email_me_whenever_title; ?></span></legend>
[154] Fix | Delete
<label for="comments_notify">
[155] Fix | Delete
<input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked( '1', get_option( 'comments_notify' ) ); ?> />
[156] Fix | Delete
<?php _e( 'Anyone posts a comment' ); ?> </label>
[157] Fix | Delete
<br />
[158] Fix | Delete
<label for="moderation_notify">
[159] Fix | Delete
<input name="moderation_notify" type="checkbox" id="moderation_notify" value="1" <?php checked( '1', get_option( 'moderation_notify' ) ); ?> />
[160] Fix | Delete
<?php _e( 'A comment is held for moderation' ); ?> </label>
[161] Fix | Delete
<br />
[162] Fix | Delete
<label for="wp_notes_notify">
[163] Fix | Delete
<input name="wp_notes_notify" type="checkbox" id="wp_notes_notify" value="1" <?php checked( '1', get_option( 'wp_notes_notify', 1 ) ); ?> />
[164] Fix | Delete
<?php _e( 'Anyone posts a note' ); ?> </label>
[165] Fix | Delete
[166] Fix | Delete
</fieldset></td>
[167] Fix | Delete
</tr>
[168] Fix | Delete
<?php $before_comment_appears_title = __( 'Before a comment appears' ); ?>
[169] Fix | Delete
<tr>
[170] Fix | Delete
<th scope="row"><?php echo $before_comment_appears_title; ?></th>
[171] Fix | Delete
<td><fieldset><legend class="screen-reader-text"><span><?php echo $before_comment_appears_title; ?></span></legend>
[172] Fix | Delete
<label for="comment_moderation">
[173] Fix | Delete
<input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked( '1', get_option( 'comment_moderation' ) ); ?> />
[174] Fix | Delete
<?php _e( 'Comment must be manually approved' ); ?> </label>
[175] Fix | Delete
<br />
[176] Fix | Delete
<label for="comment_previously_approved"><input type="checkbox" name="comment_previously_approved" id="comment_previously_approved" value="1" <?php checked( '1', get_option( 'comment_previously_approved' ) ); ?> /> <?php _e( 'Comment author must have a previously approved comment' ); ?></label>
[177] Fix | Delete
</fieldset></td>
[178] Fix | Delete
</tr>
[179] Fix | Delete
<?php $comment_moderation_title = __( 'Comment Moderation' ); ?>
[180] Fix | Delete
<tr>
[181] Fix | Delete
<th scope="row"><?php echo $comment_moderation_title; ?></th>
[182] Fix | Delete
<td><fieldset><legend class="screen-reader-text"><span><?php echo $comment_moderation_title; ?></span></legend>
[183] Fix | Delete
<p><label for="comment_max_links">
[184] Fix | Delete
<?php
[185] Fix | Delete
printf(
[186] Fix | Delete
/* translators: %s: Number of links. */
[187] Fix | Delete
__( 'Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)' ),
[188] Fix | Delete
'<input name="comment_max_links" type="number" step="1" min="0" id="comment_max_links" value="' . esc_attr( get_option( 'comment_max_links' ) ) . '" class="small-text" />'
[189] Fix | Delete
);
[190] Fix | Delete
?>
[191] Fix | Delete
</label></p>
[192] Fix | Delete
[193] Fix | Delete
<p><label for="moderation_keys"><?php _e( 'When a comment contains any of these words in its content, author name, URL, email, IP address, or browser&#8217;s user agent string, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP address per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.' ); ?></label></p>
[194] Fix | Delete
<p>
[195] Fix | Delete
<textarea name="moderation_keys" rows="10" cols="50" id="moderation_keys" class="large-text code"><?php echo esc_textarea( get_option( 'moderation_keys' ) ); ?></textarea>
[196] Fix | Delete
</p>
[197] Fix | Delete
</fieldset></td>
[198] Fix | Delete
</tr>
[199] Fix | Delete
<?php $disallowed_comment_keys_title = __( 'Disallowed Comment Keys' ); ?>
[200] Fix | Delete
<tr>
[201] Fix | Delete
<th scope="row"><?php echo $disallowed_comment_keys_title; ?></th>
[202] Fix | Delete
<td><fieldset><legend class="screen-reader-text"><span><?php echo $disallowed_comment_keys_title; ?></span></legend>
[203] Fix | Delete
<p><label for="disallowed_keys"><?php _e( 'When a comment contains any of these words in its content, author name, URL, email, IP address, or browser&#8217;s user agent string, it will be put in the Trash. One word or IP address per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.' ); ?></label></p>
[204] Fix | Delete
<p>
[205] Fix | Delete
<textarea name="disallowed_keys" rows="10" cols="50" id="disallowed_keys" class="large-text code"><?php echo esc_textarea( get_option( 'disallowed_keys' ) ); ?></textarea>
[206] Fix | Delete
</p>
[207] Fix | Delete
</fieldset></td>
[208] Fix | Delete
</tr>
[209] Fix | Delete
<?php do_settings_fields( 'discussion', 'default' ); ?>
[210] Fix | Delete
</table>
[211] Fix | Delete
[212] Fix | Delete
<h2 class="title"><?php _e( 'Avatars' ); ?></h2>
[213] Fix | Delete
[214] Fix | Delete
<p><?php _e( 'An avatar is an image that can be associated with a user across multiple websites. In this area, you can choose to display avatars of users who interact with the site.' ); ?></p>
[215] Fix | Delete
[216] Fix | Delete
<?php
[217] Fix | Delete
// The above would be a good place to link to the documentation on the Gravatar functions, for putting it in themes. Anything like that?
[218] Fix | Delete
[219] Fix | Delete
$show_avatars = get_option( 'show_avatars' );
[220] Fix | Delete
$show_avatars_class = '';
[221] Fix | Delete
if ( ! $show_avatars ) {
[222] Fix | Delete
$show_avatars_class = ' hide-if-js';
[223] Fix | Delete
}
[224] Fix | Delete
?>
[225] Fix | Delete
[226] Fix | Delete
<table class="form-table" role="presentation">
[227] Fix | Delete
<tr>
[228] Fix | Delete
<th scope="row"><?php _e( 'Avatar Display' ); ?></th>
[229] Fix | Delete
<td>
[230] Fix | Delete
<label for="show_avatars">
[231] Fix | Delete
<input type="checkbox" id="show_avatars" name="show_avatars" value="1" <?php checked( $show_avatars, 1 ); ?> />
[232] Fix | Delete
<?php _e( 'Show Avatars' ); ?>
[233] Fix | Delete
</label>
[234] Fix | Delete
</td>
[235] Fix | Delete
</tr>
[236] Fix | Delete
<?php $maximum_rating_title = __( 'Maximum Rating' ); ?>
[237] Fix | Delete
<tr class="avatar-settings<?php echo $show_avatars_class; ?>">
[238] Fix | Delete
<th scope="row"><?php echo $maximum_rating_title; ?></th>
[239] Fix | Delete
<td><fieldset><legend class="screen-reader-text"><span><?php echo $maximum_rating_title; ?></span></legend>
[240] Fix | Delete
[241] Fix | Delete
<?php
[242] Fix | Delete
$ratings = array(
[243] Fix | Delete
/* translators: Content suitability rating: https://en.wikipedia.org/wiki/Motion_Picture_Association_of_America_film_rating_system */
[244] Fix | Delete
'G' => __( 'G &#8212; Suitable for all audiences' ),
[245] Fix | Delete
/* translators: Content suitability rating: https://en.wikipedia.org/wiki/Motion_Picture_Association_of_America_film_rating_system */
[246] Fix | Delete
'PG' => __( 'PG &#8212; Possibly offensive, usually for audiences 13 and above' ),
[247] Fix | Delete
/* translators: Content suitability rating: https://en.wikipedia.org/wiki/Motion_Picture_Association_of_America_film_rating_system */
[248] Fix | Delete
'R' => __( 'R &#8212; Intended for adult audiences above 17' ),
[249] Fix | Delete
/* translators: Content suitability rating: https://en.wikipedia.org/wiki/Motion_Picture_Association_of_America_film_rating_system */
[250] Fix | Delete
'X' => __( 'X &#8212; Even more mature than above' ),
[251] Fix | Delete
);
[252] Fix | Delete
foreach ( $ratings as $key => $rating ) :
[253] Fix | Delete
$selected = ( get_option( 'avatar_rating' ) === $key ) ? 'checked="checked"' : '';
[254] Fix | Delete
echo "\n\t<label><input type='radio' name='avatar_rating' value='" . esc_attr( $key ) . "' $selected/> $rating</label><br />";
[255] Fix | Delete
endforeach;
[256] Fix | Delete
?>
[257] Fix | Delete
[258] Fix | Delete
</fieldset></td>
[259] Fix | Delete
</tr>
[260] Fix | Delete
<?php $default_avatar_title = __( 'Default Avatar' ); ?>
[261] Fix | Delete
<tr class="avatar-settings<?php echo $show_avatars_class; ?>">
[262] Fix | Delete
<th scope="row"><?php echo $default_avatar_title; ?></th>
[263] Fix | Delete
<td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php echo $default_avatar_title; ?></span></legend>
[264] Fix | Delete
[265] Fix | Delete
<p>
[266] Fix | Delete
<?php _e( 'For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their email address.' ); ?><br />
[267] Fix | Delete
</p>
[268] Fix | Delete
[269] Fix | Delete
<?php
[270] Fix | Delete
$avatar_defaults = array(
[271] Fix | Delete
'mystery' => __( 'Mystery Person' ),
[272] Fix | Delete
'blank' => __( 'Blank' ),
[273] Fix | Delete
'gravatar_default' => __( 'Gravatar Logo' ),
[274] Fix | Delete
'identicon' => __( 'Identicon (Generated)' ),
[275] Fix | Delete
'wavatar' => __( 'Wavatar (Generated)' ),
[276] Fix | Delete
'monsterid' => __( 'MonsterID (Generated)' ),
[277] Fix | Delete
'retro' => __( 'Retro (Generated)' ),
[278] Fix | Delete
'robohash' => __( 'RoboHash (Generated)' ),
[279] Fix | Delete
'initials' => __( 'Initials (Generated)' ),
[280] Fix | Delete
'color' => __( 'Color (Generated)' ),
[281] Fix | Delete
);
[282] Fix | Delete
/**
[283] Fix | Delete
* Filters the default avatars.
[284] Fix | Delete
*
[285] Fix | Delete
* Avatars are stored in key/value pairs, where the key is option value,
[286] Fix | Delete
* and the name is the displayed avatar name.
[287] Fix | Delete
*
[288] Fix | Delete
* @since 2.6.0
[289] Fix | Delete
*
[290] Fix | Delete
* @param string[] $avatar_defaults Associative array of default avatars.
[291] Fix | Delete
*/
[292] Fix | Delete
$avatar_defaults = apply_filters( 'avatar_defaults', $avatar_defaults );
[293] Fix | Delete
$default = get_option( 'avatar_default', 'mystery' );
[294] Fix | Delete
$avatar_list = '';
[295] Fix | Delete
[296] Fix | Delete
// Force avatars on to display these choices.
[297] Fix | Delete
add_filter( 'pre_option_show_avatars', '__return_true', 100 );
[298] Fix | Delete
[299] Fix | Delete
foreach ( $avatar_defaults as $default_key => $default_name ) {
[300] Fix | Delete
$selected = ( $default === $default_key ) ? 'checked="checked" ' : '';
[301] Fix | Delete
$avatar_list .= "\n\t<label><input type='radio' name='avatar_default' id='avatar_{$default_key}' value='" . esc_attr( $default_key ) . "' {$selected}/> ";
[302] Fix | Delete
$avatar_list .= get_avatar( $user_email, 32, $default_key, '', array( 'force_default' => true ) );
[303] Fix | Delete
$avatar_list .= ' ' . $default_name . '</label>';
[304] Fix | Delete
$avatar_list .= '<br />';
[305] Fix | Delete
}
[306] Fix | Delete
[307] Fix | Delete
remove_filter( 'pre_option_show_avatars', '__return_true', 100 );
[308] Fix | Delete
[309] Fix | Delete
/**
[310] Fix | Delete
* Filters the HTML output of the default avatar list.
[311] Fix | Delete
*
[312] Fix | Delete
* @since 2.6.0
[313] Fix | Delete
*
[314] Fix | Delete
* @param string $avatar_list HTML markup of the avatar list.
[315] Fix | Delete
*/
[316] Fix | Delete
echo apply_filters( 'default_avatar_select', $avatar_list );
[317] Fix | Delete
?>
[318] Fix | Delete
[319] Fix | Delete
</fieldset></td>
[320] Fix | Delete
</tr>
[321] Fix | Delete
<?php do_settings_fields( 'discussion', 'avatars' ); ?>
[322] Fix | Delete
</table>
[323] Fix | Delete
[324] Fix | Delete
<?php do_settings_sections( 'discussion' ); ?>
[325] Fix | Delete
[326] Fix | Delete
<?php submit_button(); ?>
[327] Fix | Delete
</form>
[328] Fix | Delete
</div>
[329] Fix | Delete
[330] Fix | Delete
<?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>
[331] Fix | Delete
[332] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function