Changeset 4133
- Timestamp:
- 08/30/2006 04:40:17 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r3944 r4133 46 46 <input type="submit" name="submit" value="<?php _e('Search') ?>" /> 47 47 <input type="hidden" name="mode" value="<?php echo $mode; ?>" /> 48 <?php _e('(Searches within comment text, e-mail, UR I, and IP address.)') ?>48 <?php _e('(Searches within comment text, e-mail, URL, and IP address.)') ?> 49 49 </fieldset> 50 50 </form> -
trunk/wp-admin/edit-form-comment.php
r3918 r4133 31 31 </fieldset> 32 32 <fieldset id="uridiv"> 33 <legend><label for="URL"><?php _e('UR I:') ?></label></legend>33 <legend><label for="URL"><?php _e('URL:') ?></label></legend> 34 34 <div> 35 35 <input type="text" id="newcomment_author_url" name="newcomment_author_url" size="35" value="<?php echo $comment->comment_author_url ?>" tabindex="3" id="URL" /> -
trunk/wp-admin/edit-form.php
r3942 r4133 52 52 <input type="hidden" name="post_pingback" value="<?php echo get_option('default_pingback_flag') ?>" id="post_pingback" /> 53 53 54 <p><label for="trackback"> <?php printf(__('<a href="%s" title="Help on trackbacks"><strong>TrackBack</strong> a <abbr title="Universal Resource Identifier">URI</abbr></a>:</label> (Separate multiple <abbr title="Universal Resource Identifier">URI</abbr>s with spaces.)<br />'), 'http://wordpress.org/docs/reference/post/#trackback') ?>54 <p><label for="trackback"> <?php printf(__('<a href="%s" title="Help on trackbacks"><strong>TrackBack</strong> a <abbr title="Universal Resource Locator">URL</abbr></a>:</label> (Separate multiple <abbr title="Universal Resource Locator">URL</abbr>s with spaces.)<br />'), 'http://wordpress.org/docs/reference/post/#trackback') ?> 55 55 <input type="text" name="trackback_url" style="width: 360px" id="trackback" tabindex="7" /></p> 56 56 -
trunk/wp-admin/link-manager.php
r4021 r4133 106 106 <tr> 107 107 <th width="15%" style="text-align: left"><?php _e('Name') ?></th> 108 <th style="text-align: left"><?php _e('UR I') ?></th>108 <th style="text-align: left"><?php _e('URL') ?></th> 109 109 <th style="text-align: left"><?php _e('Categories') ?></th> 110 110 <th><?php _e('rel') ?></th> -
trunk/wp-admin/options-discussion.php
r3759 r4133 74 74 <p><?php printf(__('Hold a comment in the queue if it contains more than %s links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" size="3" value="' . get_settings('comment_max_links'). '" />' ) ?></p> 75 75 76 <p><?php _e('When a comment contains any of these words in its content, name, UR I, e-mail, or IP, hold it in the moderation queue: (Separate multiple words with new lines.) <a href="http://codex.wordpress.org/Spam_Words">Common spam words</a>.') ?></p>76 <p><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, hold it in the moderation queue: (Separate multiple words with new lines.) <a href="http://codex.wordpress.org/Spam_Words">Common spam words</a>.') ?></p> 77 77 <p> 78 78 <textarea name="moderation_keys" cols="60" rows="4" id="moderation_keys" style="width: 98%; font-size: 12px;" class="code"><?php form_option('moderation_keys'); ?></textarea> -
trunk/wp-admin/options-general.php
r4115 r4133 24 24 </tr> 25 25 <tr valign="top"> 26 <th scope="row"><?php _e('WordPress address (UR I):') ?></th>26 <th scope="row"><?php _e('WordPress address (URL):') ?></th> 27 27 <td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>" size="40" class="code" /></td> 28 28 </tr> 29 29 <tr valign="top"> 30 <th scope="row"><?php _e('Blog address (UR I):') ?></th>30 <th scope="row"><?php _e('Blog address (URL):') ?></th> 31 31 <td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>" size="40" class="code" /><br /><?php _e('If you want your blog homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different than the directory</a> you installed WordPress in, enter that address here.'); ?></td> 32 32 </tr> -
trunk/wp-admin/options-permalink.php
r4112 r4133 103 103 <div class="wrap"> 104 104 <h2><?php _e('Customize Permalink Structure') ?></h2> 105 <p><?php _e('By default WordPress uses web URIs which have question marks and lots of numbers in them, however WordPress offers you the ability to create a custom URIstructure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links. A <a href="http://codex.wordpress.org/Using_Permalinks">number of tags are available</a>, and here are some examples to get you started.'); ?></p>105 <p><?php _e('By default WordPress uses web <abbr title="Universal Resource Locator">URL</abbr>s which have question marks and lots of numbers in them, however WordPress offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links. A <a href="http://codex.wordpress.org/Using_Permalinks">number of tags are available</a>, and here are some examples to get you started.'); ?></p> 106 106 107 107 <?php … … 153 153 <h3><?php _e('Optional'); ?></h3> 154 154 <?php if ($is_apache) : ?> 155 <p><?php _e('If you like, you may enter a custom prefix for your category URIs here. For example, <code>/taxonomy/tags</code> would make your category links like <code>http://example.org/taxonomy/tags/uncategorized/</code>. If you leave this blank the default will be used.') ?></p>155 <p><?php _e('If you like, you may enter a custom prefix for your category <abbr title="Universal Resource Locator">URL</abbr>s here. For example, <code>/taxonomy/tags</code> would make your category links like <code>http://example.org/taxonomy/tags/uncategorized/</code>. If you leave this blank the default will be used.') ?></p> 156 156 <?php else : ?> 157 <p><?php _e('If you like, you may enter a custom prefix for your category URIs here. For example, <code>/index.php/taxonomy/tags</code> would make your category links like <code>http://example.org/index.php/taxonomy/tags/uncategorized/</code>. If you leave this blank the default will be used.') ?></p>157 <p><?php _e('If you like, you may enter a custom prefix for your category <abbr title="Universal Resource Locator">URL</abbr>s here. For example, <code>/index.php/taxonomy/tags</code> would make your category links like <code>http://example.org/index.php/taxonomy/tags/uncategorized/</code>. If you leave this blank the default will be used.') ?></p> 158 158 <?php endif; ?> 159 159 <p> -
trunk/wp-admin/options-writing.php
r3759 r4133 97 97 <fieldset class="options"> 98 98 <legend><?php _e('Update Services') ?></legend> 99 <p><?php _e('When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="http://codex.wordpress.org/Update_Services">Update Services</a> on the Codex. Separate multiple service URIs with line breaks.') ?></p>99 <p><?php _e('When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="http://codex.wordpress.org/Update_Services">Update Services</a> on the Codex. Separate multiple service <abbr title="Universal Resource Locator">URL</abbr>s with line breaks.') ?></p> 100 100 101 101 <textarea name="ping_sites" id="ping_sites" style="width: 98%;" rows="3" cols="50"><?php form_option('ping_sites'); ?></textarea> -
trunk/wp-content/themes/classic/comments-popup.php
r3902 r4133 25 25 26 26 <?php if ('open' == $post->ping_status) { ?> 27 <p><?php _e("The <a cronym title=\"Uniform Resource Identifier\">URI</acronym> to TrackBack this entry is:"); ?> <em><?php trackback_url() ?></em></p>27 <p><?php _e("The <abbr title=\"Universal Resource Locator\">URL</abbr> to TrackBack this entry is:"); ?> <em><?php trackback_url() ?></em></p> 28 28 <?php } ?> 29 29 … … 71 71 <p> 72 72 <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" /> 73 <label for="url"><?php _e("<a cronym title=\"Uniform Resource Identifier\">URI</acronym>"); ?></label>73 <label for="url"><?php _e("<abbr title=\"Universal Resource Locator\">URL</abbr>"); ?></label> 74 74 </p> 75 75 -
trunk/wp-content/themes/classic/comments.php
r2254 r4133 28 28 <p><?php comments_rss_link(__('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.')); ?> 29 29 <?php if ( pings_open() ) : ?> 30 <a href="<?php trackback_url() ?>" rel="trackback"><?php _e('TrackBack <abbr title="Uni form Resource Identifier">URI</abbr>'); ?></a>30 <a href="<?php trackback_url() ?>" rel="trackback"><?php _e('TrackBack <abbr title="Universal Resource Locator">URL</abbr>'); ?></a> 31 31 <?php endif; ?> 32 32 </p> -
trunk/wp-content/themes/default/comments-popup.php
r3902 r4133 25 25 26 26 <?php if ('open' == $post->ping_status) { ?> 27 <p>The <a cronym title="Uniform Resource Identifier">URI</acronym> to TrackBack this entry is: <em><?php trackback_url() ?></em></p>27 <p>The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: <em><?php trackback_url() ?></em></p> 28 28 <?php } ?> 29 29 … … 71 71 <p> 72 72 <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" /> 73 <label for="url"><a cronym title="Uniform Resource Identifier">URI</acronym></label>73 <label for="url"><abbr title="Universal Resource Locator">URL</abbr></label> 74 74 </p> 75 75 -
trunk/wp-includes/comment.php
r3990 r4133 554 554 $pingback_server_url_len = $pingback_href_end - $pingback_href_start; 555 555 $pingback_server_url = substr($contents, $pingback_href_start, $pingback_server_url_len); 556 // We may find rel="pingback" but an incomplete pingback UR I556 // We may find rel="pingback" but an incomplete pingback URL 557 557 if ($pingback_server_url_len > 0) { 558 558 // We got it! -
trunk/wp-includes/link-template.php
r4112 r4133 399 399 } else { 400 400 // If using path info style permalinks, make sure the index is in 401 // the UR I.401 // the URL. 402 402 if ( strpos($qstr, $index) === false ) 403 403 $qstr = '/' . $index . $qstr; -
trunk/wp-includes/pluggable.php
r3992 r4133 346 346 $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 347 347 $notify_message .= sprintf( __('E-mail : %s'), $comment->comment_author_email ) . "\r\n"; 348 $notify_message .= sprintf( __('UR I: %s'), $comment->comment_author_url ) . "\r\n";348 $notify_message .= sprintf( __('URL : %s'), $comment->comment_author_url ) . "\r\n"; 349 349 $notify_message .= sprintf( __('Whois : http://ws.arin.net/cgi-bin/whois.pl?queryinput=%s'), $comment->comment_author_IP ) . "\r\n"; 350 350 $notify_message .= __('Comment: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; … … 354 354 $notify_message = sprintf( __('New trackback on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 355 355 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 356 $notify_message .= sprintf( __('UR I: %s'), $comment->comment_author_url ) . "\r\n";356 $notify_message .= sprintf( __('URL : %s'), $comment->comment_author_url ) . "\r\n"; 357 357 $notify_message .= __('Excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 358 358 $notify_message .= __('You can see all trackbacks on this post here: ') . "\r\n"; … … 361 361 $notify_message = sprintf( __('New pingback on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 362 362 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 363 $notify_message .= sprintf( __('UR I: %s'), $comment->comment_author_url ) . "\r\n";363 $notify_message .= sprintf( __('URL : %s'), $comment->comment_author_url ) . "\r\n"; 364 364 $notify_message .= __('Excerpt: ') . "\r\n" . sprintf('[...] %s [...]', $comment->comment_content ) . "\r\n\r\n"; 365 365 $notify_message .= __('You can see all pingbacks on this post here: ') . "\r\n"; … … 421 421 $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 422 422 $notify_message .= sprintf( __('E-mail : %s'), $comment->comment_author_email ) . "\r\n"; 423 $notify_message .= sprintf( __('UR I: %s'), $comment->comment_author_url ) . "\r\n";423 $notify_message .= sprintf( __('URL : %s'), $comment->comment_author_url ) . "\r\n"; 424 424 $notify_message .= sprintf( __('Whois : http://ws.arin.net/cgi-bin/whois.pl?queryinput=%s'), $comment->comment_author_IP ) . "\r\n"; 425 425 $notify_message .= __('Comment: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; -
trunk/wp-includes/post.php
r4119 r4133 815 815 // 816 816 817 function add_ping($post_id, $uri) { // Add a UR Ito those already pung817 function add_ping($post_id, $uri) { // Add a URL to those already pung 818 818 global $wpdb; 819 819 $pung = $wpdb->get_var("SELECT pinged FROM $wpdb->posts WHERE ID = $post_id"); … … 845 845 } 846 846 847 function get_pung($post_id) { // Get UR Is already pung for a post847 function get_pung($post_id) { // Get URLs already pung for a post 848 848 global $wpdb; 849 849 $pung = $wpdb->get_var("SELECT pinged FROM $wpdb->posts WHERE ID = $post_id"); … … 854 854 } 855 855 856 function get_to_ping($post_id) { // Get any UR Is in the todo list856 function get_to_ping($post_id) { // Get any URLs in the todo list 857 857 global $wpdb; 858 858 $to_ping = $wpdb->get_var("SELECT to_ping FROM $wpdb->posts WHERE ID = $post_id"); … … 1110 1110 foreach ($posts as $id => $post) { 1111 1111 1112 // UR I=> page name1112 // URL => page name 1113 1113 $uri = get_page_uri($id); 1114 1114 $attachments = $wpdb->get_results("SELECT ID, post_name, post_parent FROM $wpdb->posts WHERE post_type = 'attachment' AND post_parent = '$id'"); -
trunk/wp-includes/query.php
r4132 r4133 765 765 } 766 766 767 // Category stuff for nice UR Is767 // Category stuff for nice URLs 768 768 769 769 global $cache_categories; … … 824 824 } 825 825 826 // Author stuff for nice UR Is826 // Author stuff for nice URLs 827 827 828 828 if ('' != $q['author_name']) { -
trunk/wp-includes/rewrite.php
r3791 r4133 85 85 $url = $url_split[0]; 86 86 87 // Get rid of UR I?query=string87 // Get rid of URL ?query=string 88 88 $url_split = explode('?', $url); 89 89 $url = $url_split[0]; -
trunk/wp-trackback.php
r3928 r4133 87 87 $dupe = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = '$comment_post_ID' AND comment_author_url = '$comment_author_url'"); 88 88 if ( $dupe ) 89 trackback_response(1, 'We already have a ping from that UR Ifor this post.');89 trackback_response(1, 'We already have a ping from that URL for this post.'); 90 90 91 91 $commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type'); -
trunk/xmlrpc.php
r4049 r4133 329 329 } 330 330 331 /* warning: here we make the assumption that the weblog's UR Iis on the same server */331 /* warning: here we make the assumption that the weblog's URL is on the same server */ 332 332 $filename = get_settings('home') . '/'; 333 333 $filename = preg_replace('#https?://.+?/#', $_SERVER['DOCUMENT_ROOT'].'/', $filename); … … 364 364 } 365 365 366 /* warning: here we make the assumption that the weblog's UR Iis on the same server */366 /* warning: here we make the assumption that the weblog's URL is on the same server */ 367 367 $filename = get_settings('home') . '/'; 368 368 $filename = preg_replace('#https?://.+?/#', $_SERVER['DOCUMENT_ROOT'].'/', $filename); … … 1154 1154 } else { 1155 1155 // TODO: Attempt to extract a post ID from the given URL 1156 return new IXR_Error(33, 'The specified target UR Icannot be used as a target. It either doesn\'t exist, or it is not a pingback-enabled resource.');1156 return new IXR_Error(33, 'The specified target URL cannot be used as a target. It either doesn\'t exist, or it is not a pingback-enabled resource.'); 1157 1157 } 1158 1158 $post_ID = (int) $post_ID; 1159 1159 1160 1160 1161 logIO("O","(PB) UR I='$pagelinkedto' ID='$post_ID' Found='$way'");1161 logIO("O","(PB) URL='$pagelinkedto' ID='$post_ID' Found='$way'"); 1162 1162 1163 1163 $post = get_post($post_ID); 1164 1164 1165 1165 if ( !$post ) // Post_ID not found 1166 return new IXR_Error(33, 'The specified target UR Icannot be used as a target. It either doesn\'t exist, or it is not a pingback-enabled resource.');1166 return new IXR_Error(33, 'The specified target URL cannot be used as a target. It either doesn\'t exist, or it is not a pingback-enabled resource.'); 1167 1167 1168 1168 if ( $post_ID == url_to_postid($pagelinkedfrom) ) 1169 return new IXR_Error(0, 'The source UR I and the target URIcannot both point to the same resource.');1169 return new IXR_Error(0, 'The source URL and the target URL cannot both point to the same resource.'); 1170 1170 1171 1171 // Check if pings are on 1172 1172 if ( 'closed' == $post->ping_status ) 1173 return new IXR_Error(33, 'The specified target UR Icannot be used as a target. It either doesn\'t exist, or it is not a pingback-enabled resource.');1173 return new IXR_Error(33, 'The specified target URL cannot be used as a target. It either doesn\'t exist, or it is not a pingback-enabled resource.'); 1174 1174 1175 1175 // Let's check that the remote site didn't already pingback this entry … … 1185 1185 $linea = wp_remote_fopen( $pagelinkedfrom ); 1186 1186 if ( !$linea ) 1187 return new IXR_Error(16, 'The source UR Idoes not exist.');1187 return new IXR_Error(16, 'The source URL does not exist.'); 1188 1188 1189 1189 // Work around bug in strip_tags(): … … 1220 1220 1221 1221 if ( empty($context) ) // URL pattern not found 1222 return new IXR_Error(17, 'The source UR I does not contain a link to the target URI, and so cannot be used as a source.');1222 return new IXR_Error(17, 'The source URL does not contain a link to the target URL, and so cannot be used as a source.'); 1223 1223 1224 1224 $pagelinkedfrom = preg_replace('#&([^amp\;])#is', '&$1', $pagelinkedfrom); … … 1260 1260 if (!$post_ID) { 1261 1261 // We aren't sure that the resource is available and/or pingback enabled 1262 return new IXR_Error(33, 'The specified target UR Icannot be used as a target. It either doesn\'t exist, or it is not a pingback-enabled resource.');1262 return new IXR_Error(33, 'The specified target URL cannot be used as a target. It either doesn\'t exist, or it is not a pingback-enabled resource.'); 1263 1263 } 1264 1264 … … 1267 1267 if (!$actual_post) { 1268 1268 // No such post = resource not found 1269 return new IXR_Error(32, 'The specified target UR Idoes not exist.');1269 return new IXR_Error(32, 'The specified target URL does not exist.'); 1270 1270 } 1271 1271
Note: See TracChangeset
for help on using the changeset viewer.