Changeset 35902
- Timestamp:
- 12/13/2015 07:10:04 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
-
wp-admin/edit-form-comment.php (modified) (1 diff)
-
wp-includes/comment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-comment.php
r35160 r35902 83 83 <fieldset class="misc-pub-section misc-pub-comment-status" id="comment-status-radio"> 84 84 <legend class="screen-reader-text"><?php _e( 'Comment status' ); ?></legend> 85 <label class="approved"><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php /* translators: comment type radio button */ _ex('Approved', 'adjective')?></label><br />86 <label class="waiting"><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php /* translators: comment type radio button */ _ex('Pending', 'adjective')?></label><br />87 <label class="spam"><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php /* translators: comment type radio button */ _ex('Spam', 'adjective'); ?></label>85 <label class="approved"><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php _ex( 'Approved', 'comment status' ); ?></label><br /> 86 <label class="waiting"><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php _ex( 'Pending', 'comment status' ); ?></label><br /> 87 <label class="spam"><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php _ex( 'Spam', 'comment status' ); ?></label> 88 88 </fieldset> 89 89 -
trunk/src/wp-includes/comment.php
r35853 r35902 232 232 function get_comment_statuses() { 233 233 $status = array( 234 'hold' => __('Unapproved'), 235 /* translators: comment status */ 236 'approve' => _x('Approved', 'adjective'), 237 /* translators: comment status */ 238 'spam' => _x('Spam', 'adjective'), 239 /* translators: comment status */ 240 'trash' => _x('Trash', 'adjective'), 234 'hold' => __( 'Unapproved' ), 235 'approve' => _x( 'Approved', 'comment status' ), 236 'spam' => _x( 'Spam', 'comment status' ), 237 'trash' => _x( 'Trash', 'comment status' ), 241 238 ); 242 239
Note: See TracChangeset
for help on using the changeset viewer.