Changeset 25829 for trunk/src/wp-admin/options-discussion.php
- Timestamp:
- 10/17/2013 05:59:54 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-discussion.php
r25616 r25829 6 6 * @subpackage Administration 7 7 */ 8 9 8 /** WordPress Administration Bootstrap */ 10 9 require_once( dirname( __FILE__ ) . '/admin.php' ); … … 78 77 <input name="thread_comments" type="checkbox" id="thread_comments" value="1" <?php checked('1', get_option('thread_comments')); ?> /> 79 78 <?php 80 79 /** 80 * Filter the maximum depth of threaded/nested comments. 81 * 82 * @since 2.7.0. 83 * 84 * @param int $10 The maximum depth of threaded comments. Default 10. 85 */ 81 86 $maxdeep = (int) apply_filters( 'thread_comments_depth_max', 10 ); 82 87 … … 220 225 'retro' => __('Retro (Generated)') 221 226 ); 222 $avatar_defaults = apply_filters('avatar_defaults', $avatar_defaults); 227 /** 228 * Filter the default avatars. 229 * 230 * Avatars are stored in key/value pairs, where the key is option value, 231 * and the name is the displayed avatar name. 232 * 233 * @since 2.6.0 234 * 235 * @param array $avatar_defaults Array of default avatars. 236 */ 237 $avatar_defaults = apply_filters( 'avatar_defaults', $avatar_defaults ); 223 238 $default = get_option('avatar_default'); 224 239 if ( empty($default) ) … … 236 251 $avatar_list .= '<br />'; 237 252 } 238 echo apply_filters('default_avatar_select', $avatar_list); 253 /** 254 * Filter the HTML output of the default avatar list. 255 * 256 * @since 2.6.0 257 * 258 * @param string $avatar_list HTML markup of the avatar list. 259 */ 260 echo apply_filters( 'default_avatar_select', $avatar_list ); 239 261 ?> 240 262
Note: See TracChangeset
for help on using the changeset viewer.