Changeset 47252 for trunk/src/wp-admin/edit-form-comment.php
- Timestamp:
- 02/11/2020 12:05:01 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-comment.php
r47222 r47252 88 88 <div id="postbox-container-1" class="postbox-container"> 89 89 <div id="submitdiv" class="stuffbox" > 90 <h2><?php _e( 'S tatus' ); ?></h2>90 <h2><?php _e( 'Save' ); ?></h2> 91 91 <div class="inside"> 92 92 <div class="submitbox" id="submitcomment"> … … 95 95 <div id="misc-publishing-actions"> 96 96 97 <fieldset class="misc-pub-section misc-pub-comment-status" id="comment-status-radio"> 97 <div class="misc-pub-section misc-pub-comment-status" id="comment-status"> 98 <?php _e( 'Status:' ); ?> <span id="comment-status-display"> 99 <?php 100 switch ( $comment->comment_approved ) { 101 case '1': 102 _e( 'Approved' ); 103 break; 104 case '0': 105 _e( 'Pending' ); 106 break; 107 case 'spam': 108 _e( 'Spam' ); 109 break; 110 } 111 ?> 112 </span> 113 114 <fieldset id="comment-status-radio"> 98 115 <legend class="screen-reader-text"><?php _e( 'Comment status' ); ?></legend> 99 116 <label><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php _ex( 'Approved', 'comment status' ); ?></label><br /> … … 101 118 <label><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php _ex( 'Spam', 'comment status' ); ?></label> 102 119 </fieldset> 103 120 </div><!-- .misc-pub-section --> 121 104 122 <div class="misc-pub-section curtime misc-pub-curtime"> 105 123 <?php
Note: See TracChangeset
for help on using the changeset viewer.