Ticket #8714: 8714.diff
File 8714.diff, 26.3 KB (added by , 14 years ago) |
---|
-
wp-admin/edit.php
106 106 107 107 if ( $post_del->post_type == 'attachment' ) { 108 108 if ( ! wp_delete_attachment($post_id) ) 109 wp_die( __('Error in deleting...') );109 wp_die( __('Error deleting attachment.') ); 110 110 } else { 111 111 if ( !wp_delete_post($post_id) ) 112 wp_die( __('Error in deleting...') );112 wp_die( __('Error deleting post.') ); 113 113 } 114 114 $deleted++; 115 115 } -
wp-admin/includes/dashboard.php
754 754 $publisher = "<strong>$publisher</strong>"; 755 755 756 756 $content = $item->get_content(); 757 $content = wp_html_excerpt($content, 50) . ' ...';757 $content = wp_html_excerpt($content, 50) . ' …'; 758 758 759 759 if ( $link ) 760 760 /* translators: incoming links feed, %1$s is other person, %3$s is content */ -
wp-admin/includes/misc.php
225 225 if ('/' == substr( $short_url, -1 )) 226 226 $short_url = substr( $short_url, 0, -1 ); 227 227 if ( strlen( $short_url ) > 35 ) 228 $short_url = substr( $short_url, 0, 32 ).' ...';228 $short_url = substr( $short_url, 0, 32 ).'…'; 229 229 return $short_url; 230 230 } 231 231 -
wp-admin/includes/template.php
1804 1804 if ('/' == substr( $short_url, -1 )) 1805 1805 $short_url = substr( $short_url, 0, -1 ); 1806 1806 if ( strlen( $short_url ) > 35 ) 1807 $short_url = substr( $short_url, 0, 32 ).' ...';1807 $short_url = substr( $short_url, 0, 32 ).'…'; 1808 1808 $checkbox = ''; 1809 1809 // Check if the user for this row is editable 1810 1810 if ( current_user_can( 'list_users' ) ) { … … 2013 2013 $author_url = ''; 2014 2014 $author_url_display = preg_replace('|http://(www\.)?|i', '', $author_url); 2015 2015 if ( strlen($author_url_display) > 50 ) 2016 $author_url_display = substr($author_url_display, 0, 49) . ' ...';2016 $author_url_display = substr($author_url_display, 0, 49) . '…'; 2017 2017 2018 2018 $ptime = date('G', strtotime( $comment->comment_date ) ); 2019 2019 if ( ( abs(time() - $ptime) ) < 86400 ) … … 2445 2445 ?> 2446 2446 </select> 2447 2447 <input class="hide-if-js" type="text" id="metakeyinput" name="metakeyinput" tabindex="7" value="" /> 2448 <a href="#postcustomstuff" class="hide-if-no-js" on click="jQuery('#metakeyinput, #metakeyselect, #enternew, #cancelnew').toggle();return false;">2448 <a href="#postcustomstuff" class="hide-if-no-js" onClick="jQuery('#metakeyinput, #metakeyselect, #enternew, #cancelnew').toggle();return false;"> 2449 2449 <span id="enternew"><?php _e('Enter new'); ?></span> 2450 2450 <span id="cancelnew" class="hidden"><?php _e('Cancel'); ?></span></a> 2451 2451 <?php } else { ?> … … 3268 3268 <?php wp_nonce_field( 'find-posts', '_ajax_nonce', false ); ?> 3269 3269 <label class="screen-reader-text" for="find-posts-input"><?php _e( 'Search' ); ?></label> 3270 3270 <input type="text" id="find-posts-input" name="ps" value="" /> 3271 <input type="button" on click="findPosts.send();" value="<?php esc_attr_e( 'Search' ); ?>" class="button" /><br />3271 <input type="button" onClick="findPosts.send();" value="<?php esc_attr_e( 'Search' ); ?>" class="button" /><br /> 3272 3272 3273 3273 <?php 3274 3274 $post_types = get_post_types( array('public' => true), 'objects' ); … … 3284 3284 <div id="find-posts-response"></div> 3285 3285 </div> 3286 3286 <div class="find-box-buttons"> 3287 <input type="button" class="button alignleft" on click="findPosts.close();" value="<?php esc_attr_e('Close'); ?>" />3287 <input type="button" class="button alignleft" onClick="findPosts.close();" value="<?php esc_attr_e('Close'); ?>" /> 3288 3288 <input id="find-posts-submit" type="submit" class="button-primary alignright" value="<?php esc_attr_e('Select'); ?>" /> 3289 3289 </div> 3290 3290 </div> -
wp-admin/link-manager.php
187 187 if ('/' == substr($short_url, -1)) 188 188 $short_url = substr($short_url, 0, -1); 189 189 if (strlen($short_url) > 35) 190 $short_url = substr($short_url, 0, 32).' ...';190 $short_url = substr($short_url, 0, 32).'…'; 191 191 $visible = ($link->link_visible == 'Y') ? __('Yes') : __('No'); 192 192 $rating = $link->link_rating; 193 193 $style = ($alt % 2) ? '' : ' class="alternate"'; -
wp-admin/network.php
96 96 '<p>' . __('This screen allows you to configure a network as having subdomains (<code>site1.example.com</code>) or subdirectories (<code>example.com/site1</code>). Subdomains require wildcard subdomains to be enabled in Apache and DNS records, if your host allows it.') . '</p>' . 97 97 '<p>' . __('Choose subdomains or subdirectories; this can only be switched afterwards by reconfiguring your install. Fill out the network details, and click install. If this does not work, you may have to add a wildcard DNS record (for subdomains) or change to another setting in Permalinks (for subdirectories).') . '</p>' . 98 98 '<p>' . __('The next screen for Network will give you individually-generated lines of code to add to your wp-config.php and .htaccess files. Make sure the settings of your FTP client make files starting with a dot visible, so that you can find .htaccess; you may have to create this file if it really is not there. Make backup copies of those two files.') . '</p>' . 99 '<p>' . __('Add a <code>blogs.dir</code> directory under <code>/wp-content</code> and add the designated lines of code to wp-config.php (just before <code>/* ...stop editing...*/</code>) and <code>.htaccess</code> (replacing the existing WordPress rules).') . '</p>' .99 '<p>' . __('Add a <code>blogs.dir</code> directory under <code>/wp-content</code> and add the designated lines of code to wp-config.php (just before <code>/*…stop editing…*/</code>) and <code>.htaccess</code> (replacing the existing WordPress rules).') . '</p>' . 100 100 '<p>' . __('Refreshing your browser will take you to a screen with an archive of those added lines of code. A set of six links under Super Admin will appear at the top of the main left navigation menu. The multisite network is now enabled.') . '</p>' . 101 101 '<p>' . __('The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with “/blog/” from the main site. This disabling will be addressed soon in a future version.') . '</p>' . 102 102 '<p><strong>' . __('For more information:') . '</strong></p>' . -
wp-admin/press-this.php
130 130 <h3 class="tb"><label for="this_photo_description"><?php _e('Description') ?></label></h3> 131 131 <div class="titlediv"> 132 132 <div class="titlewrap"> 133 <input id="this_photo_description" name="photo_description" class="tbtitle text" on keypress="if(event.keyCode==13) image_selector();" value="<?php echo esc_attr($title);?>"/>133 <input id="this_photo_description" name="photo_description" class="tbtitle text" onKeyPress="if(event.keyCode==13) image_selector();" value="<?php echo esc_attr($title);?>"/> 134 134 </div> 135 135 </div> 136 136 … … 159 159 <h3 class="tb"><label for="this_photo"><?php _e('URL') ?></label></h3> 160 160 <div class="titlediv"> 161 161 <div class="titlewrap"> 162 <input id="this_photo" name="this_photo" class="tbtitle text" on keypress="if(event.keyCode==13) image_selector();" />162 <input id="this_photo" name="this_photo" class="tbtitle text" onKeyPress="if(event.keyCode==13) image_selector();" /> 163 163 </div> 164 164 </div> 165 165 <h3 class="tb"><label for="photo_description"><?php _e('Description') ?></label></h3> 166 166 <div id="titlediv"> 167 167 <div class="titlewrap"> 168 <input id="this_photo_description" name="photo_description" class="tbtitle text" on keypress="if(event.keyCode==13) image_selector();" value="<?php echo esc_attr($title);?>"/>168 <input id="this_photo_description" name="photo_description" class="tbtitle text" onKeyPress="if(event.keyCode==13) image_selector();" value="<?php echo esc_attr($title);?>"/> 169 169 </div> 170 170 </div> 171 171 … … 399 399 jQuery('#waiting').hide(); 400 400 jQuery('#extra-fields').show(); 401 401 } 402 jQuery('#extra-fields').before('<div id="waiting"><img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> <?php echo esc_js( __( 'Loading ...' ) ); ?></div>');402 jQuery('#extra-fields').before('<div id="waiting"><img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> <?php echo esc_js( __( 'Loading…' ) ); ?></div>'); 403 403 404 404 if(photostorage == false) { 405 405 jQuery.ajax({ … … 555 555 </div> 556 556 <div class="posting"> 557 557 <?php if ( isset($posted) && intval($posted) ) { $post_ID = intval($posted); ?> 558 <div id="message" class="updated"><p><strong><?php _e('Your post has been saved.'); ?></strong> <a on click="window.opener.location.replace(this.href); window.close();" href="<?php echo get_permalink( $post_ID); ?>"><?php _e('View post'); ?></a> | <a href="<?php echo get_edit_post_link( $post_ID ); ?>" onclick="window.opener.location.replace(this.href); window.close();"><?php _e('Edit Post'); ?></a> | <a href="#" onclick="window.close();"><?php _e('Close Window'); ?></a></p></div>558 <div id="message" class="updated"><p><strong><?php _e('Your post has been saved.'); ?></strong> <a onClick="window.opener.location.replace(this.href); window.close();" href="<?php echo get_permalink( $post_ID); ?>"><?php _e('View post'); ?></a> | <a href="<?php echo get_edit_post_link( $post_ID ); ?>" onClick="window.opener.location.replace(this.href); window.close();"><?php _e('Edit Post'); ?></a> | <a href="#" onClick="window.close();"><?php _e('Close Window'); ?></a></p></div> 559 559 <?php } ?> 560 560 561 561 <div id="titlediv"> … … 581 581 <li id="switcher"> 582 582 <?php wp_print_scripts( 'quicktags' ); ?> 583 583 <?php add_filter('the_editor_content', 'wp_richedit_pre'); ?> 584 <a id="edButtonHTML" on click="switchEditors.go('content', 'html');"><?php _e('HTML'); ?></a>585 <a id="edButtonPreview" class="active" on click="switchEditors.go('content', 'tinymce');"><?php _e('Visual'); ?></a>586 <div class="zerosize"><input accesskey="e" type="button" on click="switchEditors.go('content')" /></div>584 <a id="edButtonHTML" onClick="switchEditors.go('content', 'html');"><?php _e('HTML'); ?></a> 585 <a id="edButtonPreview" class="active" onClick="switchEditors.go('content', 'tinymce');"><?php _e('Visual'); ?></a> 586 <div class="zerosize"><input accesskey="e" type="button" onClick="switchEditors.go('content')" /></div> 587 587 </li> 588 588 <?php } ?> 589 589 </ul> -
wp-admin/setup-config.php
132 132 <tr> 133 133 <th scope="row"><label for="pwd">Password</label></th> 134 134 <td><input name="pwd" id="pwd" type="text" size="25" value="password" /></td> 135 <td> ...and MySQL password.</td>135 <td>…and MySQL password.</td> 136 136 </tr> 137 137 <tr> 138 138 <th scope="row"><label for="dbhost">Database Host</label></th> -
wp-admin/theme-editor.php
108 108 $functions = wp_doc_link_parse( $content ); 109 109 110 110 $docs_select = '<select name="docs-list" id="docs-list">'; 111 $docs_select .= '<option value="">' . esc_attr__( 'Function Name ...' ) . '</option>';111 $docs_select .= '<option value="">' . esc_attr__( 'Function Name…' ) . '</option>'; 112 112 foreach ( $functions as $function ) { 113 113 $docs_select .= '<option value="' . esc_attr( urlencode( $function ) ) . '">' . htmlspecialchars( $function ) . '()</option>'; 114 114 } -
wp-admin/upload.php
88 88 wp_die( __('You are not allowed to move this post to the trash.') ); 89 89 90 90 if ( !wp_trash_post($post_id) ) 91 wp_die( __('Error in moving to trash...') );91 wp_die( __('Error moving to trash.') ); 92 92 } 93 93 $location = add_query_arg( array( 'trashed' => count($post_ids), 'ids' => join(',', $post_ids) ), $location ); 94 94 break; … … 98 98 wp_die( __('You are not allowed to move this post out of the trash.') ); 99 99 100 100 if ( !wp_untrash_post($post_id) ) 101 wp_die( __('Error in restoring from trash...') );101 wp_die( __('Error restoring from trash.') ); 102 102 } 103 103 $location = add_query_arg('untrashed', count($post_ids), $location); 104 104 break; … … 108 108 wp_die( __('You are not allowed to delete this post.') ); 109 109 110 110 if ( !wp_delete_attachment($post_id_del) ) 111 wp_die( __('Error in deleting...') );111 wp_die( __('Error deleting attachment.') ); 112 112 } 113 113 $location = add_query_arg('deleted', count($post_ids), $location); 114 114 break; -
wp-content/themes/twentyten/functions.php
251 251 * @return string An ellipsis 252 252 */ 253 253 function twentyten_auto_excerpt_more( $more ) { 254 return ' & hellip;' . twentyten_continue_reading_link();254 return ' …' . twentyten_continue_reading_link(); 255 255 } 256 256 add_filter( 'excerpt_more', 'twentyten_auto_excerpt_more' ); 257 257 -
wp-includes/comment-template.php
419 419 for ($i=0; $i<$k; $i++) { 420 420 $excerpt .= $blah[$i] . ' '; 421 421 } 422 $excerpt .= ($use_dotdotdot) ? ' ...' : '';422 $excerpt .= ($use_dotdotdot) ? '…' : ''; 423 423 return apply_filters('get_comment_excerpt', $excerpt); 424 424 } 425 425 -
wp-includes/comment.php
1642 1642 else 1643 1643 $excerpt = apply_filters('the_excerpt', $post->post_excerpt); 1644 1644 $excerpt = str_replace(']]>', ']]>', $excerpt); 1645 $excerpt = wp_html_excerpt($excerpt, 252) . ' ...';1645 $excerpt = wp_html_excerpt($excerpt, 252) . '…'; 1646 1646 1647 1647 $post_title = apply_filters('the_title', $post->post_title); 1648 1648 $post_title = strip_tags($post_title); -
wp-includes/default-widgets.php
820 820 $desc = str_replace( array("\n", "\r"), ' ', esc_attr( strip_tags( @html_entity_decode( $item->get_description(), ENT_QUOTES, get_option('blog_charset') ) ) ) ); 821 821 $desc = wp_html_excerpt( $desc, 360 ); 822 822 823 // Append ellipsis. Change existing [...] to [& hellip;].823 // Append ellipsis. Change existing [...] to […]. 824 824 if ( '[...]' == substr( $desc, -5 ) ) 825 825 $desc = substr( $desc, 0, -5 ) . '[…]'; 826 elseif ( '[& hellip;]' != substr( $desc, -10 ) )827 $desc .= ' [& hellip;]';826 elseif ( '[…]' != substr( $desc, -10 ) ) 827 $desc .= ' […]'; 828 828 829 829 $desc = esc_html( $desc ); 830 830 -
wp-includes/deprecated.php
1704 1704 * @param int $cut Optional. Amount of words to keep for the content. 1705 1705 * @param int $encode_html Optional. How to encode the content. 1706 1706 */ 1707 function the_content_rss($more_link_text='(more ...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) {1707 function the_content_rss($more_link_text='(more…)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) { 1708 1708 _deprecated_function( __FUNCTION__, '2.9', 'the_content_feed' ); 1709 1709 $content = get_the_content($more_link_text, $stripteaser, $more_file); 1710 1710 $content = apply_filters('the_content_rss', $content); … … 1731 1731 /** @todo Check performance, might be faster to use array slice instead. */ 1732 1732 for ( $i=0; $i<$k; $i++ ) 1733 1733 $excerpt .= $blah[$i].' '; 1734 $excerpt .= ($use_dotdotdot) ? ' ...' : '';1734 $excerpt .= ($use_dotdotdot) ? '…' : ''; 1735 1735 $content = $excerpt; 1736 1736 } 1737 1737 $content = str_replace(']]>', ']]>', $content); -
wp-includes/formatting.php
1831 1831 $text = str_replace(']]>', ']]>', $text); 1832 1832 $text = strip_tags($text); 1833 1833 $excerpt_length = apply_filters('excerpt_length', 55); 1834 $excerpt_more = apply_filters('excerpt_more', ' ' . '[ ...]');1834 $excerpt_more = apply_filters('excerpt_more', ' ' . '[…]'); 1835 1835 $words = preg_split("/[\n\r\t ]+/", $text, $excerpt_length + 1, PREG_SPLIT_NO_EMPTY); 1836 1836 if ( count($words) > $excerpt_length ) { 1837 1837 array_pop($words); -
wp-includes/general-template.php
1995 1995 $page_links[] = "<a class='page-numbers' href='" . esc_url( apply_filters( 'paginate_links', $link ) ) . "'>$n_display</a>"; 1996 1996 $dots = true; 1997 1997 elseif ( $dots && !$show_all ) : 1998 $page_links[] = "<span class='page-numbers dots'> ...</span>";1998 $page_links[] = "<span class='page-numbers dots'>…</span>"; 1999 1999 $dots = false; 2000 2000 endif; 2001 2001 endif; -
wp-includes/js/tinymce/langs/wp-langs-en.js
47 47 forward_desc:"Move forward", 48 48 backward_desc:"Move backward", 49 49 absolute_desc:"Toggle absolute positioning", 50 content:"New layer ..."50 content:"New layer…" 51 51 }, 52 52 save:{ 53 53 save_desc:"Save", … … 146 146 ignore_word:"Ignore word", 147 147 ignore_words:"Ignore all", 148 148 langs:"Languages", 149 wait:"Please wait ...",149 wait:"Please wait…", 150 150 sug:"Suggestions", 151 151 no_sug:"No suggestions", 152 152 no_mpell:"No misspellings found." … … 384 384 wp_more_desc:"Insert More tag (Alt+Shift+T)", 385 385 wp_page_desc:"Insert Page break (Alt+Shift+P)", 386 386 wp_help_desc:"Help (Alt+Shift+H)", 387 wp_more_alt:"More ...",388 wp_page_alt:"Next page ...",387 wp_more_alt:"More…", 388 wp_page_alt:"Next page…", 389 389 add_media:"Add Media", 390 390 add_image:"Add an Image", 391 391 add_video:"Add Video", -
wp-includes/js/tinymce/langs/wp-langs.php
70 70 forward_desc:"' . mce_escape( __('Move forward') ) . '", 71 71 backward_desc:"' . mce_escape( __('Move backward') ) . '", 72 72 absolute_desc:"' . mce_escape( __('Toggle absolute positioning') ) . '", 73 content:"' . mce_escape( __('New layer ...') ) . '"73 content:"' . mce_escape( __('New layer…') ) . '" 74 74 }, 75 75 save:{ 76 76 save_desc:"' . mce_escape( __('Save') ) . '", … … 169 169 ignore_word:"' . mce_escape( __('Ignore word') ) . '", 170 170 ignore_words:"' . mce_escape( __('Ignore all') ) . '", 171 171 langs:"' . mce_escape( __('Languages') ) . '", 172 wait:"' . mce_escape( __('Please wait ...') ) . '",172 wait:"' . mce_escape( __('Please wait…') ) . '", 173 173 sug:"' . mce_escape( __('Suggestions') ) . '", 174 174 no_sug:"' . mce_escape( __('No suggestions') ) . '", 175 175 no_mpell:"' . mce_escape( __('No misspellings found.') ) . '" … … 407 407 wp_more_desc:"' . mce_escape( __('Insert More Tag') ) . ' (Alt+Shift+T)", 408 408 wp_page_desc:"' . mce_escape( __('Insert Page break') ) . ' (Alt+Shift+P)", 409 409 wp_help_desc:"' . mce_escape( __('Help') ) . ' (Alt+Shift+H)", 410 wp_more_alt:"' . mce_escape( __('More ...') ) . '",411 wp_page_alt:"' . mce_escape( __('Next page ...') ) . '",410 wp_more_alt:"' . mce_escape( __('More…') ) . '", 411 wp_page_alt:"' . mce_escape( __('Next page…') ) . '", 412 412 add_media:"' . mce_escape( __('Add Media') ) . '", 413 413 add_image:"' . mce_escape( __('Add an Image') ) . '", 414 414 add_video:"' . mce_escape( __('Add Video') ) . '", -
wp-includes/pluggable.php
1042 1042 /* translators: 1: comment author, 2: author IP, 3: author domain */ 1043 1043 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1044 1044 $notify_message .= sprintf( __('URL : %s'), $comment->comment_author_url ) . "\r\n"; 1045 $notify_message .= __('Excerpt: ') . "\r\n" . sprintf('[ ...] %s [...]', $comment->comment_content ) . "\r\n\r\n";1045 $notify_message .= __('Excerpt: ') . "\r\n" . sprintf('[…] %s […]', $comment->comment_content ) . "\r\n\r\n"; 1046 1046 $notify_message .= __('You can see all pingbacks on this post here: ') . "\r\n"; 1047 1047 /* translators: 1: blog name, 2: post title */ 1048 1048 $subject = sprintf( __('[%1$s] Pingback: "%2$s"'), $blogname, $post->post_title ); -
wp-includes/post-template.php
184 184 global $id, $post, $more, $page, $pages, $multipage, $preview; 185 185 186 186 if ( null === $more_link_text ) 187 $more_link_text = __( '(more ...)' );187 $more_link_text = __( '(more…)' ); 188 188 189 189 $output = ''; 190 190 $hasTeaser = false; -
wp-includes/post.php
2827 2827 $excerpt = strip_tags($post_excerpt ? $post_excerpt : $post_content); 2828 2828 2829 2829 if (strlen($excerpt) > 255) { 2830 $excerpt = substr($excerpt,0,252) . ' ...';2830 $excerpt = substr($excerpt,0,252) . '…'; 2831 2831 } 2832 2832 2833 2833 $trackback_urls = explode(',', $tb_list); -
wp-includes/script-loader.php
379 379 $scripts->add_data( 'set-post-thumbnail', 'group', 1 ); 380 380 $scripts->localize( 'set-post-thumbnail', 'setPostThumbnailL10n', array( 381 381 'setThumbnail' => __( 'Use as featured image' ), 382 'saving' => __( 'Saving ...' ),382 'saving' => __( 'Saving…' ), 383 383 'error' => __( 'Could not set that as the thumbnail image. Try a different attachment.' ), 384 384 'done' => __( 'Done' ) 385 385 ) ); -
wp-login.php
205 205 $message = apply_filters('retrieve_password_message', $message, $key); 206 206 207 207 if ( $message && !wp_mail($user_email, $title, $message) ) 208 wp_die( __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function. ..') );208 wp_die( __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function.') ); 209 209 210 210 return true; 211 211 } … … 257 257 $message = apply_filters('password_reset_message', $message, $new_pass); 258 258 259 259 if ( $message && !wp_mail($user->user_email, $title, $message) ) 260 wp_die( __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function. ..') );260 wp_die( __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function.') ); 261 261 262 262 wp_password_change_notification($user); 263 263 … … 307 307 $user_pass = wp_generate_password(); 308 308 $user_id = wp_create_user( $sanitized_user_login, $user_pass, $user_email ); 309 309 if ( ! $user_id ) { 310 $errors->add( 'registerfail', sprintf( __( '<strong>ERROR</strong>: Couldn’t register you ... please contact the <a href="mailto:%s">webmaster</a> !' ), get_option( 'admin_email' ) ) );310 $errors->add( 'registerfail', sprintf( __( '<strong>ERROR</strong>: Couldn’t register your account. Please contact the <a href="mailto:%s">webmaster</a> !' ), get_option( 'admin_email' ) ) ); 311 311 return $errors; 312 312 } 313 313 -
wp-trackback.php
87 87 if ( !pings_open($tb_id) ) 88 88 trackback_response(1, 'Sorry, trackbacks are closed for this item.'); 89 89 90 $title = wp_html_excerpt( $title, 250 ).' ...';91 $excerpt = wp_html_excerpt( $excerpt, 252 ).' ...';90 $title = wp_html_excerpt( $title, 250 ).'…'; 91 $excerpt = wp_html_excerpt( $excerpt, 252 ).'…'; 92 92 93 93 $comment_post_ID = (int) $tb_id; 94 94 $comment_author = $blog_name; -
xmlrpc.php
3252 3252 3253 3253 // prevent really long link text 3254 3254 if ( strlen($context[1]) > 100 ) 3255 $context[1] = substr($context[1], 0, 100) . ' ...';3255 $context[1] = substr($context[1], 0, 100) . '…'; 3256 3256 3257 3257 $marker = '<wpcontext>'.$context[1].'</wpcontext>'; // set up our marker 3258 3258 $excerpt= str_replace($context[0], $marker, $excerpt); // swap out the link for our marker … … 3270 3270 3271 3271 $pagelinkedfrom = str_replace('&', '&', $pagelinkedfrom); 3272 3272 3273 $context = '[ ...] ' . esc_html( $excerpt ) . ' [...]';3273 $context = '[…] ' . esc_html( $excerpt ) . ' […]'; 3274 3274 $pagelinkedfrom = $wpdb->escape( $pagelinkedfrom ); 3275 3275 3276 3276 $comment_post_ID = (int) $post_ID;