Changeset 51178
- Timestamp:
- 06/17/2021 02:48:42 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r51177 r51178 168 168 <table class="form-table comment-ays"> 169 169 <tr> 170 <th scope="row"><?php _e( 'Author' ); ?></th>171 <td><?php comment_author( $comment ); ?></td>170 <th scope="row"><?php _e( 'Author' ); ?></th> 171 <td><?php comment_author( $comment ); ?></td> 172 172 </tr> 173 173 <?php if ( get_comment_author_email( $comment ) ) { ?> 174 174 <tr> 175 <th scope="row"><?php _e( 'Email' ); ?></th>176 <td><?php comment_author_email( $comment ); ?></td>175 <th scope="row"><?php _e( 'Email' ); ?></th> 176 <td><?php comment_author_email( $comment ); ?></td> 177 177 </tr> 178 178 <?php } ?> 179 179 <?php if ( get_comment_author_url( $comment ) ) { ?> 180 180 <tr> 181 <th scope="row"><?php _e( 'URL' ); ?></th>182 <td><a href="<?php comment_author_url( $comment ); ?>"><?php comment_author_url( $comment ); ?></a></td>181 <th scope="row"><?php _e( 'URL' ); ?></th> 182 <td><a href="<?php comment_author_url( $comment ); ?>"><?php comment_author_url( $comment ); ?></a></td> 183 183 </tr> 184 184 <?php } ?> … … 208 208 ?> 209 209 </td> 210 211 210 </tr> 211 <tr> 212 212 <th scope="row"><?php _e( 'Submitted on' ); ?></th> 213 213 <td> … … 227 227 } 228 228 ?> 229 230 231 229 </td> 230 </tr> 231 <tr> 232 232 <th scope="row"><?php /* translators: Field name in comment form. */ _ex( 'Comment', 'noun' ); ?></th> 233 233 <td class="comment-content"> 234 234 <?php comment_text( $comment ); ?> 235 <p class="edit-comment"><a href="<?php echo esc_url( admin_url( "comment.php?action=editcomment&c={$comment->comment_ID}" ) ); ?>"><?php esc_html_e( 'Edit' ); ?></a></p> 235 <p class="edit-comment"> 236 <a href="<?php echo esc_url( admin_url( "comment.php?action=editcomment&c={$comment->comment_ID}" ) ); ?>"><?php esc_html_e( 'Edit' ); ?></a> 237 </p> 236 238 </td> 237 </tr> 238 </table> 239 240 <form action="comment.php" method="get" class="comment-ays-submit"> 241 239 </tr> 240 </table> 241 242 <form action="comment.php" method="get" class="comment-ays-submit"> 242 243 <p> 243 244 <?php submit_button( $button, 'primary', 'submit', false ); ?> 244 <a href="<?php echo esc_url( admin_url( 'edit-comments.php' ) ); ?>" class="button-cancel"><?php esc_html_e( 'Cancel' ); ?></a>245 <a href="<?php echo esc_url( admin_url( 'edit-comments.php' ) ); ?>" class="button-cancel"><?php esc_html_e( 'Cancel' ); ?></a> 245 246 </p> 246 247 … … 249 250 <input type="hidden" name="c" value="<?php echo esc_attr( $comment->comment_ID ); ?>" /> 250 251 <input type="hidden" name="noredir" value="1" /> 251 252 253 252 </form> 253 254 </div> 254 255 <?php 255 256 break;
Note: See TracChangeset
for help on using the changeset viewer.