Ticket #8714: patch.2.diff
File patch.2.diff, 33.3 KB (added by , 16 years ago) |
---|
-
wp-login.php
149 149 $message .= site_url("wp-login.php?action=rp&key=$key", 'login') . "\r\n"; 150 150 151 151 if ( !wp_mail($user_email, sprintf(__('[%s] Password Reset'), get_option('blogname')), $message) ) 152 die('<p>' . __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function. ..') . '</p>');152 die('<p>' . __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function.') . '</p>'); 153 153 154 154 return true; 155 155 } … … 184 184 $message .= site_url('wp-login.php', 'login') . "\r\n"; 185 185 186 186 if ( !wp_mail($user->user_email, sprintf(__('[%s] Your new password'), get_option('blogname')), $message) ) 187 die('<p>' . __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function. ..') . '</p>');187 die('<p>' . __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function.') . '</p>'); 188 188 189 189 wp_password_change_notification($user); 190 190 … … 232 232 $user_pass = wp_generate_password(); 233 233 $user_id = wp_create_user( $user_login, $user_pass, $user_email ); 234 234 if ( !$user_id ) { 235 $errors->add('registerfail', sprintf(__('<strong>ERROR</strong>: Couldn’t register you. .. please contact the <a href="mailto:%s">webmaster</a> !'), get_option('admin_email')));235 $errors->add('registerfail', sprintf(__('<strong>ERROR</strong>: Couldn’t register you. Please contact the <a href="mailto:%s">webmaster</a> !'), get_option('admin_email'))); 236 236 return $errors; 237 237 } 238 238 -
wp-includes/post-template.php
180 180 global $id, $post, $more, $page, $pages, $multipage, $preview, $pagenow; 181 181 182 182 if ( null === $more_link_text ) 183 $more_link_text = __( '(more ...)' );183 $more_link_text = __( '(more…)' ); 184 184 185 185 $output = ''; 186 186 -
wp-includes/post.php
1926 1926 $excerpt = strip_tags($post_excerpt ? $post_excerpt : $post_content); 1927 1927 1928 1928 if (strlen($excerpt) > 255) { 1929 $excerpt = substr($excerpt,0,252) . ' ...';1929 $excerpt = substr($excerpt,0,252) . '…'; 1930 1930 } 1931 1931 1932 1932 $trackback_urls = explode(',', $tb_list); -
wp-includes/comment.php
1349 1349 else 1350 1350 $excerpt = apply_filters('the_excerpt', $post->post_excerpt); 1351 1351 $excerpt = str_replace(']]>', ']]>', $excerpt); 1352 $excerpt = wp_html_excerpt($excerpt, 252) . ' ...';1352 $excerpt = wp_html_excerpt($excerpt, 252) . '…'; 1353 1353 1354 1354 $post_title = apply_filters('the_title', $post->post_title); 1355 1355 $post_title = strip_tags($post_title); -
wp-includes/comment-template.php
397 397 for ($i=0; $i<$k; $i++) { 398 398 $excerpt .= $blah[$i] . ' '; 399 399 } 400 $excerpt .= ($use_dotdotdot) ? ' ...' : '';400 $excerpt .= ($use_dotdotdot) ? '…' : ''; 401 401 return apply_filters('get_comment_excerpt', $excerpt); 402 402 } 403 403 -
wp-includes/formatting.php
1638 1638 $words = explode(' ', $text, $excerpt_length + 1); 1639 1639 if (count($words) > $excerpt_length) { 1640 1640 array_pop($words); 1641 array_push($words, '[ ...]');1641 array_push($words, '[…]'); 1642 1642 $text = implode(' ', $words); 1643 1643 } 1644 1644 } -
wp-includes/general-template.php
1817 1817 $page_links[] = "<a class='page-numbers' href='" . clean_url($link) . "'>$n_display</a>"; 1818 1818 $dots = true; 1819 1819 elseif ( $dots && !$show_all ) : 1820 $page_links[] = "<span class='page-numbers dots'> ...</span>";1820 $page_links[] = "<span class='page-numbers dots'>…</span>"; 1821 1821 $dots = false; 1822 1822 endif; 1823 1823 endif; -
wp-includes/pluggable.php
953 953 $notify_message = sprintf( __('New pingback on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 954 954 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 955 955 $notify_message .= sprintf( __('URL : %s'), $comment->comment_author_url ) . "\r\n"; 956 $notify_message .= __('Excerpt: ') . "\r\n" . sprintf('[ ...] %s [...]', $comment->comment_content ) . "\r\n\r\n";956 $notify_message .= __('Excerpt: ') . "\r\n" . sprintf('[…] %s […]', $comment->comment_content ) . "\r\n\r\n"; 957 957 $notify_message .= __('You can see all pingbacks on this post here: ') . "\r\n"; 958 958 $subject = sprintf( __('[%1$s] Pingback: "%2$s"'), $blogname, $post->post_title ); 959 959 } -
wp-includes/feed.php
159 159 * @param int $cut Optional. Amount of words to keep for the content. 160 160 * @param int $encode_html Optional. How to encode the content. 161 161 */ 162 function the_content_rss($more_link_text='(more ...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) {162 function the_content_rss($more_link_text='(more…)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) { 163 163 $content = get_the_content($more_link_text, $stripteaser, $more_file); 164 164 $content = apply_filters('the_content_rss', $content); 165 165 if ( $cut && !$encode_html ) … … 185 185 /** @todo Check performance, might be faster to use array slice instead. */ 186 186 for ( $i=0; $i<$k; $i++ ) 187 187 $excerpt .= $blah[$i].' '; 188 $excerpt .= ($use_dotdotdot) ? ' ...' : '';188 $excerpt .= ($use_dotdotdot) ? '…' : ''; 189 189 $content = $excerpt; 190 190 } 191 191 $content = str_replace(']]>', ']]>', $content); -
xmlrpc.php
3309 3309 3310 3310 // prevent really long link text 3311 3311 if ( strlen($context[1]) > 100 ) 3312 $context[1] = substr($context[1], 0, 100) . ' ...';3312 $context[1] = substr($context[1], 0, 100) . '…'; 3313 3313 3314 3314 $marker = '<wpcontext>'.$context[1].'</wpcontext>'; // set up our marker 3315 3315 $excerpt= str_replace($context[0], $marker, $excerpt); // swap out the link for our marker … … 3327 3327 3328 3328 $pagelinkedfrom = str_replace('&', '&', $pagelinkedfrom); 3329 3329 3330 $context = '[ ...] ' . wp_specialchars( $excerpt ) . ' [...]';3330 $context = '[…] ' . wp_specialchars( $excerpt ) . ' […]'; 3331 3331 $pagelinkedfrom = $wpdb->escape( $pagelinkedfrom ); 3332 3332 3333 3333 $comment_post_ID = (int) $post_ID; -
wp-content/themes/classic/index.php
15 15 <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> — <?php the_tags(__('Tags: '), ', ', ' — '); ?> <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div> 16 16 17 17 <div class="storycontent"> 18 <?php the_content(__('(more ...)')); ?>18 <?php the_content(__('(more…)')); ?> 19 19 </div> 20 20 21 21 <div class="feedback"> -
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; -
readme.html
58 58 <ul> 59 59 <li>PHP version <strong>4.3</strong> or higher.</li> 60 60 <li>MySQL version <strong>4.0</strong> or higher.</li> 61 <li> ...and a link to <a href="http://wordpress.org/">http://wordpress.org</a> on your site.</li>61 <li>… and a link to <a href="http://wordpress.org/">http://wordpress.org</a> on your site.</li> 62 62 </ul> 63 63 <p>WordPress is the official continuation of <a href="http://cafelog.com/">b2/cafélog</a>, which came from Michel V. The work has been continued by the <a href="http://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="http://wordpress.org/donate/">donating</a>.</p> 64 64 -
wp-admin/includes/dashboard.php
639 639 $publisher = "<strong>$publisher</strong>"; 640 640 641 641 $content = $item->get_content(); 642 $content = wp_html_excerpt($content, 50) . ' ...';642 $content = wp_html_excerpt($content, 50) . ' …'; 643 643 644 644 if ( $link ) 645 645 /* translators: incoming links feed, %1$s is other person, %3$s is content */ -
wp-admin/includes/misc.php
192 192 if ('/' == substr( $short_url, -1 )) 193 193 $short_url = substr( $short_url, 0, -1 ); 194 194 if ( strlen( $short_url ) > 35 ) 195 $short_url = substr( $short_url, 0, 32 ).' ...';195 $short_url = substr( $short_url, 0, 32 ).'…'; 196 196 return $short_url; 197 197 } 198 198 -
wp-admin/includes/template.php
1860 1860 if ('/' == substr( $short_url, -1 )) 1861 1861 $short_url = substr( $short_url, 0, -1 ); 1862 1862 if ( strlen( $short_url ) > 35 ) 1863 $short_url = substr( $short_url, 0, 32 ).' ...';1863 $short_url = substr( $short_url, 0, 32 ).'…'; 1864 1864 $numposts = get_usernumposts( $user_object->ID ); 1865 1865 $checkbox = ''; 1866 1866 // Check if the user for this row is editable … … 2056 2056 $author_url_display = str_replace('http://www.', '', $author_url_display); 2057 2057 $author_url_display = str_replace('http://', '', $author_url_display); 2058 2058 if ( strlen($author_url_display) > 50 ) 2059 $author_url_display = substr($author_url_display, 0, 49) . ' ...';2059 $author_url_display = substr($author_url_display, 0, 49) . '…'; 2060 2060 2061 2061 $ptime = date('G', strtotime( $comment->comment_date ) ); 2062 2062 if ( ( abs(time() - $ptime) ) < 86400 ) -
wp-admin/post.php
208 208 209 209 if ( $post->post_type == 'attachment' ) { 210 210 if ( ! wp_delete_attachment($post_id) ) 211 wp_die( __('Error in deleting...') );211 wp_die( __('Error deleting attachment.') ); 212 212 } else { 213 213 if ( !wp_delete_post($post_id) ) 214 wp_die( __('Error in deleting...') );214 wp_die( __('Error deleting post.') ); 215 215 } 216 216 217 217 $sendback = wp_get_referer(); -
wp-admin/theme-editor.php
94 94 $functions = wp_doc_link_parse( $content ); 95 95 96 96 $docs_select = '<select name="docs-list" id="docs-list">'; 97 $docs_select .= '<option value="">' . __( 'Function Name ...' ) . '</option>';97 $docs_select .= '<option value="">' . __( 'Function Name…' ) . '</option>'; 98 98 foreach ( $functions as $function ) { 99 99 $docs_select .= '<option value="' . urlencode( $function ) . '">' . htmlspecialchars( $function ) . '()</option>'; 100 100 } -
wp-admin/import/livejournal.php
274 274 update_option( 'ljapi_total', $total ); 275 275 update_option( 'ljapi_count', $count ); 276 276 277 echo '<p>' . __( 'Post metadata has been downloaded, proceeding with posts ...' ) . '</p>';277 echo '<p>' . __( 'Post metadata has been downloaded, proceeding with posts…' ) . '</p>'; 278 278 } 279 279 280 280 function download_post_bodies() { … … 374 374 if ( $post_id = post_exists( $post_title, $post_content, $post_date ) ) { 375 375 printf( __( 'Post <strong>%s</strong> already exists.' ), stripslashes( $post_title ) ); 376 376 } else { 377 printf( __( 'Imported post <strong>%s</strong> ...' ), stripslashes( $post_title ) );377 printf( __( 'Imported post <strong>%s</strong>…' ), stripslashes( $post_title ) ); 378 378 $postdata = compact( 'post_author', 'post_date', 'post_content', 'post_title', 'post_status', 'post_password', 'tags_input', 'comment_status' ); 379 379 $post_id = wp_insert_post( $postdata, true ); 380 380 if ( is_wp_error( $post_id ) ) { … … 486 486 update_option( 'ljapi_maxid', $maxid ); 487 487 update_option( 'ljapi_highest_id', $highest_id ); 488 488 489 echo '<p>' . __( ' Comment metadata downloaded successfully, proceeding with comment bodies ...' ) . '</p>';489 echo '<p>' . __( ' Comment metadata downloaded successfully, proceeding with comment bodies…' ) . '</p>'; 490 490 491 491 return true; 492 492 } … … 778 778 779 779 echo '<div id="ljapi-status">'; 780 780 echo '<h3>' . __( 'Importing Posts' ) . '</h3>'; 781 echo '<p>' . __( "We're downloading and importing your LiveJournal posts ..." ) . '</p>';781 echo '<p>' . __( "We're downloading and importing your LiveJournal posts…" ) . '</p>'; 782 782 if ( get_option( 'ljapi_post_batch' ) && count( get_option( 'ljapi_sync_item_times' ) ) ) { 783 783 $batch = count( get_option( 'ljapi_sync_item_times' ) ); 784 784 $batch = $count > 300 ? ceil( $batch / 300 ) : 1; … … 838 838 839 839 echo '<div id="ljapi-status">'; 840 840 echo '<h3>' . __( 'Downloading Comments' ) . '</h3>'; 841 echo '<p>' . __( 'Now we will download your comments so we can import them (this could take a <strong>long</strong> time if you have lots of comments) ...' ) . '</p>';841 echo '<p>' . __( 'Now we will download your comments so we can import them (this could take a <strong>long</strong> time if you have lots of comments)…' ) . '</p>'; 842 842 ob_flush(); flush(); 843 843 844 844 if ( !get_option( 'ljapi_usermap' ) ) { … … 886 886 887 887 echo '<div id="ljapi-status">'; 888 888 echo '<h3>' . __( 'Threading Comments' ) . '</h3>'; 889 echo '<p>' . __( 'We are now re-building the threading of your comments (this can also take a while if you have lots of comments) ...' ) . '</p>';889 echo '<p>' . __( 'We are now re-building the threading of your comments (this can also take a while if you have lots of comments)…' ) . '</p>'; 890 890 ob_flush(); flush(); 891 891 892 892 // Only bother adding indexes if they have over 5000 comments (arbitrary number) -
wp-admin/import/dotclear.php
288 288 // Do the Magic 289 289 if(is_array($categories)) 290 290 { 291 echo '<p>'.__('Importing Categories ...').'<br /><br /></p>';291 echo '<p>'.__('Importing Categories…').'<br /><br /></p>'; 292 292 foreach ($categories as $category) 293 293 { 294 294 $count++; … … 329 329 // Midnight Mojo 330 330 if(is_array($users)) 331 331 { 332 echo '<p>'.__('Importing Users ...').'<br /><br /></p>';332 echo '<p>'.__('Importing Users…').'<br /><br /></p>'; 333 333 foreach($users as $user) 334 334 { 335 335 $count++; … … 406 406 // Do the Magic 407 407 if(is_array($posts)) 408 408 { 409 echo '<p>'.__('Importing Posts ...').'<br /><br /></p>';409 echo '<p>'.__('Importing Posts…').'<br /><br /></p>'; 410 410 foreach($posts as $post) 411 411 { 412 412 $count++; … … 504 504 // Magic Mojo 505 505 if(is_array($comments)) 506 506 { 507 echo '<p>'.__('Importing Comments ...').'<br /><br /></p>';507 echo '<p>'.__('Importing Comments…').'<br /><br /></p>'; 508 508 foreach($comments as $comment) 509 509 { 510 510 $count++; … … 575 575 // Deal with the links 576 576 if(is_array($links)) 577 577 { 578 echo '<p>'.__('Importing Links ...').'<br /><br /></p>';578 echo '<p>'.__('Importing Links…').'<br /><br /></p>'; 579 579 foreach($links as $link) 580 580 { 581 581 $count++; … … 714 714 echo '<h3>'.__('Preserving Authors').'</h3>'; 715 715 echo '<p>'.__('Secondly, we have attempted to preserve post authors. If you are the only author or contributor to your blog, then you are safe. In most cases, we are successful in this preservation endeavor. However, if we cannot ascertain the name of the writer due to discrepancies between database tables, we assign it to you, the administrative user.').'</p>'; 716 716 echo '<h3>'.__('Textile').'</h3>'; 717 echo '<p>'.__('Also, since you\'re coming from DotClear, you probably have been using Textile to format your comments and posts. If this is the case, we recommend downloading and installing <a href="http://www.huddledmasses.org/category/development/wordpress/textile/">Textile for WordPress</a>. Trust me ...You\'ll want it.').'</p>';717 echo '<p>'.__('Also, since you\'re coming from DotClear, you probably have been using Textile to format your comments and posts. If this is the case, we recommend downloading and installing <a href="http://www.huddledmasses.org/category/development/wordpress/textile/">Textile for WordPress</a>. Trust me… You\'ll want it.').'</p>'; 718 718 echo '<h3>'.__('WordPress Resources').'</h3>'; 719 719 echo '<p>'.__('Finally, there are numerous WordPress resources around the internet. Some of them are:').'</p>'; 720 720 echo '<ul>'; -
wp-admin/import/blogware.php
102 102 if ($post_id = post_exists($post_title, $post_content, $post_date)) { 103 103 printf(__('Post <em>%s</em> already exists.'), stripslashes($post_title)); 104 104 } else { 105 printf(__('Importing post <em>%s</em> ...'), stripslashes($post_title));105 printf(__('Importing post <em>%s</em>…'), stripslashes($post_title)); 106 106 $postdata = compact('post_author', 'post_date', 'post_content', 'post_title', 'post_status'); 107 107 $post_id = wp_insert_post($postdata); 108 108 if ( is_wp_error( $post_id ) ) { -
wp-admin/import/opml.php
81 81 ?> 82 82 <div class="wrap"> 83 83 84 <h2><?php _e('Importing ...') ?></h2>84 <h2><?php _e('Importing…') ?></h2> 85 85 <?php 86 86 $cat_id = abs( (int) $_POST['cat_id'] ); 87 87 if ( $cat_id < 1 ) -
wp-admin/import/rss.php
118 118 echo '<ol>'; 119 119 120 120 foreach ($this->posts as $post) { 121 echo "<li>".__('Importing post ...');121 echo "<li>".__('Importing post…'); 122 122 123 123 extract($post); 124 124 -
wp-admin/import/wp-cat2tag.php
252 252 echo '<li>' . sprintf( __('Category %s doesn\'t exist!'), $cat_id ) . "</li>\n"; 253 253 } else { 254 254 $category =& get_category($cat_id); 255 echo '<li>' . sprintf(__('Converting category <strong>%s</strong> ...'), $category->name);255 echo '<li>' . sprintf(__('Converting category <strong>%s</strong> … '), $category->name); 256 256 257 257 // If the category is the default, leave category in place and create tag. 258 258 if ( $default_cat == $category->term_id ) { … … 362 362 $tag_id = (int) $tag_id; 363 363 364 364 if ( $tag = get_term( $tag_id, 'post_tag' ) ) { 365 printf('<li>' . __('Converting tag <strong>%s</strong> ...'), $tag->name);365 printf('<li>' . __('Converting tag <strong>%s</strong> … '), $tag->name); 366 366 367 367 if ( $cat_ttid = $wpdb->get_var( $wpdb->prepare("SELECT term_taxonomy_id FROM $wpdb->term_taxonomy WHERE term_id = %d AND taxonomy = 'category'", $tag->term_id) ) ) { 368 368 $objects_ids = get_objects_in_term($tag->term_id, 'post_tag'); -
wp-admin/import/mt.php
251 251 printf(__('Post <em>%s</em> already exists.'), stripslashes($post->post_title)); 252 252 } else { 253 253 echo '<li>'; 254 printf(__('Importing post <em>%s</em> ...'), stripslashes($post->post_title));254 printf(__('Importing post <em>%s</em>…'), stripslashes($post->post_title)); 255 255 256 256 if ( '' != trim( $post->extended ) ) 257 257 $post->post_content .= "\n<!--more-->\n$post->extended"; … … 269 269 // Add tags or keywords 270 270 if ( 1 < strlen($post->post_keywords) ) { 271 271 // Keywords exist. 272 printf(__('<br />Adding tags <i>%s</i> ...'), stripslashes($post->post_keywords));272 printf(__('<br />Adding tags <i>%s</i>…'), stripslashes($post->post_keywords)); 273 273 wp_add_post_tags($post_id, $post->post_keywords); 274 274 } 275 275 } -
wp-admin/import/blogger.php
192 192 //echo '<pre>'.print_r($this,1).'</pre>'; 193 193 $start = js_escape( __('Import') ); 194 194 $continue = js_escape( __('Continue') ); 195 $stop = js_escape( __('Importing ...') );195 $stop = js_escape( __('Importing…') ); 196 196 $authors = js_escape( __('Set Authors') ); 197 $loadauth = js_escape( __('Preparing author mapping form ...') );197 $loadauth = js_escape( __('Preparing author mapping form…') ); 198 198 $authhead = js_escape( __('Final Step: Author Mapping') ); 199 199 $nothing = js_escape( __('Nothing was imported. Had you already imported this blog?') ); 200 200 $title = __('Blogger Blogs'); -
wp-admin/import/textpattern.php
177 177 // Do the Magic 178 178 if(is_array($categories)) 179 179 { 180 echo '<p>'.__('Importing Categories ...').'<br /><br /></p>';180 echo '<p>'.__('Importing Categories…').'<br /><br /></p>'; 181 181 foreach ($categories as $category) 182 182 { 183 183 $count++; … … 218 218 // Midnight Mojo 219 219 if(is_array($users)) 220 220 { 221 echo '<p>'.__('Importing Users ...').'<br /><br /></p>';221 echo '<p>'.__('Importing Users…').'<br /><br /></p>'; 222 222 foreach($users as $user) 223 223 { 224 224 $count++; … … 293 293 // Do the Magic 294 294 if(is_array($posts)) 295 295 { 296 echo '<p>'.__('Importing Posts ...').'<br /><br /></p>';296 echo '<p>'.__('Importing Posts…').'<br /><br /></p>'; 297 297 foreach($posts as $post) 298 298 { 299 299 $count++; … … 382 382 // Magic Mojo 383 383 if(is_array($comments)) 384 384 { 385 echo '<p>'.__('Importing Comments ...').'<br /><br /></p>';385 echo '<p>'.__('Importing Comments…').'<br /><br /></p>'; 386 386 foreach($comments as $comment) 387 387 { 388 388 $count++; … … 450 450 // Deal with the links 451 451 if(is_array($links)) 452 452 { 453 echo '<p>'.__('Importing Links ...').'<br /><br /></p>';453 echo '<p>'.__('Importing Links…').'<br /><br /></p>'; 454 454 foreach($links as $link) 455 455 { 456 456 $count++; … … 586 586 echo '<h3>'.__('Preserving Authors').'</h3>'; 587 587 echo '<p>'.__('Secondly, we have attempted to preserve post authors. If you are the only author or contributor to your blog, then you are safe. In most cases, we are successful in this preservation endeavor. However, if we cannot ascertain the name of the writer due to discrepancies between database tables, we assign it to you, the administrative user.').'</p>'; 588 588 echo '<h3>'.__('Textile').'</h3>'; 589 echo '<p>'.__('Also, since you’re coming from Textpattern, you probably have been using Textile to format your comments and posts. If this is the case, we recommend downloading and installing <a href="http://www.huddledmasses.org/category/development/wordpress/textile/">Textile for WordPress</a>. Trust me ...You’ll want it.').'</p>';589 echo '<p>'.__('Also, since you’re coming from Textpattern, you probably have been using Textile to format your comments and posts. If this is the case, we recommend downloading and installing <a href="http://www.huddledmasses.org/category/development/wordpress/textile/">Textile for WordPress</a>. Trust me… You’ll want it.').'</p>'; 590 590 echo '<h3>'.__('WordPress Resources').'</h3>'; 591 591 echo '<p>'.__('Finally, there are numerous WordPress resources around the internet. Some of them are:').'</p>'; 592 592 echo '<ul>'; -
wp-admin/import/greymatter.php
108 108 109 109 $this->header(); 110 110 ?> 111 <p><?php _e('The importer is running ...') ?></p>111 <p><?php _e('The importer is running…') ?></p> 112 112 <ul> 113 <li><?php _e('importing users ...') ?><ul><?php113 <li><?php _e('importing users…') ?><ul><?php 114 114 115 115 chdir($gmpath); 116 116 $userbase = file("gm-authors.cgi"); … … 143 143 $user_id = wp_insert_user($user_info); 144 144 $this->gmnames[$userdata[0]] = $user_id; 145 145 146 printf('<li>'.__('user %s ...').' <strong>'.__('Done').'</strong></li>', "<em>$user_login</em>");146 printf('<li>'.__('user %s…').' <strong>'.__('Done').'</strong></li>', "<em>$user_login</em>"); 147 147 } 148 148 149 149 ?></ul><strong><?php _e('Done') ?></strong></li> 150 <li><?php _e('importing posts, comments, and karma ...') ?><br /><ul><?php150 <li><?php _e('importing posts, comments, and karma…') ?><br /><ul><?php 151 151 152 152 chdir($archivespath); 153 153 … … 291 291 printf( _n( 'ignored %s pre-existing comment', 'ignored %s pre-existing comments', $preExisting ) , $preExisting); 292 292 } 293 293 } 294 echo ' ...<strong>'.__('Done').'</strong></li>';294 echo '… <strong>'.__('Done').'</strong></li>'; 295 295 } 296 296 } 297 297 do_action('import_done', 'greymatter'); -
wp-admin/import/wordpress.php
445 445 return $post_id; 446 446 } 447 447 else { 448 printf(__('Importing post <em>%s</em> ...'), stripslashes($post_title));448 printf(__('Importing post <em>%s</em>…'), stripslashes($post_title)); 449 449 $comment_post_ID = $post_id = wp_insert_post($postdata); 450 450 } 451 451 … … 557 557 558 558 function process_attachment($postdata, $remote_url) { 559 559 if ($this->fetch_attachments and $remote_url) { 560 printf( __('Importing attachment <em>%s</em> ...'), htmlspecialchars($remote_url) );560 printf( __('Importing attachment <em>%s</em>… '), htmlspecialchars($remote_url) ); 561 561 562 562 // If the URL is absolute, but does not contain http, upload it assuming the base_site_url variable 563 563 if ( preg_match('/^\/[\w\W]+$/', $remote_url) ) -
wp-admin/upload.php
81 81 82 82 if ( $post_del->post_type == 'attachment' ) 83 83 if ( ! wp_delete_attachment($post_id_del) ) 84 wp_die( __('Error in deleting...') );84 wp_die( __('Error deleting attachment.') ); 85 85 } 86 86 87 87 $location = 'upload.php'; -
wp-admin/tools.php
26 26 <div id="gears-msg1"> 27 27 <h3 class="title"><?php _e('Turbo:'); ?> <?php _e('Speed up WordPress'); ?></h3> 28 28 <p><?php _e('WordPress now has support for Gears, which adds new features to your web browser.'); ?><br /> 29 <a href="http://gears.google.com/" target="_blank" style="font-weight:normal;"><?php _e('More information ...'); ?></a></p>29 <a href="http://gears.google.com/" target="_blank" style="font-weight:normal;"><?php _e('More information…'); ?></a></p> 30 30 <p><?php _e('After you install and enable Gears, most of WordPress’ images, scripts, and CSS files will be stored locally on your computer. This speeds up page load time.'); ?></p> 31 31 <p><strong><?php _e('Don’t install on a public or shared computer.'); ?></strong></p> 32 32 <div class="buttons"><button onclick="window.location = 'http://gears.google.com/?action=install&return=<?php echo urlencode( admin_url() ); ?>';" class="button"><?php _e('Install Now'); ?></button></div> -
wp-admin/edit.php
34 34 35 35 if ( $post_del->post_type == 'attachment' ) { 36 36 if ( ! wp_delete_attachment($post_id_del) ) 37 wp_die( __('Error in deleting...') );37 wp_die( __('Error deleting attachment.') ); 38 38 } else { 39 39 if ( !wp_delete_post($post_id_del) ) 40 wp_die( __('Error in deleting...') );40 wp_die( __('Error deleting post.') ); 41 41 } 42 42 $deleted++; 43 43 } -
wp-admin/press-this.php
395 395 return false; 396 396 break; 397 397 case 'photo' : 398 jQuery('#extra_fields').before('<p id="waiting"><img src="images/loading.gif" alt="" /> <?php echo js_escape( __( 'Loading ...' ) ); ?></p>');398 jQuery('#extra_fields').before('<p id="waiting"><img src="images/loading.gif" alt="" /> <?php echo js_escape( __( 'Loading…' ) ); ?></p>'); 399 399 jQuery.ajax({ 400 400 type: "GET", 401 401 cache : false, -
wp-admin/setup-config.php
114 114 <tr> 115 115 <th scope="row"><label for="pwd">Password</label></th> 116 116 <td><input name="pwd" id="pwd" type="text" size="25" value="password" /></td> 117 <td> ...and MySQL password.</td>117 <td>…and MySQL password.</td> 118 118 </tr> 119 119 <tr> 120 120 <th scope="row"><label for="dbhost">Database Host</label></th> -
wp-admin/link-manager.php
172 172 if ('/' == substr($short_url, -1)) 173 173 $short_url = substr($short_url, 0, -1); 174 174 if (strlen($short_url) > 35) 175 $short_url = substr($short_url, 0, 32).' ...';175 $short_url = substr($short_url, 0, 32).'…'; 176 176 $visible = ($link->link_visible == 'Y') ? __('Yes') : __('No'); 177 177 $style = ($alt % 2) ? '' : ' class="alternate"'; 178 178 ++ $alt; -
wp-admin/page.php
167 167 168 168 if ( $page->post_type == 'attachment' ) { 169 169 if ( ! wp_delete_attachment($page_id) ) 170 wp_die( __('Error in deleting...') );170 wp_die( __('Error deleting attachment.') ); 171 171 } else { 172 172 if ( !wp_delete_post($page_id) ) 173 wp_die( __('Error in deleting...') );173 wp_die( __('Error deleting post.') ); 174 174 } 175 175 176 176 $sendback = wp_get_referer(); -
wp-admin/plugin-editor.php
114 114 $functions = wp_doc_link_parse( $content ); 115 115 116 116 $docs_select = '<select name="docs-list" id="docs-list">'; 117 $docs_select .= '<option value="">' . __( 'Function Name ...' ) . '</option>';117 $docs_select .= '<option value="">' . __( 'Function Name…' ) . '</option>'; 118 118 foreach ( $functions as $function) { 119 119 $docs_select .= '<option value="' . attribute_escape( $function ) . '">' . htmlspecialchars( $function ) . '()</option>'; 120 120 } -
wp-admin/edit-pages.php
26 26 27 27 if ( $post_del->post_type == 'attachment' ) { 28 28 if ( ! wp_delete_attachment($post_id_del) ) 29 wp_die( __('Error in deleting...') );29 wp_die( __('Error deleting attachment.') ); 30 30 } else { 31 31 if ( !wp_delete_post($post_id_del) ) 32 wp_die( __('Error in deleting...') );32 wp_die( __('Error deleting post.') ); 33 33 } 34 34 $deleted++; 35 35 }