Ticket #9655: t9655-typography-quotes-apostrophes-r11110.diff
| File t9655-typography-quotes-apostrophes-r11110.diff, 72.5 KB (added by , 17 years ago) |
|---|
-
wp-admin/edit-attachment-rows.php
62 62 if ( $thumb = wp_get_attachment_image( $post->ID, array(80, 60), true ) ) { 63 63 ?> 64 64 65 <a href="media.php?action=edit&attachment_id=<?php the_ID(); ?>" title="<?php echo attr(sprintf(__('Edit "%s"'), $att_title)); ?>">65 <a href="media.php?action=edit&attachment_id=<?php the_ID(); ?>" title="<?php echo attr(sprintf(__('Edit “%s”'), $att_title)); ?>"> 66 66 <?php echo $thumb; ?> 67 67 </a> 68 68 … … 74 74 75 75 case 'media': 76 76 ?> 77 <td <?php echo $attributes ?>><strong><a href="<?php echo get_edit_post_link( $post->ID ); ?>" title="<?php echo attr(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br />77 <td <?php echo $attributes ?>><strong><a href="<?php echo get_edit_post_link( $post->ID ); ?>" title="<?php echo attr(sprintf(__('Edit “%s”'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br /> 78 78 <?php echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', get_attached_file($post->ID))); ?> 79 79 <p> 80 80 <?php … … 83 83 $actions['edit'] = '<a href="' . get_edit_post_link($post->ID, true) . '">' . __('Edit') . '</a>'; 84 84 if ( current_user_can('delete_post', $post->ID) ) 85 85 $actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("post.php?action=delete&post=$post->ID", 'delete-post_' . $post->ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this attachment '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this attachment '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete') . "</a>"; 86 $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attr(sprintf(__('View "%s"'), $title)) . '" rel="permalink">' . __('View') . '</a>';86 $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attr(sprintf(__('View “%s”'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 87 87 $action_count = count($actions); 88 88 $i = 0; 89 89 echo '<div class="row-actions">'; … … 182 182 case 'actions': 183 183 ?> 184 184 <td <?php echo $attributes ?>> 185 <a href="media.php?action=edit&attachment_id=<?php the_ID(); ?>" title="<?php echo attr(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php _e('Edit'); ?></a> |185 <a href="media.php?action=edit&attachment_id=<?php the_ID(); ?>" title="<?php echo attr(sprintf(__('Edit “%s”'), $att_title)); ?>"><?php _e('Edit'); ?></a> | 186 186 <a href="<?php the_permalink(); ?>"><?php _e('Get permalink'); ?></a> 187 187 </td> 188 188 <?php -
wp-admin/import/blogger.php
203 203 $action = __('The Magic Button'); 204 204 $posts = __('Posts'); 205 205 $comments = __('Comments'); 206 $noscript = __('This feature requires Javascript but it seems to be disabled. Please enable Javascript and then reload this page. Don \'t worry, you can turn it back off when you\'re done.');206 $noscript = __('This feature requires Javascript but it seems to be disabled. Please enable Javascript and then reload this page. Don’t worry, you can turn it back off when you’re done.'); 207 207 208 208 $interval = STATUS_INTERVAL * 1000; 209 209 … … 652 652 $this->save_vars(); 653 653 } 654 654 655 $directions = __('All posts were imported with the current user as author. Use this form to move each Blogger user \'s posts to a different WordPress user. You may <a href="users.php">add users</a> and then return to this page and complete the user mapping. This form may be used as many times as you like until you activate the "Restart"function below.');655 $directions = __('All posts were imported with the current user as author. Use this form to move each Blogger user’s posts to a different WordPress user. You may <a href="users.php">add users</a> and then return to this page and complete the user mapping. This form may be used as many times as you like until you activate the “Restart” function below.'); 656 656 $heading = __('Author mapping'); 657 657 $blogtitle = "{$blog['title']} ({$blog['host']})"; 658 658 $mapthis = __('Blogger username'); … … 795 795 $blog = (int) $_GET['blog']; 796 796 echo '<h1>'.__('Congratulations!').'</h1><p>'.__('Now that you have imported your Blogger blog into WordPress, what are you going to do? Here are some suggestions:').'</p><ul><li>'.__('That was hard work! Take a break.').'</li>'; 797 797 if ( count($this->import['blogs']) > 1 ) 798 echo '<li>'.__('In case you haven \'t done it already, you can import the posts from your other blogs:'). $this->show_blogs() . '</li>';798 echo '<li>'.__('In case you haven’t done it already, you can import the posts from your other blogs:'). $this->show_blogs() . '</li>'; 799 799 if ( $n = count($this->import['blogs'][$blog]['newusers']) ) 800 800 echo '<li>'.sprintf(__('Go to <a href="%s" target="%s">Authors & Users</a>, where you can modify the new user(s) or delete them. If you want to make all of the imported posts yours, you will be given that option when you delete the new authors.'), 'users.php', '_parent').'</li>'; 801 801 echo '<li>'.__('For security, click the link below to reset this importer.').'</li>'; -
wp-admin/import/blogware.php
109 109 return $post_id; 110 110 } 111 111 if (!$post_id) { 112 _e( "Couldn't get post ID");112 _e('Couldn’t get post ID'); 113 113 echo '</li>'; 114 114 break; 115 115 } -
wp-admin/import/dotclear.php
710 710 { 711 711 echo '<p>'.__('Welcome to WordPress. We hope (and expect!) that you will find this platform incredibly rewarding! As a new WordPress user coming from DotClear, there are some things that we would like to point out. Hopefully, they will help your transition go as smoothly as possible.').'</p>'; 712 712 echo '<h3>'.__('Users').'</h3>'; 713 echo '<p>'.sprintf(__('You have already setup WordPress and have been assigned an administrative login and password. Forget it. You didn \'t have that login in DotClear, why should you have it here? Instead we have taken care to import all of your users into our system. Unfortunately there is one downside. Because both WordPress and DotClear uses a strong encryption hash with passwords, it is impossible to decrypt it and we are forced to assign temporary passwords to all your users. <strong>Every user has the same username, but their passwords are reset to password123.</strong> So <a href="%1$s">Login</a> and change it.'), '/wp-login.php').'</p>';713 echo '<p>'.sprintf(__('You have already setup WordPress and have been assigned an administrative login and password. Forget it. You didn’t have that login in DotClear, why should you have it here? Instead we have taken care to import all of your users into our system. Unfortunately there is one downside. Because both WordPress and DotClear uses a strong encryption hash with passwords, it is impossible to decrypt it and we are forced to assign temporary passwords to all your users. <strong>Every user has the same username, but their passwords are reset to password123.</strong> So <a href="%1$s">Login</a> and change it.'), '/wp-login.php').'</p>'; 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>'; … … 722 722 echo '<li>'.__('<a href="http://wordpress.org/support/">The WordPress support forums</a>').'</li>'; 723 723 echo '<li>'.__('<a href="http://codex.wordpress.org">The Codex (In other words, the WordPress Bible)</a>').'</li>'; 724 724 echo '</ul>'; 725 echo '<p>'.sprintf(__('That \'s it! What are you waiting for? Go <a href="%1$s">login</a>!'), '../wp-login.php').'</p>';725 echo '<p>'.sprintf(__('That’s it! What are you waiting for? Go <a href="%1$s">login</a>!'), '../wp-login.php').'</p>'; 726 726 } 727 727 728 728 function db_form() -
wp-admin/import/greymatter.php
61 61 <td><input type="text" style="width:300px" name="archivespath" id="archivespath" value="/home/my/site/cgi-bin/greymatter/archives/" /></td> 62 62 </tr> 63 63 <tr> 64 <td><label for="lastentry"><?php _e( "Last entry's number:") ?></label></td>64 <td><label for="lastentry"><?php _e('Last entry’s number:') ?></label></td> 65 65 <td><input type="text" name="lastentry" id="lastentry" value="00000001" /><br /> 66 <?php _e( "This importer will search for files 00000001.cgi to 000-whatever.cgi,<br />so you need to enter the number of the last GM post here.<br />(if you don't know that number, just log into your FTP and look it out<br />in the entries' folder)") ?></td>66 <?php _e('This importer will search for files 00000001.cgi to 000-whatever.cgi,<br />so you need to enter the number of the last GM post here.<br />(if you don’t know that number, just log into your FTP and look it out<br />in the entries’ folder)') ?></td> 67 67 </tr> 68 68 </table> 69 69 <p class="submit"><input type="submit" name="submit" class="button" value="<?php _e('Start Importing') ?>" /></p> -
wp-admin/import/livejournal.php
209 209 </table> 210 210 211 211 <p><?php _e( 'If you have any entries on LiveJournal which are marked as private, they will be password-protected when they are imported so that only people who know the password can see them.' ) ?></p> 212 <p><?php _e( "If you don't enter a password, ALL ENTRIES from your LiveJournal will be imported as public posts in WordPress.") ?></p>212 <p><?php _e( 'If you don’t enter a password, ALL ENTRIES from your LiveJournal will be imported as public posts in WordPress.' ) ?></p> 213 213 <p><?php _e( 'Enter the password you would like to use for all protected entries here:' ) ?></p> 214 214 <table class="form-table"> 215 215 … … 383 383 return $post_id; 384 384 } 385 385 if ( !$post_id ) { 386 _e( "Couldn't get post ID (creating post failed!)");386 _e( 'Couldn’t get post ID (creating post failed!)' ); 387 387 echo '</li>'; 388 388 return new WP_Error( 'insert_post_failed', __( 'Failed to create post.' ) ); 389 389 } … … 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; … … 801 801 if ( 406 == $this->ixr->getErrorCode() ) { 802 802 ?> 803 803 <p><strong><?php _e( 'Uh oh – LiveJournal has disconnected us because we made too many requests to their servers too quickly.' ) ?></strong></p> 804 <p><strong><?php _e( "We've saved where you were up to though, so if you come back to this importer in about 30 minutes, you should be able to continue from where you were.") ?></strong></p>804 <p><strong><?php _e( 'We’ve saved where you were up to though, so if you come back to this importer in about 30 minutes, you should be able to continue from where you were.' ) ?></strong></p> 805 805 <?php 806 806 echo $this->next_step( 1, __( 'Try Again' ) ); 807 807 return false; … … 821 821 <?php $this->auto_ajax( 'ljapi-auto-repost', 'auto-message', 0 ); ?> 822 822 <?php 823 823 } else { 824 echo '<p>' . __( "Your posts have all been imported, but wait - there's more! Now we need to download & import your comments.") . '</p>';824 echo '<p>' . __( 'Your posts have all been imported, but wait – there’s more! Now we need to download & import your comments.' ) . '</p>'; 825 825 echo $this->next_step( 2, __( 'Download my comments »' ) ); 826 826 $this->auto_submit(); 827 827 } -
wp-admin/import/mt.php
36 36 $this->header(); 37 37 ?> 38 38 <div class="narrow"> 39 <p><?php _e('Howdy! We’re about to begin importing all of your Movable Type or Typepad entries into WordPress. To begin, either choose a file to upload and click "Upload file and import,"or use FTP to upload your MT export file as <code>mt-export.txt</code> in your <code>/wp-content/</code> directory and then click "Import mt-export.txt"'); ?></p>39 <p><?php _e('Howdy! We’re about to begin importing all of your Movable Type or Typepad entries into WordPress. To begin, either choose a file to upload and click “Upload file and import”, or use FTP to upload your MT export file as <code>mt-export.txt</code> in your <code>/wp-content/</code> directory and then click "Import mt-export.txt"'); ?></p> 40 40 41 41 <?php wp_import_upload_form( add_query_arg('step', 1) ); ?> 42 42 <form method="post" action="<?php echo attr(add_query_arg('step', 1)); ?>" class="import-upload-form"> … … 49 49 <input type="submit" class="button" value="<?php echo attr(__('Import mt-export.txt')); ?>" /> 50 50 </p> 51 51 </form> 52 <p><?php _e('The importer is smart enough not to import duplicates, so you can run this multiple times without worry if—for whatever reason—it doesn \'t finish. If you get an <strong>out of memory</strong> error try splitting up the import file into pieces.'); ?> </p>52 <p><?php _e('The importer is smart enough not to import duplicates, so you can run this multiple times without worry if—for whatever reason—it doesn’t finish. If you get an <strong>out of memory</strong> error try splitting up the import file into pieces.'); ?> </p> 53 53 </div> 54 54 <?php 55 55 $this->footer(); … … 194 194 <div class="wrap"> 195 195 <?php screen_icon(); ?> 196 196 <h2><?php _e('Assign Authors'); ?></h2> 197 <p><?php _e('To make it easier for you to edit and save the imported posts and drafts, you may want to change the name of the author of the posts. For example, you may want to import all the entries as admin \'s entries.'); ?></p>197 <p><?php _e('To make it easier for you to edit and save the imported posts and drafts, you may want to change the name of the author of the posts. For example, you may want to import all the entries as admin’s entries.'); ?></p> 198 198 <p><?php _e('Below, you can see the names of the authors of the MovableType posts in <em>italics</em>. For each of these names, you can either pick an author in your WordPress installation from the menu, or enter a name for the author in the textbox.'); ?></p> 199 <p><?php _e('If a new user is created by WordPress, a password will be randomly generated. Manually change the user \'s details if necessary.'); ?></p>199 <p><?php _e('If a new user is created by WordPress, a password will be randomly generated. Manually change the user’s details if necessary.'); ?></p> 200 200 <?php 201 201 202 202 -
wp-admin/import/rss.php
129 129 if ( is_wp_error( $post_id ) ) 130 130 return $post_id; 131 131 if (!$post_id) { 132 _e( "Couldn't get post ID");132 _e('Couldn’t get post ID'); 133 133 return; 134 134 } 135 135 -
wp-admin/import/wordpress.php
203 203 <p><?php _e('To make it easier for you to edit and save the imported posts and drafts, you may want to change the name of the author of the posts. For example, you may want to import all the entries as <code>admin</code>s entries.'); ?></p> 204 204 <?php 205 205 if ( $this->allow_create_users() ) { 206 echo '<p>'.__('If a new user is created by WordPress, a password will be randomly generated. Manually change the user \'s details if necessary.')."</p>\n";206 echo '<p>'.__('If a new user is created by WordPress, a password will be randomly generated. Manually change the user’s details if necessary.')."</p>\n"; 207 207 } 208 208 209 209 -
wp-admin/import/wp-cat2tag.php
143 143 screen_icon(); 144 144 echo '<h2>' . sprintf( _n( 'Convert Tag to Category.', 'Convert Tags (%d) to Categories.', $tags_num ), $tags_num ) . '</h2>'; 145 145 echo '<div class="narrow">'; 146 echo '<p>' . __('Here you can selectively convert sexisting tags to categories. To get started, check the tags you wish to be converted, then click the Convert button.') . '</p>';146 echo '<p>' . __('Here you can selectively convert existing tags to categories. To get started, check the tags you wish to be converted, then click the Convert button.') . '</p>'; 147 147 echo '<p>' . __('The newly created categories will still be associated with the same posts.') . '</p></div>'; 148 148 149 149 $this->tags_form(); … … 249 249 $cat_id = (int) $cat_id; 250 250 251 251 if ( ! $this->_category_exists($cat_id) ) { 252 echo '<li>' . sprintf( __('Category %s doesn \'t exist!'), $cat_id ) . "</li>\n";252 echo '<li>' . sprintf( __('Category %s doesn’t exist!'), $cat_id ) . "</li>\n"; 253 253 } else { 254 254 $category =& get_category($cat_id); 255 255 echo '<li>' . sprintf(__('Converting category <strong>%s</strong> ... '), $category->name); … … 406 406 echo __('Converted successfully.') . "</li>\n"; 407 407 408 408 } else { 409 printf( '<li>' . __('Tag #%s doesn \'t exist!') . "</li>\n", $tag_id );409 printf( '<li>' . __('Tag #%s doesn’t exist!') . "</li>\n", $tag_id ); 410 410 } 411 411 } 412 412 -
wp-admin/includes/class-wp-upgrader.php
936 936 $activate_link = wp_nonce_url("themes.php?action=activate&template=" . urlencode($template) . "&stylesheet=" . urlencode($stylesheet), 'switch-theme_' . $template); 937 937 938 938 $install_actions = array( 939 'preview' => '<a href="' . $preview_link . '" class="thickbox thickbox-preview" title="' . attr(sprintf(__('Preview "%s"'), $name)) . '">' . __('Preview') . '</a>',940 'activate' => '<a href="' . $activate_link . '" class="activatelink" title="' . attr( sprintf( __('Activate "%s"'), $name ) ) . '">' . __('Activate') . '</a>'939 'preview' => '<a href="' . $preview_link . '" class="thickbox thickbox-preview" title="' . attr(sprintf(__('Preview “%s”'), $name)) . '">' . __('Preview') . '</a>', 940 'activate' => '<a href="' . $activate_link . '" class="activatelink" title="' . attr( sprintf( __('Activate “%s”'), $name ) ) . '">' . __('Activate') . '</a>' 941 941 ); 942 942 943 943 if ( $this->type == 'web' ) … … 995 995 $activate_link = wp_nonce_url("themes.php?action=activate&template=" . urlencode($template) . "&stylesheet=" . urlencode($stylesheet), 'switch-theme_' . $template); 996 996 997 997 $update_actions = array( 998 'preview' => '<a href="' . $preview_link . '" class="thickbox thickbox-preview" title="' . attr(sprintf(__('Preview "%s"'), $name)) . '">' . __('Preview') . '</a>',999 'activate' => '<a href="' . $activate_link . '" class="activatelink" title="' . attr( sprintf( __('Activate "%s"'), $name ) ) . '">' . __('Activate') . '</a>',998 'preview' => '<a href="' . $preview_link . '" class="thickbox thickbox-preview" title="' . attr(sprintf(__('Preview “%s”'), $name)) . '">' . __('Preview') . '</a>', 999 'activate' => '<a href="' . $activate_link . '" class="activatelink" title="' . attr( sprintf( __('Activate “%s”'), $name ) ) . '">' . __('Activate') . '</a>', 1000 1000 'themes_page' => '<a href="' . admin_url('themes.php') . '" title="' . attr(__('Return to Themes page')) . '" target="_parent">' . __('Return to Themes page') . '</a>', 1001 1001 ); 1002 1002 if ( ( ! $this->result || is_wp_error($this->result) ) || $stylesheet == get_stylesheet() ) -
wp-admin/includes/dashboard.php
432 432 foreach ( $drafts as $draft ) { 433 433 $url = get_edit_post_link( $draft->ID ); 434 434 $title = _draft_or_post_title( $draft->ID ); 435 $item = "<h4><a href='$url' title='" . sprintf( __( 'Edit "%s"' ), attr( $title ) ) . "'>$title</a> <abbr title='" . get_the_time(__('Y/m/d g:i:s A'), $draft) . "'>" . get_the_time( get_option( 'date_format' ), $draft ) . '</abbr></h4>';435 $item = "<h4><a href='$url' title='" . sprintf( __( 'Edit “%s”' ), attr( $title ) ) . "'>$title</a> <abbr title='" . get_the_time(__('Y/m/d g:i:s A'), $draft) . "'>" . get_the_time( get_option( 'date_format' ), $draft ) . '</abbr></h4>'; 436 436 if ( $the_content = preg_split( '#\s#', strip_tags( $draft->post_content ), 11, PREG_SPLIT_NO_EMPTY ) ) 437 437 $item .= '<p>' . join( ' ', array_slice( $the_content, 0, 10 ) ) . ( 10 < count( $the_content ) ? '…' : '' ) . '</p>'; 438 438 $list[] = $item; -
wp-admin/includes/file.php
194 194 195 195 switch ( $code ) { 196 196 case 1 : 197 wp_die( __('Sorry, can’t edit files with ".."in the name. If you are trying to edit a file in your WordPress home directory, you can just type the name of the file in.' ));197 wp_die( __('Sorry, can’t edit files with “..” in the name. If you are trying to edit a file in your WordPress home directory, you can just type the name of the file in.' )); 198 198 199 199 case 2 : 200 200 wp_die( __('Sorry, can’t call files with their real path.' )); -
wp-admin/includes/image.php
137 137 $file = get_attached_file( $file ); 138 138 139 139 if ( ! file_exists( $file ) ) 140 return sprintf(__( "File '%s' doesn't exist?"), $file);140 return sprintf(__('File “%s” doesn’t exist?'), $file); 141 141 142 142 if ( ! function_exists('imagecreatefromstring') ) 143 143 return __('The GD image library is not installed.'); … … 147 147 $image = imagecreatefromstring( file_get_contents( $file ) ); 148 148 149 149 if ( !is_resource( $image ) ) 150 return sprintf(__( "File '%s' is not an image."), $file);150 return sprintf(__('File “%s” is not an image.'), $file); 151 151 152 152 return $image; 153 153 } -
wp-admin/includes/media.php
1842 1842 1843 1843 if ( apply_filters( 'disable_captions', '' ) ) { 1844 1844 $alt = __('Alternate Text'); 1845 $alt_help = __('Alt text for the image, e.g. "The Mona Lisa"');1845 $alt_help = __('Alt text for the image, e.g. “The Mona Lisa”'); 1846 1846 } else { 1847 1847 $alt = __('Image Caption'); 1848 1848 $alt_help = __('Also used as alternate text for the image'); … … 1938 1938 </th> 1939 1939 <td class="field"><input id="insertonly[title]" name="insertonly[title]" value="" type="text" aria-required="true"></td> 1940 1940 </tr> 1941 <tr><td></td><td class="help">' . __('Link text, e.g. "Still Alive by Jonathan Coulton"') . '</td></tr>1941 <tr><td></td><td class="help">' . __('Link text, e.g. “Still Alive by Jonathan Coulton”') . '</td></tr> 1942 1942 <tr> 1943 1943 <td></td> 1944 1944 <td> … … 1973 1973 </th> 1974 1974 <td class="field"><input id="insertonly[title]" name="insertonly[title]" value="" type="text" aria-required="true"></td> 1975 1975 </tr> 1976 <tr><td></td><td class="help">' . __('Link text, e.g. "Lucy on YouTube"') . '</td></tr>1976 <tr><td></td><td class="help">' . __('Link text, e.g. “Lucy on YouTube“') . '</td></tr> 1977 1977 <tr> 1978 1978 <td></td> 1979 1979 <td> … … 2008 2008 </th> 2009 2009 <td class="field"><input id="insertonly[title]" name="insertonly[title]" value="" type="text" aria-required="true"></td> 2010 2010 </tr> 2011 <tr><td></td><td class="help">' . __('Link text, e.g. "Ransom Demands (PDF)"') . '</td></tr>2011 <tr><td></td><td class="help">' . __('Link text, e.g. “Ransom Demands (PDF)”') . '</td></tr> 2012 2012 <tr> 2013 2013 <td></td> 2014 2014 <td> -
wp-admin/includes/template.php
118 118 $name = ( $name_override ? $name_override : $pad . ' ' . $category->name ); 119 119 $edit_link = "categories.php?action=edit&cat_ID=$category->term_id"; 120 120 if ( current_user_can( 'manage_categories' ) ) { 121 $edit = "<a class='row-title' href='$edit_link' title='" . attr(sprintf(__('Edit "%s"'), $category->name)) . "'>" . attr( $name ) . '</a><br />';121 $edit = "<a class='row-title' href='$edit_link' title='" . attr(sprintf(__('Edit “%s”'), $category->name)) . "'>" . attr( $name ) . '</a><br />'; 122 122 $actions = array(); 123 123 $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>'; 124 124 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __('Quick Edit') . '</a>'; … … 289 289 $name = ( $name_override ? $name_override : $category->name ); 290 290 $edit_link = "link-category.php?action=edit&cat_ID=$category->term_id"; 291 291 if ( current_user_can( 'manage_categories' ) ) { 292 $edit = "<a class='row-title' href='$edit_link' title='" . attr(sprintf(__('Edit "%s"'), $category->name)) . "'>$name</a><br />";292 $edit = "<a class='row-title' href='$edit_link' title='" . attr(sprintf(__('Edit “%s”'), $category->name)) . "'>$name</a><br />"; 293 293 $actions = array(); 294 294 $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>'; 295 295 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __('Quick Edit') . '</a>'; … … 649 649 $out .= '<th scope="row" class="check-column"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" /></th>'; 650 650 break; 651 651 case 'name': 652 $out .= '<td ' . $attributes . '><strong><a class="row-title" href="' . $edit_link . '" title="' . attr(sprintf(__('Edit "%s"'), $name)) . '">' . $name . '</a></strong><br />';652 $out .= '<td ' . $attributes . '><strong><a class="row-title" href="' . $edit_link . '" title="' . attr(sprintf(__('Edit “%s”'), $name)) . '">' . $name . '</a></strong><br />'; 653 653 $actions = array(); 654 654 $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>'; 655 655 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __('Quick Edit') . '</a>'; … … 1427 1427 case 'title': 1428 1428 $attributes = 'class="post-title column-title"' . $style; 1429 1429 ?> 1430 <td <?php echo $attributes ?>><strong><?php if ( current_user_can( 'edit_post', $post->ID ) ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo attr(sprintf(__('Edit "%s"'), $title)); ?>"><?php echo $title ?></a><?php } else { echo $title; }; _post_states($post); ?></strong>1430 <td <?php echo $attributes ?>><strong><?php if ( current_user_can( 'edit_post', $post->ID ) ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo attr(sprintf(__('Edit “%s”'), $title)); ?>"><?php echo $title ?></a><?php } else { echo $title; }; _post_states($post); ?></strong> 1431 1431 <?php 1432 1432 if ( 'excerpt' == $mode ) 1433 1433 the_excerpt(); … … 1440 1440 } 1441 1441 if ( in_array($post->post_status, array('pending', 'draft')) ) { 1442 1442 if ( current_user_can('edit_post', $post->ID) ) 1443 $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attr(sprintf(__('Preview "%s"'), $title)) . '" rel="permalink">' . __('Preview') . '</a>';1443 $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attr(sprintf(__('Preview “%s”'), $title)) . '" rel="permalink">' . __('Preview') . '</a>'; 1444 1444 } else { 1445 $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attr(sprintf(__('View "%s"'), $title)) . '" rel="permalink">' . __('View') . '</a>';1445 $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attr(sprintf(__('View “%s”'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 1446 1446 } 1447 1447 $actions = apply_filters('post_row_actions', $actions, $post); 1448 1448 $action_count = count($actions); … … 1643 1643 $attributes = 'class="post-title page-title column-title"' . $style; 1644 1644 $edit_link = get_edit_post_link( $page->ID ); 1645 1645 ?> 1646 <td <?php echo $attributes ?>><strong><?php if ( current_user_can( 'edit_post', $page->ID ) ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo attr(sprintf(__('Edit "%s"'), $title)); ?>"><?php echo $pad; echo $title ?></a><?php } else { echo $pad; echo $title; }; _post_states($page); echo isset($parent_name) ? ' | ' . __('Parent Page: ') . wp_specialchars($parent_name) : ''; ?></strong>1646 <td <?php echo $attributes ?>><strong><?php if ( current_user_can( 'edit_post', $page->ID ) ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo attr(sprintf(__('Edit “%s”'), $title)); ?>"><?php echo $pad; echo $title ?></a><?php } else { echo $pad; echo $title; }; _post_states($page); echo isset($parent_name) ? ' | ' . __('Parent Page: ') . wp_specialchars($parent_name) : ''; ?></strong> 1647 1647 <?php 1648 1648 $actions = array(); 1649 1649 if ( current_user_can('edit_page', $page->ID) ) { … … 1653 1653 } 1654 1654 if ( in_array($post->post_status, array('pending', 'draft')) ) { 1655 1655 if ( current_user_can('edit_page', $page->ID) ) 1656 $actions['view'] = '<a href="' . get_permalink($page->ID) . '" title="' . attr(sprintf(__('Preview "%s"'), $title)) . '" rel="permalink">' . __('Preview') . '</a>';1656 $actions['view'] = '<a href="' . get_permalink($page->ID) . '" title="' . attr(sprintf(__('Preview “%s”'), $title)) . '" rel="permalink">' . __('Preview') . '</a>'; 1657 1657 } else { 1658 $actions['view'] = '<a href="' . get_permalink($page->ID) . '" title="' . attr(sprintf(__('View "%s"'), $title)) . '" rel="permalink">' . __('View') . '</a>';1658 $actions['view'] = '<a href="' . get_permalink($page->ID) . '" title="' . attr(sprintf(__('View “%s”'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 1659 1659 } 1660 1660 $actions = apply_filters('page_row_actions', $actions, $page); 1661 1661 $action_count = count($actions); … … 3489 3489 $contextual_help = ''; 3490 3490 if ( isset($_wp_contextual_help[$screen]) ) { 3491 3491 if ( !empty($title) ) 3492 $contextual_help .= '<h5>' . sprintf(__('Get help with "%s"'), $title) . '</h5>';3492 $contextual_help .= '<h5>' . sprintf(__('Get help with “%s”'), $title) . '</h5>'; 3493 3493 else 3494 3494 $contextual_help .= '<h5>' . __('Get help with this page') . '</h5>'; 3495 3495 $contextual_help .= '<div class="metabox-prefs">' . $_wp_contextual_help[$screen] . "</div>\n"; -
wp-admin/includes/theme-install.php
301 301 if ( !is_array($actions) ) { 302 302 $actions = array(); 303 303 $actions[] = '<a href="' . admin_url('theme-install.php?tab=theme-information&theme=' . $theme->slug . 304 '&TB_iframe=true&tbWidth=500&tbHeight=350') . '" class="thickbox thickbox-preview onclick" title="' . attr(sprintf(__('Install "%s"'), $name)) . '">' . __('Install') . '</a>';305 $actions[] = '<a href="' . $preview_link . '" class="thickbox thickbox-preview onclick previewlink" title="' . attr(sprintf(__('Preview "%s"'), $name)) . '">' . __('Preview') . '</a>';304 '&TB_iframe=true&tbWidth=500&tbHeight=350') . '" class="thickbox thickbox-preview onclick" title="' . attr(sprintf(__('Install “%s”'), $name)) . '">' . __('Install') . '</a>'; 305 $actions[] = '<a href="' . $preview_link . '" class="thickbox thickbox-preview onclick previewlink" title="' . attr(sprintf(__('Preview “%s”'), $name)) . '">' . __('Preview') . '</a>'; 306 306 $actions = apply_filters('theme_install_action_links', $actions, $theme); 307 307 } 308 308 … … 310 310 ?> 311 311 <a class='thickbox thickbox-preview screenshot' 312 312 href='<? echo clean_url($preview_link); ?>' 313 title='<?php echo attr(sprintf(__('Preview "%s"'), $name)); ?>'>313 title='<?php echo attr(sprintf(__('Preview “%s”'), $name)); ?>'> 314 314 <img src='<?php echo clean_url($theme->screenshot_url); ?>' width='150' /> 315 315 </a> 316 316 <h3><?php echo $name ?></h3> -
wp-admin/includes/user.php
169 169 if ( empty ( $user->user_email ) ) { 170 170 $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please enter an e-mail address.' ), array( 'form-field' => 'email' ) ); 171 171 } elseif (!is_email( $user->user_email ) ) { 172 $errors->add( 'invalid_email', __( "<strong>ERROR</strong>: The e-mail address isn't correct."), array( 'form-field' => 'email' ) );172 $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The e-mail address isn’t correct.' ), array( 'form-field' => 'email' ) ); 173 173 } elseif ( ( $owner_id = email_exists($user->user_email) ) && $owner_id != $user->ID ) { 174 174 $errors->add( 'email_exists', __('<strong>ERROR</strong>: This email is already registered, please choose another one.'), array( 'form-field' => 'email' ) ); 175 175 } -
wp-admin/install.php
82 82 display_header(); 83 83 ?> 84 84 <h1><?php _e('Welcome'); ?></h1> 85 <p><?php printf(__('Welcome to the famous five minute WordPress installation process! You may want to browse the <a href="%s">ReadMe documentation</a> at your leisure. Otherwise, just fill in the information below and you \'ll be on your way to using the most extendable and powerful personal publishing platform in the world.'), '../readme.html'); ?></p>85 <p><?php printf(__('Welcome to the famous five minute WordPress installation process! You may want to browse the <a href="%s">ReadMe documentation</a> at your leisure. Otherwise, just fill in the information below and you’ll be on your way to using the most extendable and powerful personal publishing platform in the world.'), '../readme.html'); ?></p> 86 86 <!--<h2 class="step"><a href="install.php?step=1"><?php _e('First Step'); ?></a></h2>--> 87 87 88 88 <h1><?php _e('Information needed'); ?></h1> 89 <p><?php _e( "Please provide the following information. Don't worry, you can always change these settings later."); ?></p>89 <p><?php _e('Please provide the following information. Don’t worry, you can always change these settings later.'); ?></p> 90 90 91 91 92 92 -
wp-admin/link-manager.php
194 194 break; 195 195 case 'name': 196 196 197 echo "<td $attributes><strong><a class='row-title' href='$edit_link' title='" . attr(sprintf(__('Edit "%s"'), $link->link_name)) . "'>$link->link_name</a></strong><br />";197 echo "<td $attributes><strong><a class='row-title' href='$edit_link' title='" . attr(sprintf(__('Edit “%s”'), $link->link_name)) . "'>$link->link_name</a></strong><br />"; 198 198 $actions = array(); 199 199 $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>'; 200 200 $actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("link.php?action=delete&link_id=$link->link_id", 'delete-bookmark_' . $link->link_id) . "' onclick=\"if ( confirm('" . js_escape(sprintf( __("You are about to delete this link '%s'\n 'Cancel' to stop, 'OK' to delete."), $link->link_name )) . "') ) { return true;}return false;\">" . __('Delete') . "</a>"; -
wp-admin/options-discussion.php
127 127 <td><fieldset><legend class="hidden"><?php _e('Comment Moderation') ?></legend> 128 128 <p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" value="' . attr(get_option('comment_max_links')) . '" class="small-text" />' ) ?></label></p> 129 129 130 <p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></label></p>130 <p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so “press” will match “WordPress”.') ?></label></p> 131 131 <p> 132 132 <textarea name="moderation_keys" rows="10" cols="50" id="moderation_keys" class="large-text code"><?php form_option('moderation_keys'); ?></textarea> 133 133 </p> … … 136 136 <tr valign="top"> 137 137 <th scope="row"><?php _e('Comment Blacklist') ?></th> 138 138 <td><fieldset><legend class="hidden"><?php _e('Comment Blacklist') ?></legend> 139 <p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></label></p>139 <p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so “press” will match “WordPress”.') ?></label></p> 140 140 <p> 141 141 <textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php form_option('blacklist_keys'); ?></textarea> 142 142 </p> -
wp-admin/options-general.php
222 222 checked( $custom ); 223 223 echo '/> ' . __('Custom:') . ' </label><input type="text" name="date_format_custom" value="' . attr( get_option('date_format') ) . '" class="small-text" /> ' . date_i18n( get_option('date_format') ) . "\n"; 224 224 225 echo "\t<p>" . __('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click & quot;Save Changes" to update sample output.') . "</p>\n";225 echo "\t<p>" . __('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click “Save Changes” to update sample output.') . "</p>\n"; 226 226 ?> 227 227 </fieldset> 228 228 </td> -
wp-admin/options-writing.php
120 120 121 121 <?php else : ?> 122 122 123 <p><?php printf(__('WordPress is not notifying any <a href="http://codex.wordpress.org/Update_Services">Update Services</a> because of your blog \'s <a href="%s">privacy settings</a>.'), 'options-privacy.php'); ?></p>123 <p><?php printf(__('WordPress is not notifying any <a href="http://codex.wordpress.org/Update_Services">Update Services</a> because of your blog’s <a href="%s">privacy settings</a>.'), 'options-privacy.php'); ?></p> 124 124 125 125 <?php endif; ?> 126 126 -
wp-admin/page.php
98 98 $page_ID = $post_ID = $p = (int) $_GET['post']; 99 99 $post = get_post_to_edit($page_ID); 100 100 101 if ( empty($post->ID) ) wp_die( __( "You attempted to edit a page that doesn't exist. Perhaps it was deleted?") );101 if ( empty($post->ID) ) wp_die( __('You attempted to edit a page that doesn’t exist. Perhaps it was deleted?') ); 102 102 103 103 if ( 'page' != $post->post_type ) { 104 104 wp_redirect( get_edit_post_link( $post_ID, 'url' ) ); -
wp-admin/post.php
131 131 $post_ID = $p = (int) $_GET['post']; 132 132 $post = get_post($post_ID); 133 133 134 if ( empty($post->ID) ) wp_die( __( "You attempted to edit a post that doesn't exist. Perhaps it was deleted?") );134 if ( empty($post->ID) ) wp_die( __('You attempted to edit a post that doesn’t exist. Perhaps it was deleted?') ); 135 135 136 136 if ( 'post' != $post->post_type ) { 137 137 wp_redirect( get_edit_post_link( $post->ID, 'url' ) ); -
wp-admin/themes.php
188 188 $parent_theme = $themes[$theme_name]['Parent Theme']; 189 189 $preview_link = clean_url( get_option('home') . '/'); 190 190 $preview_link = htmlspecialchars( add_query_arg( array('preview' => 1, 'template' => $template, 'stylesheet' => $stylesheet, 'TB_iframe' => 'true' ), $preview_link ) ); 191 $preview_text = attr( sprintf( __('Preview of "%s"'), $title ) );191 $preview_text = attr( sprintf( __('Preview of “%s”'), $title ) ); 192 192 $tags = $themes[$theme_name]['Tags']; 193 193 $thickbox_class = 'thickbox thickbox-preview'; 194 194 $activate_link = wp_nonce_url("themes.php?action=activate&template=".urlencode($template)."&stylesheet=".urlencode($stylesheet), 'switch-theme_' . $template); 195 $activate_text = attr( sprintf( __('Activate "%s"'), $title ) );195 $activate_text = attr( sprintf( __('Activate “%s”'), $title ) ); 196 196 $actions = array(); 197 197 $actions[] = '<a href="' . $activate_link . '" class="activatelink" title="' . $activate_text . '">' . __('Activate') . '</a>'; 198 $actions[] = '<a href="' . $preview_link . '" class="thickbox thickbox-preview" title="' . attr(sprintf(__('Preview "%s"'), $theme_name)) . '">' . __('Preview') . '</a>';198 $actions[] = '<a href="' . $preview_link . '" class="thickbox thickbox-preview" title="' . attr(sprintf(__('Preview “%s”'), $theme_name)) . '">' . __('Preview') . '</a>'; 199 199 if ( current_user_can('update_themes') ) 200 200 $actions[] = '<a class="submitdelete deletion" href="' . wp_nonce_url("themes.php?action=delete&template=$stylesheet", 'delete-theme_' . $stylesheet) . '" onclick="' . "if ( confirm('" . js_escape(sprintf( __("You are about to delete this theme '%s'\n 'Cancel' to stop, 'OK' to delete."), $theme_name )) . "') ) {return true;}return false;" . '">' . __('Delete') . '</a>'; 201 201 $actions = apply_filters('theme_action_links', $actions, $themes[$theme_name]); -
wp-admin/upload.php
329 329 330 330 <td class="media-icon"><?php 331 331 if ( $thumb = wp_get_attachment_image( $post->ID, array(80, 60), true ) ) { ?> 332 <a href="media.php?action=edit&attachment_id=<?php echo $post->ID; ?>" title="<?php echo attr(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php echo $thumb; ?></a>332 <a href="media.php?action=edit&attachment_id=<?php echo $post->ID; ?>" title="<?php echo attr(sprintf(__('Edit “%s”'), $att_title)); ?>"><?php echo $thumb; ?></a> 333 333 <?php } ?></td> 334 334 335 <td class="media column-media"><strong><a href="<?php echo get_edit_post_link( $post->ID ); ?>" title="<?php echo attr(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br />335 <td class="media column-media"><strong><a href="<?php echo get_edit_post_link( $post->ID ); ?>" title="<?php echo attr(sprintf(__('Edit “%s”'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br /> 336 336 <?php echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', get_attached_file($post->ID))); ?> 337 337 338 338 <div class="row-actions"> … … 342 342 $actions['edit'] = '<a href="' . get_edit_post_link($post->ID, true) . '">' . __('Edit') . '</a>'; 343 343 if ( current_user_can('delete_post', $post->ID) ) 344 344 $actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("post.php?action=delete&post=$post->ID", 'delete-post_' . $post->ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this attachment '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this attachment '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete') . "</a>"; 345 $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attr(sprintf(__('View "%s"'), $title)) . '" rel="permalink">' . __('View') . '</a>';345 $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attr(sprintf(__('View “%s”'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 346 346 if ( current_user_can('edit_post', $post->ID) ) 347 347 $actions['attach'] = '<a href="#the-list" onclick="findPosts.open(\'media[]\',\''.$post->ID.'\');return false;">'.__('Attach').'</a>'; 348 348 $actions = apply_filters( 'media_row_actions', $actions, $post ); -
wp-admin/users.php
211 211 $messages[] = '<div id="message" class="updated fade"><p>' . __('Changed roles.') . '</p></div>'; 212 212 break; 213 213 case 'err_admin_role': 214 $messages[] = '<div id="message" class="error"><p>' . __( "The current user's role must have user editing capabilities.") . '</p></div>';214 $messages[] = '<div id="message" class="error"><p>' . __('The current user’s role must have user editing capabilities.') . '</p></div>'; 215 215 $messages[] = '<div id="message" class="updated fade"><p>' . __('Other user roles have been changed.') . '</p></div>'; 216 216 break; 217 217 case 'err_admin_del': 218 $messages[] = '<div id="message" class="error"><p>' . __( "You can't delete the current user.") . '</p></div>';218 $messages[] = '<div id="message" class="error"><p>' . __('You can’t delete the current user.') . '</p></div>'; 219 219 $messages[] = '<div id="message" class="updated fade"><p>' . __('Other users have been deleted.') . '</p></div>'; 220 220 break; 221 221 } -
wp-includes/author-template.php
280 280 */ 281 281 function the_author_link() { 282 282 if (get_the_author_url()) { 283 echo '<a href="' . get_the_author_url() . '" title="' . sprintf(__("Visit %s 's website"), get_the_author()) . '" rel="external">' . get_the_author() . '</a>';283 echo '<a href="' . get_the_author_url() . '" title="' . sprintf(__("Visit %s’s website"), get_the_author()) . '" rel="external">' . get_the_author() . '</a>'; 284 284 } else { 285 285 the_author(); 286 286 } -
wp-includes/comment.php
410 410 $dupe .= ") AND comment_content = '$comment_content' LIMIT 1"; 411 411 if ( $wpdb->get_var($dupe) ) { 412 412 if ( defined('DOING_AJAX') ) 413 die( __('Duplicate comment detected; it looks as though you \'ve already said that!') );413 die( __('Duplicate comment detected; it looks as though you’ve already said that!') ); 414 414 415 wp_die( __('Duplicate comment detected; it looks as though you \'ve already said that!') );415 wp_die( __('Duplicate comment detected; it looks as though you’ve already said that!') ); 416 416 } 417 417 418 418 do_action( 'check_comment_flood', $comment_author_IP, $comment_author_email, $comment_date_gmt ); -
wp-includes/default-widgets.php
15 15 class WP_Widget_Pages extends WP_Widget { 16 16 17 17 function WP_Widget_Pages() { 18 $widget_ops = array('classname' => 'widget_pages', 'description' => __( "Your blog's WordPress Pages") );18 $widget_ops = array('classname' => 'widget_pages', 'description' => __( 'Your blog’s WordPress Pages') ); 19 19 $this->WP_Widget('pages', __('Pages'), $widget_ops); 20 20 } 21 21 … … 195 195 class WP_Widget_Archives extends WP_Widget { 196 196 197 197 function WP_Widget_Archives() { 198 $widget_ops = array('classname' => 'widget_archive', 'description' => __( "A monthly archive of your blog's posts") );198 $widget_ops = array('classname' => 'widget_archive', 'description' => __( 'A monthly archive of your blog’s posts') ); 199 199 $this->WP_Widget('archives', __('Archives'), $widget_ops); 200 200 } 201 201 … … 306 306 class WP_Widget_Calendar extends WP_Widget { 307 307 308 308 function WP_Widget_Calendar() { 309 $widget_ops = array('classname' => 'widget_calendar', 'description' => __( "A calendar of your blog's posts") );309 $widget_ops = array('classname' => 'widget_calendar', 'description' => __( 'A calendar of your blog’s posts') ); 310 310 $this->WP_Widget('calendar', __('Calendar'), $widget_ops); 311 311 } 312 312 -
wp-includes/functions.php
2239 2239 $noun = $matches[2]; 2240 2240 2241 2241 $trans = array(); 2242 $trans['update']['attachment'] = array( __( 'Your attempt to edit this attachment: & quot;%s" has failed.' ), 'get_the_title' );2242 $trans['update']['attachment'] = array( __( 'Your attempt to edit this attachment: “%s” has failed.' ), 'get_the_title' ); 2243 2243 2244 2244 $trans['add']['category'] = array( __( 'Your attempt to add this category has failed.' ), false ); 2245 $trans['delete']['category'] = array( __( 'Your attempt to delete this category: & quot;%s" has failed.' ), 'get_cat_name' );2246 $trans['update']['category'] = array( __( 'Your attempt to edit this category: & quot;%s" has failed.' ), 'get_cat_name' );2245 $trans['delete']['category'] = array( __( 'Your attempt to delete this category: “%s” has failed.' ), 'get_cat_name' ); 2246 $trans['update']['category'] = array( __( 'Your attempt to edit this category: “%s” has failed.' ), 'get_cat_name' ); 2247 2247 2248 $trans['delete']['comment'] = array( __( 'Your attempt to delete this comment: & quot;%s" has failed.' ), 'use_id' );2249 $trans['unapprove']['comment'] = array( __( 'Your attempt to unapprove this comment: & quot;%s" has failed.' ), 'use_id' );2250 $trans['approve']['comment'] = array( __( 'Your attempt to approve this comment: & quot;%s" has failed.' ), 'use_id' );2251 $trans['update']['comment'] = array( __( 'Your attempt to edit this comment: & quot;%s" has failed.' ), 'use_id' );2248 $trans['delete']['comment'] = array( __( 'Your attempt to delete this comment: “%s” has failed.' ), 'use_id' ); 2249 $trans['unapprove']['comment'] = array( __( 'Your attempt to unapprove this comment: “%s” has failed.' ), 'use_id' ); 2250 $trans['approve']['comment'] = array( __( 'Your attempt to approve this comment: “%s” has failed.' ), 'use_id' ); 2251 $trans['update']['comment'] = array( __( 'Your attempt to edit this comment: “%s” has failed.' ), 'use_id' ); 2252 2252 $trans['bulk']['comments'] = array( __( 'Your attempt to bulk modify comments has failed.' ), false ); 2253 2253 $trans['moderate']['comments'] = array( __( 'Your attempt to moderate comments has failed.' ), false ); 2254 2254 2255 2255 $trans['add']['bookmark'] = array( __( 'Your attempt to add this link has failed.' ), false ); 2256 $trans['delete']['bookmark'] = array( __( 'Your attempt to delete this link: & quot;%s" has failed.' ), 'use_id' );2257 $trans['update']['bookmark'] = array( __( 'Your attempt to edit this link: & quot;%s" has failed.' ), 'use_id' );2256 $trans['delete']['bookmark'] = array( __( 'Your attempt to delete this link: “%s” has failed.' ), 'use_id' ); 2257 $trans['update']['bookmark'] = array( __( 'Your attempt to edit this link: “%s” has failed.' ), 'use_id' ); 2258 2258 $trans['bulk']['bookmarks'] = array( __( 'Your attempt to bulk modify links has failed.' ), false ); 2259 2259 2260 2260 $trans['add']['page'] = array( __( 'Your attempt to add this page has failed.' ), false ); 2261 $trans['delete']['page'] = array( __( 'Your attempt to delete this page: & quot;%s" has failed.' ), 'get_the_title' );2262 $trans['update']['page'] = array( __( 'Your attempt to edit this page: & quot;%s" has failed.' ), 'get_the_title' );2261 $trans['delete']['page'] = array( __( 'Your attempt to delete this page: “%s” has failed.' ), 'get_the_title' ); 2262 $trans['update']['page'] = array( __( 'Your attempt to edit this page: “%s” has failed.' ), 'get_the_title' ); 2263 2263 2264 $trans['edit']['plugin'] = array( __( 'Your attempt to edit this plugin file: & quot;%s" has failed.' ), 'use_id' );2265 $trans['activate']['plugin'] = array( __( 'Your attempt to activate this plugin: & quot;%s" has failed.' ), 'use_id' );2266 $trans['deactivate']['plugin'] = array( __( 'Your attempt to deactivate this plugin: & quot;%s" has failed.' ), 'use_id' );2267 $trans['upgrade']['plugin'] = array( __( 'Your attempt to upgrade this plugin: & quot;%s" has failed.' ), 'use_id' );2264 $trans['edit']['plugin'] = array( __( 'Your attempt to edit this plugin file: “%s” has failed.' ), 'use_id' ); 2265 $trans['activate']['plugin'] = array( __( 'Your attempt to activate this plugin: “%s” has failed.' ), 'use_id' ); 2266 $trans['deactivate']['plugin'] = array( __( 'Your attempt to deactivate this plugin: “%s” has failed.' ), 'use_id' ); 2267 $trans['upgrade']['plugin'] = array( __( 'Your attempt to upgrade this plugin: “%s” has failed.' ), 'use_id' ); 2268 2268 2269 2269 $trans['add']['post'] = array( __( 'Your attempt to add this post has failed.' ), false ); 2270 $trans['delete']['post'] = array( __( 'Your attempt to delete this post: & quot;%s" has failed.' ), 'get_the_title' );2271 $trans['update']['post'] = array( __( 'Your attempt to edit this post: & quot;%s" has failed.' ), 'get_the_title' );2270 $trans['delete']['post'] = array( __( 'Your attempt to delete this post: “%s” has failed.' ), 'get_the_title' ); 2271 $trans['update']['post'] = array( __( 'Your attempt to edit this post: “%s” has failed.' ), 'get_the_title' ); 2272 2272 2273 2273 $trans['add']['user'] = array( __( 'Your attempt to add this user has failed.' ), false ); 2274 2274 $trans['delete']['users'] = array( __( 'Your attempt to delete users has failed.' ), false ); 2275 2275 $trans['bulk']['users'] = array( __( 'Your attempt to bulk modify users has failed.' ), false ); 2276 $trans['update']['user'] = array( __( 'Your attempt to edit this user: & quot;%s" has failed.' ), 'get_author_name' );2277 $trans['update']['profile'] = array( __( 'Your attempt to modify the profile for: & quot;%s" has failed.' ), 'get_author_name' );2276 $trans['update']['user'] = array( __( 'Your attempt to edit this user: “%s” has failed.' ), 'get_author_name' ); 2277 $trans['update']['profile'] = array( __( 'Your attempt to modify the profile for: “%s” has failed.' ), 'get_author_name' ); 2278 2278 2279 2279 $trans['update']['options'] = array( __( 'Your attempt to edit your settings has failed.' ), false ); 2280 2280 $trans['update']['permalink'] = array( __( 'Your attempt to change your permalink structure to: %s has failed.' ), 'use_id' ); 2281 $trans['edit']['file'] = array( __( 'Your attempt to edit this file: & quot;%s" has failed.' ), 'use_id' );2282 $trans['edit']['theme'] = array( __( 'Your attempt to edit this theme file: & quot;%s" has failed.' ), 'use_id' );2283 $trans['switch']['theme'] = array( __( 'Your attempt to switch to this theme: & quot;%s" has failed.' ), 'use_id' );2281 $trans['edit']['file'] = array( __( 'Your attempt to edit this file: “%s” has failed.' ), 'use_id' ); 2282 $trans['edit']['theme'] = array( __( 'Your attempt to edit this theme file: “%s” has failed.' ), 'use_id' ); 2283 $trans['switch']['theme'] = array( __( 'Your attempt to switch to this theme: “%s” has failed.' ), 'use_id' ); 2284 2284 2285 2285 $trans['log']['out'] = array( sprintf( __( 'You are attempting to log out of %s' ), get_bloginfo( 'sitename' ) ), false ); 2286 2286 -
wp-includes/general-template.php
1458 1458 /* translators: 1: blog name, 2: separator(raquo), 3: author name */ 1459 1459 'authortitle' => __('%1$s %2$s Posts by %3$s Feed'), 1460 1460 /* translators: 1: blog name, 2: separator(raquo), 3: search phrase */ 1461 'searchtitle' => __('%1$s %2$s Search Results for & quot;%3$s" Feed'),1461 'searchtitle' => __('%1$s %2$s Search Results for “%3$s” Feed'), 1462 1462 ); 1463 1463 1464 1464 $args = wp_parse_args( $args, $defaults ); -
wp-includes/pluggable.php
951 951 if ( empty( $comment_type ) ) $comment_type = 'comment'; 952 952 953 953 if ('comment' == $comment_type) { 954 $notify_message = sprintf( __('New comment on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n";954 $notify_message = sprintf( __('New comment on your post #%1$s “%2$s”'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 955 955 $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 956 956 $notify_message .= sprintf( __('E-mail : %s'), $comment->comment_author_email ) . "\r\n"; 957 957 $notify_message .= sprintf( __('URL : %s'), $comment->comment_author_url ) . "\r\n"; 958 958 $notify_message .= sprintf( __('Whois : http://ws.arin.net/cgi-bin/whois.pl?queryinput=%s'), $comment->comment_author_IP ) . "\r\n"; 959 959 $notify_message .= __('Comment: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 960 960 $notify_message .= __('You can see all comments on this post here: ') . "\r\n"; 961 $subject = sprintf( __('[%1$s] Comment: "%2$s"'), $blogname, $post->post_title );961 $subject = sprintf( __('[%1$s] Comment: “%2$s”'), $blogname, $post->post_title ); 962 962 } elseif ('trackback' == $comment_type) { 963 $notify_message = sprintf( __('New trackback on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n";963 $notify_message = sprintf( __('New trackback on your post #%1$s “%2$s”'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 964 964 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 965 965 $notify_message .= sprintf( __('URL : %s'), $comment->comment_author_url ) . "\r\n"; 966 966 $notify_message .= __('Excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 967 967 $notify_message .= __('You can see all trackbacks on this post here: ') . "\r\n"; 968 $subject = sprintf( __('[%1$s] Trackback: "%2$s"'), $blogname, $post->post_title );968 $subject = sprintf( __('[%1$s] Trackback: “%2$s”'), $blogname, $post->post_title ); 969 969 } elseif ('pingback' == $comment_type) { 970 $notify_message = sprintf( __('New pingback on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n";970 $notify_message = sprintf( __('New pingback on your post #%1$s “%2$s”'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 971 971 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 972 972 $notify_message .= sprintf( __('URL : %s'), $comment->comment_author_url ) . "\r\n"; 973 973 $notify_message .= __('Excerpt: ') . "\r\n" . sprintf('[...] %s [...]', $comment->comment_content ) . "\r\n\r\n"; 974 974 $notify_message .= __('You can see all pingbacks on this post here: ') . "\r\n"; 975 $subject = sprintf( __('[%1$s] Pingback: "%2$s"'), $blogname, $post->post_title );975 $subject = sprintf( __('[%1$s] Pingback: “%2$s”'), $blogname, $post->post_title ); 976 976 } 977 977 $notify_message .= get_permalink($comment->comment_post_ID) . "#comments\r\n\r\n"; 978 978 $notify_message .= sprintf( __('Delete it: %s'), admin_url("comment.php?action=cdc&c=$comment_id") ) . "\r\n"; … … 1031 1031 switch ($comment->comment_type) 1032 1032 { 1033 1033 case 'trackback': 1034 $notify_message = sprintf( __('A new trackback on the post #%1$s "%2$s"is waiting for your approval'), $post->ID, $post->post_title ) . "\r\n";1034 $notify_message = sprintf( __('A new trackback on the post #%1$s “%2$s” is waiting for your approval'), $post->ID, $post->post_title ) . "\r\n"; 1035 1035 $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 1036 1036 $notify_message .= sprintf( __('Website : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1037 1037 $notify_message .= sprintf( __('URL : %s'), $comment->comment_author_url ) . "\r\n"; 1038 1038 $notify_message .= __('Trackback excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 1039 1039 break; 1040 1040 case 'pingback': 1041 $notify_message = sprintf( __('A new pingback on the post #%1$s "%2$s"is waiting for your approval'), $post->ID, $post->post_title ) . "\r\n";1041 $notify_message = sprintf( __('A new pingback on the post #%1$s “%2$s” is waiting for your approval'), $post->ID, $post->post_title ) . "\r\n"; 1042 1042 $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 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 1045 $notify_message .= __('Pingback excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 1046 1046 break; 1047 1047 default: //Comments 1048 $notify_message = sprintf( __('A new comment on the post #%1$s "%2$s"is waiting for your approval'), $post->ID, $post->post_title ) . "\r\n";1048 $notify_message = sprintf( __('A new comment on the post #%1$s “%2$s” is waiting for your approval'), $post->ID, $post->post_title ) . "\r\n"; 1049 1049 $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 1050 1050 $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1051 1051 $notify_message .= sprintf( __('E-mail : %s'), $comment->comment_author_email ) . "\r\n"; … … 1063 1063 'Currently %s comments are waiting for approval. Please visit the moderation panel:', $comments_waiting), number_format_i18n($comments_waiting) ) . "\r\n"; 1064 1064 $notify_message .= admin_url("edit-comments.php?comment_status=moderated") . "\r\n"; 1065 1065 1066 $subject = sprintf( __('[%1$s] Please moderate: "%2$s"'), get_option('blogname'), $post->post_title );1066 $subject = sprintf( __('[%1$s] Please moderate: “%2$s”'), get_option('blogname'), $post->post_title ); 1067 1067 $admin_email = get_option('admin_email'); 1068 1068 1069 1069 $notify_message = apply_filters('comment_moderation_text', $notify_message, $comment_id); -
wp-includes/taxonomy.php
1642 1642 if ( $empty_slug || ( $parent != $term->parent) ) 1643 1643 $slug = wp_unique_term_slug($slug, (object) $args); 1644 1644 else 1645 return new WP_Error('duplicate_term_slug', sprintf(__('The slug "%s"is already in use by another term'), $slug));1645 return new WP_Error('duplicate_term_slug', sprintf(__('The slug “%s” is already in use by another term'), $slug)); 1646 1646 } 1647 1647 1648 1648 $wpdb->update($wpdb->terms, compact( 'name', 'slug', 'term_group' ), compact( 'term_id' ) ); -
wp-mail.php
23 23 ! $pop3->user(get_option('mailserver_login')) || 24 24 ( ! $count = $pop3->pass(get_option('mailserver_pass')) ) ) { 25 25 $pop3->quit(); 26 wp_die( ( 0 === $count ) ? __( "There doesn't seem to be any new mail.") : wp_specialchars($pop3->ERROR) );26 wp_die( ( 0 === $count ) ? __('There doesn’t seem to be any new mail.') : wp_specialchars($pop3->ERROR) ); 27 27 } 28 28 29 29 for ( $i = 1; $i <= $count; $i++ ) { -
xmlrpc.php
498 498 } 499 499 500 500 if( !current_user_can( 'edit_page', $page_id ) ) 501 return new IXR_Error( 401, __( 'Sorry, you can not edit this page.' ) );501 return new IXR_Error( 401, __( 'Sorry, you cannot edit this page.' ) ); 502 502 503 503 do_action('xmlrpc_call', 'wp.getPage'); 504 504 … … 595 595 } 596 596 597 597 if( !current_user_can( 'edit_pages' ) ) 598 return new IXR_Error( 401, __( 'Sorry, you can not edit pages.' ) );598 return new IXR_Error( 401, __( 'Sorry, you cannot edit pages.' ) ); 599 599 600 600 do_action('xmlrpc_call', 'wp.getPages'); 601 601 … … 649 649 650 650 // Make sure the user is allowed to add new pages. 651 651 if(!current_user_can("publish_pages")) { 652 return(new IXR_Error(401, __("Sorry, you can not add new pages.")));652 return(new IXR_Error(401, __("Sorry, you cannot add new pages."))); 653 653 } 654 654 655 655 // Mark this as content for a page. … … 780 780 } 781 781 782 782 if( !current_user_can( 'edit_pages' ) ) 783 return new IXR_Error( 401, __( 'Sorry, you can not edit pages.' ) );783 return new IXR_Error( 401, __( 'Sorry, you cannot edit pages.' ) ); 784 784 785 785 do_action('xmlrpc_call', 'wp.getPageList'); 786 786 … … 833 833 } 834 834 835 835 if(!current_user_can("edit_posts")) { 836 return(new IXR_Error(401, __("Sorry, you can not edit posts on this blog.")));836 return(new IXR_Error(401, __("Sorry, you cannot edit posts on this blog."))); 837 837 } 838 838 839 839 do_action('xmlrpc_call', 'wp.getAuthors'); … … 1102 1102 } 1103 1103 1104 1104 if ( !current_user_can( 'moderate_comments' ) ) 1105 return new IXR_Error( 401, __( 'Sorry, you can not edit comments.' ) );1105 return new IXR_Error( 401, __( 'Sorry, you cannot edit comments.' ) ); 1106 1106 1107 1107 do_action('xmlrpc_call', 'wp.getComments'); 1108 1108 … … 1665 1665 } 1666 1666 1667 1667 if( !current_user_can( 'edit_post', $post_ID ) ) 1668 return new IXR_Error( 401, __( 'Sorry, you can not edit this post.' ) );1668 return new IXR_Error( 401, __( 'Sorry, you cannot edit this post.' ) ); 1669 1669 1670 1670 do_action('xmlrpc_call', 'blogger.getPost'); 1671 1671 … … 1811 1811 do_action('xmlrpc_call', 'blogger.setTemplate'); 1812 1812 1813 1813 if ( !current_user_can('edit_themes') ) { 1814 return new IXR_Error(401, __('Sorry, this user can not edit the template.'));1814 return new IXR_Error(401, __('Sorry, this user cannot edit the template.')); 1815 1815 } 1816 1816 1817 1817 /* warning: here we make the assumption that the blog's URL is on the same server */ … … 2334 2334 // now and return an error. Other wise a new post will be 2335 2335 // created (which was the old behavior). 2336 2336 if(empty($postdata["ID"])) { 2337 return(new IXR_Error(404, __("Invalid post id.")));2337 return(new IXR_Error(404, __("Invalid post ID."))); 2338 2338 } 2339 2339 2340 2340 $this->escape($postdata); … … 2564 2564 } 2565 2565 2566 2566 if( !current_user_can( 'edit_post', $post_ID ) ) 2567 return new IXR_Error( 401, __( 'Sorry, you can not edit this post.' ) );2567 return new IXR_Error( 401, __( 'Sorry, you cannot edit this post.' ) ); 2568 2568 2569 2569 do_action('xmlrpc_call', 'metaWeblog.getPost'); 2570 2570 … … 3047 3047 do_action('xmlrpc_call', 'mt.setPostCategories'); 3048 3048 3049 3049 if ( !current_user_can('edit_post', $post_ID) ) 3050 return new IXR_Error(401, __('Sorry, you can not edit this post.'));3050 return new IXR_Error(401, __('Sorry, you cannot edit this post.')); 3051 3051 3052 3052 foreach($categories as $cat) { 3053 3053 $catids[] = $cat['categoryId']; … … 3157 3157 do_action('xmlrpc_call', 'mt.publishPost'); 3158 3158 3159 3159 if ( !current_user_can('edit_post', $post_ID) ) 3160 return new IXR_Error(401, __('Sorry, you can not edit this post.'));3160 return new IXR_Error(401, __('Sorry, you cannot edit this post.')); 3161 3161 3162 3162 $postdata = wp_get_single_post($post_ID,ARRAY_A); 3163 3163 … … 3244 3244 } 3245 3245 } else { 3246 3246 // TODO: Attempt to extract a post ID from the given URL 3247 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.'));3247 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.')); 3248 3248 } 3249 3249 $post_ID = (int) $post_ID; 3250 3250 … … 3254 3254 $post = get_post($post_ID); 3255 3255 3256 3256 if ( !$post ) // Post_ID not found 3257 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.'));3257 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.')); 3258 3258 3259 3259 if ( $post_ID == url_to_postid($pagelinkedfrom) ) 3260 3260 return new IXR_Error(0, __('The source URL and the target URL cannot both point to the same resource.')); 3261 3261 3262 3262 // Check if pings are on 3263 3263 if ( !pings_open($post) ) 3264 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.'));3264 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.')); 3265 3265 3266 3266 // Let's check that the remote site didn't already pingback this entry 3267 3267 $wpdb->get_results( $wpdb->prepare("SELECT * FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_author_url = %s", $post_ID, $pagelinkedfrom) ); … … 3369 3369 $post_ID = url_to_postid($url); 3370 3370 if (!$post_ID) { 3371 3371 // We aren't sure that the resource is available and/or pingback enabled 3372 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.'));3372 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.')); 3373 3373 } 3374 3374 3375 3375 $actual_post = wp_get_single_post($post_ID, ARRAY_A);
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)