Changeset 32929
- Timestamp:
- 06/24/2015 08:55:05 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-comment.php
r32801 r32929 84 84 </fieldset> 85 85 86 <?php if ( $ip = get_comment_author_IP() ) : ?>87 <div class="misc-pub-section misc-pub-comment-author-ip">88 <span aria-hidden="true"><?php _e( 'IP address:' ); ?></span> <strong><a href="<?php echo esc_url( sprintf( 'http://whois.arin.net/rest/ip/%s', $ip ) ); ?>"> <span class="screen-reader-text"><?php _e( 'IP address:' ); ?> </span><?php echo esc_html( $ip ); ?></a></strong>89 </div>90 <?php endif; ?>91 92 86 <div class="misc-pub-section curtime misc-pub-curtime"> 93 87 <?php … … 134 128 </div> 135 129 <?php endif; ?> 130 131 <?php 132 /** 133 * Add additional miscellaneous actions to the edit comment form sidebar. 134 * 135 * @since 4.3.0 136 * 137 * @param string Output HTML to display miscellaneous action. 138 * @param object $comment Current comment object. 139 */ 140 echo apply_filters( 'edit_comment_misc_actions', '', $comment ); 141 ?> 136 142 137 143 </div> <!-- misc actions --> -
trunk/src/wp-includes/pluggable.php
r32800 r32929 1463 1463 $notify_message .= sprintf( __( 'E-mail: %s' ), $comment->comment_author_email ) . "\r\n"; 1464 1464 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1465 $notify_message .= sprintf( __( 'Whois: %s' ), "http://whois.arin.net/rest/ip/{$comment->comment_author_IP}" ) . "\r\n";1466 1465 $notify_message .= sprintf( __('Comment: %s' ), "\r\n" . $comment->comment_content ) . "\r\n\r\n"; 1467 1466 $notify_message .= __( 'You can see all comments on this post here:' ) . "\r\n"; … … 1594 1593 $notify_message .= sprintf( __( 'E-mail: %s' ), $comment->comment_author_email ) . "\r\n"; 1595 1594 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1596 $notify_message .= sprintf( __( 'Whois: %s' ), "http://whois.arin.net/rest/ip/{$comment->comment_author_IP}" ) . "\r\n";1597 1595 $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment->comment_content ) . "\r\n\r\n"; 1598 1596 break;
Note: See TracChangeset
for help on using the changeset viewer.