Changeset 38741
- Timestamp:
- 10/06/2016 06:08:36 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-trackback.php
r30662 r38741 83 83 84 84 if ( !isset($tb_id) || !intval( $tb_id ) ) 85 trackback_response( 1, 'I really need an ID for this to work.');85 trackback_response( 1, __( 'I really need an ID for this to work.' ) ); 86 86 87 87 if (empty($title) && empty($tb_url) && empty($blog_name)) { … … 95 95 96 96 if ( !pings_open($tb_id) ) 97 trackback_response( 1, 'Sorry, trackbacks are closed for this item.');97 trackback_response( 1, __( 'Sorry, trackbacks are closed for this item.' ) ); 98 98 99 99 $title = wp_html_excerpt( $title, 250, '…' ); … … 109 109 $dupe = $wpdb->get_results( $wpdb->prepare("SELECT * FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_author_url = %s", $comment_post_ID, $comment_author_url) ); 110 110 if ( $dupe ) 111 trackback_response( 1, 'We already have a ping from that URL for this post.');111 trackback_response( 1, __( 'We already have a ping from that URL for this post.' ) ); 112 112 113 113 $commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type');
Note: See TracChangeset
for help on using the changeset viewer.