WordPress.org

Make WordPress Core

Ticket #9655: t9655-typography-quotes-apostrophes-r11110.diff

File t9655-typography-quotes-apostrophes-r11110.diff, 72.5 KB (added by demetris, 5 years ago)
  • wp-admin/edit-attachment-rows.php

     
    6262                        if ( $thumb = wp_get_attachment_image( $post->ID, array(80, 60), true ) ) { 
    6363?> 
    6464 
    65                                 <a href="media.php?action=edit&amp;attachment_id=<?php the_ID(); ?>" title="<?php echo attr(sprintf(__('Edit "%s"'), $att_title)); ?>"> 
     65                                <a href="media.php?action=edit&amp;attachment_id=<?php the_ID(); ?>" title="<?php echo attr(sprintf(__('Edit &#8220;%s&#8221;'), $att_title)); ?>"> 
    6666                                        <?php echo $thumb; ?> 
    6767                                </a> 
    6868 
     
    7474 
    7575        case 'media': 
    7676                ?> 
    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 &#8220;%s&#8221;'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br /> 
    7878                <?php echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', get_attached_file($post->ID))); ?> 
    7979                <p> 
    8080                <?php 
     
    8383                        $actions['edit'] = '<a href="' . get_edit_post_link($post->ID, true) . '">' . __('Edit') . '</a>'; 
    8484                if ( current_user_can('delete_post', $post->ID) ) 
    8585                        $actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("post.php?action=delete&amp;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 &#8220;%s&#8221;'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 
    8787                $action_count = count($actions); 
    8888                $i = 0; 
    8989                echo '<div class="row-actions">'; 
     
    182182        case 'actions': 
    183183                ?> 
    184184                <td <?php echo $attributes ?>> 
    185                 <a href="media.php?action=edit&amp;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&amp;attachment_id=<?php the_ID(); ?>" title="<?php echo attr(sprintf(__('Edit &#8220;%s&#8221;'), $att_title)); ?>"><?php _e('Edit'); ?></a> | 
    186186                <a href="<?php the_permalink(); ?>"><?php _e('Get permalink'); ?></a> 
    187187                </td> 
    188188                <?php 
  • wp-admin/import/blogger.php

     
    203203                $action   = __('The Magic Button'); 
    204204                $posts    = __('Posts'); 
    205205                $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&#8217;t worry, you can turn it back off when you&#8217;re done.'); 
    207207 
    208208                $interval = STATUS_INTERVAL * 1000; 
    209209 
     
    652652                        $this->save_vars(); 
    653653                } 
    654654 
    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&#8217;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 &#8220;Restart&#8221; function below.'); 
    656656                $heading = __('Author mapping'); 
    657657                $blogtitle = "{$blog['title']} ({$blog['host']})"; 
    658658                $mapthis = __('Blogger username'); 
     
    795795                $blog = (int) $_GET['blog']; 
    796796                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>'; 
    797797                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&#8217;t done it already, you can import the posts from your other blogs:'). $this->show_blogs() . '</li>'; 
    799799                if ( $n = count($this->import['blogs'][$blog]['newusers']) ) 
    800800                        echo '<li>'.sprintf(__('Go to <a href="%s" target="%s">Authors &amp; 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>'; 
    801801                echo '<li>'.__('For security, click the link below to reset this importer.').'</li>'; 
  • wp-admin/import/blogware.php

     
    109109                                        return $post_id; 
    110110                                } 
    111111                                if (!$post_id) { 
    112                                         _e("Couldn't get post ID"); 
     112                                        _e('Couldn&#8217;t get post ID'); 
    113113                                        echo '</li>'; 
    114114                                        break; 
    115115                                } 
  • wp-admin/import/dotclear.php

     
    710710        { 
    711711                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>'; 
    712712                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&#8217;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>'; 
    714714                echo '<h3>'.__('Preserving Authors').'</h3>'; 
    715715                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>'; 
    716716                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&#8217;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&#8230; You&#8217;ll want it.').'</p>'; 
    718718                echo '<h3>'.__('WordPress Resources').'</h3>'; 
    719719                echo '<p>'.__('Finally, there are numerous WordPress resources around the internet.  Some of them are:').'</p>'; 
    720720                echo '<ul>'; 
     
    722722                echo '<li>'.__('<a href="http://wordpress.org/support/">The WordPress support forums</a>').'</li>'; 
    723723                echo '<li>'.__('<a href="http://codex.wordpress.org">The Codex (In other words, the WordPress Bible)</a>').'</li>'; 
    724724                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&#8217;s it! What are you waiting for? Go <a href="%1$s">login</a>!'), '../wp-login.php').'</p>'; 
    726726        } 
    727727 
    728728        function db_form() 
  • wp-admin/import/greymatter.php

     
    6161<td><input type="text" style="width:300px" name="archivespath" id="archivespath" value="/home/my/site/cgi-bin/greymatter/archives/" /></td> 
    6262</tr> 
    6363<tr> 
    64 <td><label for="lastentry"><?php _e("Last entry's number:") ?></label></td> 
     64<td><label for="lastentry"><?php _e('Last entry&#8217;s number:') ?></label></td> 
    6565<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&#8217;t know that number, just log into your FTP and look it out<br />in the entries&#8217; folder)') ?></td> 
    6767</tr> 
    6868</table> 
    6969<p class="submit"><input type="submit" name="submit" class="button" value="<?php _e('Start Importing') ?>" /></p> 
  • wp-admin/import/livejournal.php

     
    209209                        </table> 
    210210 
    211211                        <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&#8217;t enter a password, ALL ENTRIES from your LiveJournal will be imported as public posts in WordPress.' ) ?></p> 
    213213                        <p><?php _e( 'Enter the password you would like to use for all protected entries here:' ) ?></p> 
    214214                        <table class="form-table"> 
    215215 
     
    383383                                return $post_id; 
    384384                        } 
    385385                        if ( !$post_id ) { 
    386                                 _e( "Couldn't get post ID (creating post failed!)" ); 
     386                                _e( 'Couldn&#8217;t get post ID (creating post failed!)' ); 
    387387                                echo '</li>'; 
    388388                                return new WP_Error( 'insert_post_failed', __( 'Failed to create post.' ) ); 
    389389                        } 
     
    778778 
    779779                echo '<div id="ljapi-status">'; 
    780780                echo '<h3>' . __( 'Importing Posts' ) . '</h3>'; 
    781                 echo '<p>' . __( "We're downloading and importing your LiveJournal posts..." ) . '</p>'; 
     781                echo '<p>' . __( 'We&#8217;re downloading and importing your LiveJournal posts...' ) . '</p>'; 
    782782                if ( get_option( 'ljapi_post_batch' ) && count( get_option( 'ljapi_sync_item_times' ) ) ) { 
    783783                        $batch = count( get_option( 'ljapi_sync_item_times' ) ); 
    784784                        $batch = $count > 300 ? ceil( $batch / 300 ) : 1; 
     
    801801                        if ( 406 == $this->ixr->getErrorCode() ) { 
    802802                                ?> 
    803803                                <p><strong><?php _e( 'Uh oh &ndash; 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&#8217;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> 
    805805                                <?php 
    806806                                echo $this->next_step( 1, __( 'Try Again' ) ); 
    807807                                return false; 
     
    821821                        <?php $this->auto_ajax( 'ljapi-auto-repost', 'auto-message', 0 ); ?> 
    822822                <?php 
    823823                } else { 
    824                         echo '<p>' . __( "Your posts have all been imported, but wait - there's more! Now we need to download &amp; import your comments." ) . '</p>'; 
     824                        echo '<p>' . __( 'Your posts have all been imported, but wait &#8211; there&#8217;s more! Now we need to download &amp; import your comments.' ) . '</p>'; 
    825825                        echo $this->next_step( 2, __( 'Download my comments &raquo;' ) ); 
    826826                        $this->auto_submit(); 
    827827                } 
  • wp-admin/import/mt.php

     
    3636                $this->header(); 
    3737?> 
    3838<div class="narrow"> 
    39 <p><?php _e('Howdy! We&#8217;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&#8217;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 &#8220;Upload file and import&#8221;, 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> 
    4040 
    4141<?php wp_import_upload_form( add_query_arg('step', 1) ); ?> 
    4242<form method="post" action="<?php echo attr(add_query_arg('step', 1)); ?>" class="import-upload-form"> 
     
    4949<input type="submit" class="button" value="<?php echo attr(__('Import mt-export.txt')); ?>" /> 
    5050</p> 
    5151</form> 
    52 <p><?php _e('The importer is smart enough not to import duplicates, so you can run this multiple times without worry if&#8212;for whatever reason&#8212;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&#8212;for whatever reason&#8212;it doesn&#8217;t finish. If you get an <strong>out of memory</strong> error try splitting up the import file into pieces.'); ?> </p> 
    5353</div> 
    5454<?php 
    5555                $this->footer(); 
     
    194194<div class="wrap"> 
    195195<?php screen_icon(); ?> 
    196196<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&#8217;s entries.'); ?></p> 
    198198<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&#8217;s details if necessary.'); ?></p> 
    200200        <?php 
    201201 
    202202 
  • wp-admin/import/rss.php

     
    129129                                if ( is_wp_error( $post_id ) ) 
    130130                                        return $post_id; 
    131131                                if (!$post_id) { 
    132                                         _e("Couldn't get post ID"); 
     132                                        _e('Couldn&#8217;t get post ID'); 
    133133                                        return; 
    134134                                } 
    135135 
  • wp-admin/import/wordpress.php

     
    203203<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> 
    204204<?php 
    205205        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&#8217;s details if necessary.')."</p>\n"; 
    207207        } 
    208208 
    209209 
  • wp-admin/import/wp-cat2tag.php

     
    143143                        screen_icon(); 
    144144                        echo '<h2>' . sprintf( _n( 'Convert Tag to Category.', 'Convert Tags (%d) to Categories.', $tags_num ), $tags_num ) . '</h2>'; 
    145145                        echo '<div class="narrow">'; 
    146                         echo '<p>' . __('Here you can selectively converts existing 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>'; 
    147147                        echo '<p>' . __('The newly created categories will still be associated with the same posts.') . '</p></div>'; 
    148148 
    149149                        $this->tags_form(); 
     
    249249                        $cat_id = (int) $cat_id; 
    250250 
    251251                        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&#8217;t exist!'),  $cat_id ) . "</li>\n"; 
    253253                        } else { 
    254254                                $category =& get_category($cat_id); 
    255255                                echo '<li>' . sprintf(__('Converting category <strong>%s</strong> ... '),  $category->name); 
     
    406406                                echo __('Converted successfully.') . "</li>\n"; 
    407407 
    408408                        } else { 
    409                                 printf( '<li>' . __('Tag #%s doesn\'t exist!') . "</li>\n",  $tag_id ); 
     409                                printf( '<li>' . __('Tag #%s doesn&#8217;t exist!') . "</li>\n",  $tag_id ); 
    410410                        } 
    411411                } 
    412412 
  • wp-admin/includes/class-wp-upgrader.php

     
    936936                $activate_link = wp_nonce_url("themes.php?action=activate&amp;template=" . urlencode($template) . "&amp;stylesheet=" . urlencode($stylesheet), 'switch-theme_' . $template); 
    937937 
    938938                $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 &#8220;%s&#8221;'), $name)) . '">' . __('Preview') . '</a>', 
     940                        'activate' => '<a href="' . $activate_link .  '" class="activatelink" title="' . attr( sprintf( __('Activate &#8220;%s&#8221;'), $name ) ) . '">' . __('Activate') . '</a>' 
    941941                                                        ); 
    942942 
    943943                if ( $this->type == 'web' ) 
     
    995995                $activate_link = wp_nonce_url("themes.php?action=activate&amp;template=" . urlencode($template) . "&amp;stylesheet=" . urlencode($stylesheet), 'switch-theme_' . $template); 
    996996 
    997997                $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 &#8220;%s&#8221;'), $name)) . '">' . __('Preview') . '</a>', 
     999                        'activate' => '<a href="' . $activate_link .  '" class="activatelink" title="' . attr( sprintf( __('Activate &#8220;%s&#8221;'), $name ) ) . '">' . __('Activate') . '</a>', 
    10001000                        'themes_page' => '<a href="' . admin_url('themes.php') . '" title="' . attr(__('Return to Themes page')) . '" target="_parent">' . __('Return to Themes page') . '</a>', 
    10011001                ); 
    10021002                if ( ( ! $this->result || is_wp_error($this->result) ) || $stylesheet == get_stylesheet() ) 
  • wp-admin/includes/dashboard.php

     
    432432                foreach ( $drafts as $draft ) { 
    433433                        $url = get_edit_post_link( $draft->ID ); 
    434434                        $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 &#8220;%s&#8221;' ), 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>'; 
    436436                        if ( $the_content = preg_split( '#\s#', strip_tags( $draft->post_content ), 11, PREG_SPLIT_NO_EMPTY ) ) 
    437437                                $item .= '<p>' . join( ' ', array_slice( $the_content, 0, 10 ) ) . ( 10 < count( $the_content ) ? '&hellip;' : '' ) . '</p>'; 
    438438                        $list[] = $item; 
  • wp-admin/includes/file.php

     
    194194 
    195195        switch ( $code ) { 
    196196                case 1 : 
    197                         wp_die( __('Sorry, can&#8217;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&#8217;t edit files with &#8220;..&#8221; 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.' )); 
    198198 
    199199                case 2 : 
    200200                        wp_die( __('Sorry, can&#8217;t call files with their real path.' )); 
  • wp-admin/includes/image.php

     
    137137                $file = get_attached_file( $file ); 
    138138 
    139139        if ( ! file_exists( $file ) ) 
    140                 return sprintf(__("File '%s' doesn't exist?"), $file); 
     140                return sprintf(__('File &#8220;%s&#8221; doesn&#8217;t exist?'), $file); 
    141141 
    142142        if ( ! function_exists('imagecreatefromstring') ) 
    143143                return __('The GD image library is not installed.'); 
     
    147147        $image = imagecreatefromstring( file_get_contents( $file ) ); 
    148148 
    149149        if ( !is_resource( $image ) ) 
    150                 return sprintf(__("File '%s' is not an image."), $file); 
     150                return sprintf(__('File &#8220;%s&#8221; is not an image.'), $file); 
    151151 
    152152        return $image; 
    153153} 
  • wp-admin/includes/media.php

     
    18421842 
    18431843        if ( apply_filters( 'disable_captions', '' ) ) { 
    18441844                $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. &#8220;The Mona Lisa&#8221;'); 
    18461846        } else { 
    18471847                $alt = __('Image Caption'); 
    18481848                $alt_help = __('Also used as alternate text for the image'); 
     
    19381938                        </th> 
    19391939                        <td class="field"><input id="insertonly[title]" name="insertonly[title]" value="" type="text" aria-required="true"></td> 
    19401940                </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. &#8220;Still Alive by Jonathan Coulton&#8221;') . '</td></tr> 
    19421942                <tr> 
    19431943                        <td></td> 
    19441944                        <td> 
     
    19731973                        </th> 
    19741974                        <td class="field"><input id="insertonly[title]" name="insertonly[title]" value="" type="text" aria-required="true"></td> 
    19751975                </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. &#8220;Lucy on YouTube&#8220;') . '</td></tr> 
    19771977                <tr> 
    19781978                        <td></td> 
    19791979                        <td> 
     
    20082008                        </th> 
    20092009                        <td class="field"><input id="insertonly[title]" name="insertonly[title]" value="" type="text" aria-required="true"></td> 
    20102010                </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. &#8220;Ransom Demands (PDF)&#8221;') . '</td></tr> 
    20122012                <tr> 
    20132013                        <td></td> 
    20142014                        <td> 
  • wp-admin/includes/template.php

     
    118118        $name = ( $name_override ? $name_override : $pad . ' ' . $category->name ); 
    119119        $edit_link = "categories.php?action=edit&amp;cat_ID=$category->term_id"; 
    120120        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 &#8220;%s&#8221;'), $category->name)) . "'>" . attr( $name ) . '</a><br />'; 
    122122                $actions = array(); 
    123123                $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>'; 
    124124                $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __('Quick&nbsp;Edit') . '</a>'; 
     
    289289        $name = ( $name_override ? $name_override : $category->name ); 
    290290        $edit_link = "link-category.php?action=edit&amp;cat_ID=$category->term_id"; 
    291291        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 &#8220;%s&#8221;'), $category->name)) . "'>$name</a><br />"; 
    293293                $actions = array(); 
    294294                $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>'; 
    295295                $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __('Quick&nbsp;Edit') . '</a>'; 
     
    649649                                        $out .= '<th scope="row" class="check-column"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" /></th>'; 
    650650                                        break; 
    651651                                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 &#8220;%s&#8221;'), $name)) . '">' . $name . '</a></strong><br />'; 
    653653                                        $actions = array(); 
    654654                                        $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>'; 
    655655                                        $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __('Quick&nbsp;Edit') . '</a>'; 
     
    14271427                case 'title': 
    14281428                        $attributes = 'class="post-title column-title"' . $style; 
    14291429                ?> 
    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 &#8220;%s&#8221;'), $title)); ?>"><?php echo $title ?></a><?php } else { echo $title; }; _post_states($post); ?></strong> 
    14311431                <?php 
    14321432                        if ( 'excerpt' == $mode ) 
    14331433                                the_excerpt(); 
     
    14401440                        } 
    14411441                        if ( in_array($post->post_status, array('pending', 'draft')) ) { 
    14421442                                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 &#8220;%s&#8221;'), $title)) . '" rel="permalink">' . __('Preview') . '</a>'; 
    14441444                        } 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 &#8220;%s&#8221;'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 
    14461446                        } 
    14471447                        $actions = apply_filters('post_row_actions', $actions, $post); 
    14481448                        $action_count = count($actions); 
     
    16431643                $attributes = 'class="post-title page-title column-title"' . $style; 
    16441644                $edit_link = get_edit_post_link( $page->ID ); 
    16451645                ?> 
    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 &#8220;%s&#8221;'), $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> 
    16471647                <?php 
    16481648                $actions = array(); 
    16491649                if ( current_user_can('edit_page', $page->ID) ) { 
     
    16531653                } 
    16541654                if ( in_array($post->post_status, array('pending', 'draft')) ) { 
    16551655                        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 &#8220;%s&#8221;'), $title)) . '" rel="permalink">' . __('Preview') . '</a>'; 
    16571657                } 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 &#8220;%s&#8221;'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 
    16591659                } 
    16601660                $actions = apply_filters('page_row_actions', $actions, $page); 
    16611661                $action_count = count($actions); 
     
    34893489        $contextual_help = ''; 
    34903490        if ( isset($_wp_contextual_help[$screen]) ) { 
    34913491                if ( !empty($title) ) 
    3492                         $contextual_help .= '<h5>' . sprintf(__('Get help with "%s"'), $title) . '</h5>'; 
     3492                        $contextual_help .= '<h5>' . sprintf(__('Get help with &#8220;%s&#8221;'), $title) . '</h5>'; 
    34933493                else 
    34943494                        $contextual_help .= '<h5>' . __('Get help with this page') . '</h5>'; 
    34953495                $contextual_help .= '<div class="metabox-prefs">' . $_wp_contextual_help[$screen] . "</div>\n"; 
  • wp-admin/includes/theme-install.php

     
    301301        if ( !is_array($actions) ) { 
    302302                $actions = array(); 
    303303                $actions[] = '<a href="' . admin_url('theme-install.php?tab=theme-information&amp;theme=' . $theme->slug . 
    304                                                                                 '&amp;TB_iframe=true&amp;tbWidth=500&amp;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                                                                                '&amp;TB_iframe=true&amp;tbWidth=500&amp;tbHeight=350') . '" class="thickbox thickbox-preview onclick" title="' . attr(sprintf(__('Install &#8220;%s&#8221;'), $name)) . '">' . __('Install') . '</a>'; 
     305                $actions[] = '<a href="' . $preview_link . '" class="thickbox thickbox-preview onclick previewlink" title="' . attr(sprintf(__('Preview &#8220;%s&#8221;'), $name)) . '">' . __('Preview') . '</a>'; 
    306306                $actions = apply_filters('theme_install_action_links', $actions, $theme); 
    307307        } 
    308308 
     
    310310        ?> 
    311311<a class='thickbox thickbox-preview screenshot' 
    312312        href='<? echo clean_url($preview_link); ?>' 
    313         title='<?php echo attr(sprintf(__('Preview "%s"'), $name)); ?>'> 
     313        title='<?php echo attr(sprintf(__('Preview &#8220;%s&#8221;'), $name)); ?>'> 
    314314<img src='<?php echo clean_url($theme->screenshot_url); ?>' width='150' /> 
    315315</a> 
    316316<h3><?php echo $name ?></h3> 
  • wp-admin/includes/user.php

     
    169169        if ( empty ( $user->user_email ) ) { 
    170170                $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please enter an e-mail address.' ), array( 'form-field' => 'email' ) ); 
    171171        } 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&#8217;t correct.' ), array( 'form-field' => 'email' ) ); 
    173173        } elseif ( ( $owner_id = email_exists($user->user_email) ) && $owner_id != $user->ID ) { 
    174174                $errors->add( 'email_exists', __('<strong>ERROR</strong>: This email is already registered, please choose another one.'), array( 'form-field' => 'email' ) ); 
    175175        } 
  • wp-admin/install.php

     
    8282          display_header(); 
    8383?> 
    8484<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&#8217;ll be on your way to using the most extendable and powerful personal publishing platform in the world.'), '../readme.html'); ?></p> 
    8686<!--<h2 class="step"><a href="install.php?step=1"><?php _e('First Step'); ?></a></h2>--> 
    8787 
    8888<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&#8217;t worry, you can always change these settings later.'); ?></p> 
    9090 
    9191 
    9292 
  • wp-admin/link-manager.php

     
    194194                                        break; 
    195195                                case 'name': 
    196196 
    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 &#8220;%s&#8221;'), $link->link_name)) . "'>$link->link_name</a></strong><br />"; 
    198198                                        $actions = array(); 
    199199                                        $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>'; 
    200200                                        $actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("link.php?action=delete&amp;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

     
    127127<td><fieldset><legend class="hidden"><?php _e('Comment Moderation') ?></legend> 
    128128<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> 
    129129 
    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 &#8220;press&#8221; will match &#8220;WordPress&#8221;.') ?></label></p> 
    131131<p> 
    132132<textarea name="moderation_keys" rows="10" cols="50" id="moderation_keys" class="large-text code"><?php form_option('moderation_keys'); ?></textarea> 
    133133</p> 
     
    136136<tr valign="top"> 
    137137<th scope="row"><?php _e('Comment Blacklist') ?></th> 
    138138<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 &#8220;press&#8221; will match &#8220;WordPress&#8221;.') ?></label></p> 
    140140<p> 
    141141<textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php form_option('blacklist_keys'); ?></textarea> 
    142142</p> 
  • wp-admin/options-general.php

     
    222222        checked( $custom ); 
    223223        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"; 
    224224 
    225         echo "\t<p>" . __('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click &quot;Save Changes&quot; 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 &#8220;Save Changes&#8221; to update sample output.') . "</p>\n"; 
    226226?> 
    227227        </fieldset> 
    228228</td> 
  • wp-admin/options-writing.php

     
    120120 
    121121<?php else : ?> 
    122122 
    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&#8217;s <a href="%s">privacy settings</a>.'), 'options-privacy.php'); ?></p> 
    124124 
    125125<?php endif; ?> 
    126126 
  • wp-admin/page.php

     
    9898        $page_ID = $post_ID = $p = (int) $_GET['post']; 
    9999        $post = get_post_to_edit($page_ID); 
    100100 
    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&#8217;t exist. Perhaps it was deleted?') ); 
    102102 
    103103        if ( 'page' != $post->post_type ) { 
    104104                wp_redirect( get_edit_post_link( $post_ID, 'url' ) ); 
  • wp-admin/post.php

     
    131131        $post_ID = $p = (int) $_GET['post']; 
    132132        $post = get_post($post_ID); 
    133133 
    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&#8217;t exist. Perhaps it was deleted?') ); 
    135135 
    136136        if ( 'post' != $post->post_type ) { 
    137137                wp_redirect( get_edit_post_link( $post->ID, 'url' ) ); 
  • wp-admin/themes.php

     
    188188        $parent_theme = $themes[$theme_name]['Parent Theme']; 
    189189        $preview_link = clean_url( get_option('home') . '/'); 
    190190        $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 &#8220;%s&#8221;'), $title ) ); 
    192192        $tags = $themes[$theme_name]['Tags']; 
    193193        $thickbox_class = 'thickbox thickbox-preview'; 
    194194        $activate_link = wp_nonce_url("themes.php?action=activate&amp;template=".urlencode($template)."&amp;stylesheet=".urlencode($stylesheet), 'switch-theme_' . $template); 
    195         $activate_text = attr( sprintf( __('Activate "%s"'), $title ) ); 
     195        $activate_text = attr( sprintf( __('Activate &#8220;%s&#8221;'), $title ) ); 
    196196        $actions = array(); 
    197197        $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 &#8220;%s&#8221;'), $theme_name)) . '">' . __('Preview') . '</a>'; 
    199199        if ( current_user_can('update_themes') ) 
    200200                $actions[] = '<a class="submitdelete deletion" href="' . wp_nonce_url("themes.php?action=delete&amp;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>'; 
    201201        $actions = apply_filters('theme_action_links', $actions, $themes[$theme_name]); 
  • wp-admin/upload.php

     
    329329 
    330330                <td class="media-icon"><?php 
    331331                if ( $thumb = wp_get_attachment_image( $post->ID, array(80, 60), true ) ) { ?> 
    332                         <a href="media.php?action=edit&amp;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&amp;attachment_id=<?php echo $post->ID; ?>" title="<?php echo attr(sprintf(__('Edit &#8220;%s&#8221;'), $att_title)); ?>"><?php echo $thumb; ?></a> 
    333333<?php   } ?></td> 
    334334 
    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 &#8220;%s&#8221;'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br /> 
    336336                <?php echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', get_attached_file($post->ID))); ?> 
    337337 
    338338                <div class="row-actions"> 
     
    342342                        $actions['edit'] = '<a href="' . get_edit_post_link($post->ID, true) . '">' . __('Edit') . '</a>'; 
    343343                if ( current_user_can('delete_post', $post->ID) ) 
    344344                        $actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("post.php?action=delete&amp;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 &#8220;%s&#8221;'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 
    346346                if ( current_user_can('edit_post', $post->ID) ) 
    347347                        $actions['attach'] = '<a href="#the-list" onclick="findPosts.open(\'media[]\',\''.$post->ID.'\');return false;">'.__('Attach').'</a>'; 
    348348                $actions = apply_filters( 'media_row_actions', $actions, $post ); 
  • wp-admin/users.php

     
    211211                        $messages[] = '<div id="message" class="updated fade"><p>' . __('Changed roles.') . '</p></div>'; 
    212212                        break; 
    213213                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&#8217;s role must have user editing capabilities.') . '</p></div>'; 
    215215                        $messages[] = '<div id="message" class="updated fade"><p>' . __('Other user roles have been changed.') . '</p></div>'; 
    216216                        break; 
    217217                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&#8217;t delete the current user.') . '</p></div>'; 
    219219                        $messages[] = '<div id="message" class="updated fade"><p>' . __('Other users have been deleted.') . '</p></div>'; 
    220220                        break; 
    221221                } 
  • wp-includes/author-template.php

     
    280280 */ 
    281281function the_author_link() { 
    282282        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&#8217;s website"), get_the_author()) . '" rel="external">' . get_the_author() . '</a>'; 
    284284        } else { 
    285285                the_author(); 
    286286        } 
  • wp-includes/comment.php

     
    410410        $dupe .= ") AND comment_content = '$comment_content' LIMIT 1"; 
    411411        if ( $wpdb->get_var($dupe) ) { 
    412412                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&#8217;ve already said that!') ); 
    414414 
    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&#8217;ve already said that!') ); 
    416416        } 
    417417 
    418418        do_action( 'check_comment_flood', $comment_author_IP, $comment_author_email, $comment_date_gmt ); 
  • wp-includes/default-widgets.php

     
    1515class WP_Widget_Pages extends WP_Widget { 
    1616 
    1717        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&#8217;s WordPress Pages') ); 
    1919                $this->WP_Widget('pages', __('Pages'), $widget_ops); 
    2020        } 
    2121 
     
    195195class WP_Widget_Archives extends WP_Widget { 
    196196 
    197197        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&#8217;s posts') ); 
    199199                $this->WP_Widget('archives', __('Archives'), $widget_ops); 
    200200        } 
    201201 
     
    306306class WP_Widget_Calendar extends WP_Widget { 
    307307 
    308308        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&#8217;s posts') ); 
    310310                $this->WP_Widget('calendar', __('Calendar'), $widget_ops); 
    311311        } 
    312312 
  • wp-includes/functions.php

     
    22392239                $noun = $matches[2]; 
    22402240 
    22412241                $trans = array(); 
    2242                 $trans['update']['attachment'] = array( __( 'Your attempt to edit this attachment: &quot;%s&quot; has failed.' ), 'get_the_title' ); 
     2242                $trans['update']['attachment'] = array( __( 'Your attempt to edit this attachment: &#8220;%s&#8221; has failed.' ), 'get_the_title' ); 
    22432243 
    22442244                $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&quot; has failed.' ), 'get_cat_name' ); 
    2246                 $trans['update']['category']   = array( __( 'Your attempt to edit this category: &quot;%s&quot; has failed.' ), 'get_cat_name' ); 
     2245                $trans['delete']['category']   = array( __( 'Your attempt to delete this category: &#8220;%s&#8221; has failed.' ), 'get_cat_name' ); 
     2246                $trans['update']['category']   = array( __( 'Your attempt to edit this category: &#8220;%s&#8221; has failed.' ), 'get_cat_name' ); 
    22472247 
    2248                 $trans['delete']['comment']    = array( __( 'Your attempt to delete this comment: &quot;%s&quot; has failed.' ), 'use_id' ); 
    2249                 $trans['unapprove']['comment'] = array( __( 'Your attempt to unapprove this comment: &quot;%s&quot; has failed.' ), 'use_id' ); 
    2250                 $trans['approve']['comment']   = array( __( 'Your attempt to approve this comment: &quot;%s&quot; has failed.' ), 'use_id' ); 
    2251                 $trans['update']['comment']    = array( __( 'Your attempt to edit this comment: &quot;%s&quot; has failed.' ), 'use_id' ); 
     2248                $trans['delete']['comment']    = array( __( 'Your attempt to delete this comment: &#8220;%s&#8221; has failed.' ), 'use_id' ); 
     2249                $trans['unapprove']['comment'] = array( __( 'Your attempt to unapprove this comment: &#8220;%s&#8221; has failed.' ), 'use_id' ); 
     2250                $trans['approve']['comment']   = array( __( 'Your attempt to approve this comment: &#8220;%s&#8221; has failed.' ), 'use_id' ); 
     2251                $trans['update']['comment']    = array( __( 'Your attempt to edit this comment: &#8220;%s&#8221; has failed.' ), 'use_id' ); 
    22522252                $trans['bulk']['comments']     = array( __( 'Your attempt to bulk modify comments has failed.' ), false ); 
    22532253                $trans['moderate']['comments'] = array( __( 'Your attempt to moderate comments has failed.' ), false ); 
    22542254 
    22552255                $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&quot; has failed.' ), 'use_id' ); 
    2257                 $trans['update']['bookmark']   = array( __( 'Your attempt to edit this link: &quot;%s&quot; has failed.' ), 'use_id' ); 
     2256                $trans['delete']['bookmark']   = array( __( 'Your attempt to delete this link: &#8220;%s&#8221; has failed.' ), 'use_id' ); 
     2257                $trans['update']['bookmark']   = array( __( 'Your attempt to edit this link: &#8220;%s&#8221; has failed.' ), 'use_id' ); 
    22582258                $trans['bulk']['bookmarks']    = array( __( 'Your attempt to bulk modify links has failed.' ), false ); 
    22592259 
    22602260                $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&quot; has failed.' ), 'get_the_title' ); 
    2262                 $trans['update']['page']       = array( __( 'Your attempt to edit this page: &quot;%s&quot; has failed.' ), 'get_the_title' ); 
     2261                $trans['delete']['page']       = array( __( 'Your attempt to delete this page: &#8220;%s&#8221; has failed.' ), 'get_the_title' ); 
     2262                $trans['update']['page']       = array( __( 'Your attempt to edit this page: &#8220;%s&#8221; has failed.' ), 'get_the_title' ); 
    22632263 
    2264                 $trans['edit']['plugin']       = array( __( 'Your attempt to edit this plugin file: &quot;%s&quot; has failed.' ), 'use_id' ); 
    2265                 $trans['activate']['plugin']   = array( __( 'Your attempt to activate this plugin: &quot;%s&quot; has failed.' ), 'use_id' ); 
    2266                 $trans['deactivate']['plugin'] = array( __( 'Your attempt to deactivate this plugin: &quot;%s&quot; has failed.' ), 'use_id' ); 
    2267                 $trans['upgrade']['plugin']    = array( __( 'Your attempt to upgrade this plugin: &quot;%s&quot; has failed.' ), 'use_id' ); 
     2264                $trans['edit']['plugin']       = array( __( 'Your attempt to edit this plugin file: &#8220;%s&#8221; has failed.' ), 'use_id' ); 
     2265                $trans['activate']['plugin']   = array( __( 'Your attempt to activate this plugin: &#8220;%s&#8221; has failed.' ), 'use_id' ); 
     2266                $trans['deactivate']['plugin'] = array( __( 'Your attempt to deactivate this plugin: &#8220;%s&#8221; has failed.' ), 'use_id' ); 
     2267                $trans['upgrade']['plugin']    = array( __( 'Your attempt to upgrade this plugin: &#8220;%s&#8221; has failed.' ), 'use_id' ); 
    22682268 
    22692269                $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&quot; has failed.' ), 'get_the_title' ); 
    2271                 $trans['update']['post']       = array( __( 'Your attempt to edit this post: &quot;%s&quot; has failed.' ), 'get_the_title' ); 
     2270                $trans['delete']['post']       = array( __( 'Your attempt to delete this post: &#8220;%s&#8221; has failed.' ), 'get_the_title' ); 
     2271                $trans['update']['post']       = array( __( 'Your attempt to edit this post: &#8220;%s&#8221; has failed.' ), 'get_the_title' ); 
    22722272 
    22732273                $trans['add']['user']          = array( __( 'Your attempt to add this user has failed.' ), false ); 
    22742274                $trans['delete']['users']      = array( __( 'Your attempt to delete users has failed.' ), false ); 
    22752275                $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&quot; has failed.' ), 'get_author_name' ); 
    2277                 $trans['update']['profile']    = array( __( 'Your attempt to modify the profile for: &quot;%s&quot; has failed.' ), 'get_author_name' ); 
     2276                $trans['update']['user']       = array( __( 'Your attempt to edit this user: &#8220;%s&#8221; has failed.' ), 'get_author_name' ); 
     2277                $trans['update']['profile']    = array( __( 'Your attempt to modify the profile for: &#8220;%s&#8221; has failed.' ), 'get_author_name' ); 
    22782278 
    22792279                $trans['update']['options']    = array( __( 'Your attempt to edit your settings has failed.' ), false ); 
    22802280                $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&quot; has failed.' ), 'use_id' ); 
    2282                 $trans['edit']['theme']        = array( __( 'Your attempt to edit this theme file: &quot;%s&quot; has failed.' ), 'use_id' ); 
    2283                 $trans['switch']['theme']      = array( __( 'Your attempt to switch to this theme: &quot;%s&quot; has failed.' ), 'use_id' ); 
     2281                $trans['edit']['file']         = array( __( 'Your attempt to edit this file: &#8220;%s&#8221; has failed.' ), 'use_id' ); 
     2282                $trans['edit']['theme']        = array( __( 'Your attempt to edit this theme file: &#8220;%s&#8221; has failed.' ), 'use_id' ); 
     2283                $trans['switch']['theme']      = array( __( 'Your attempt to switch to this theme: &#8220;%s&#8221; has failed.' ), 'use_id' ); 
    22842284 
    22852285                $trans['log']['out']           = array( sprintf( __( 'You are attempting to log out of %s' ), get_bloginfo( 'sitename' ) ), false ); 
    22862286 
  • wp-includes/general-template.php

     
    14581458                /* translators: 1: blog name, 2: separator(raquo), 3: author name  */ 
    14591459                'authortitle' => __('%1$s %2$s Posts by %3$s Feed'), 
    14601460                /* translators: 1: blog name, 2: separator(raquo), 3: search phrase */ 
    1461                 'searchtitle' => __('%1$s %2$s Search Results for &quot;%3$s&quot; Feed'), 
     1461                'searchtitle' => __('%1$s %2$s Search Results for &#8220;%3$s&#8221; Feed'), 
    14621462        ); 
    14631463 
    14641464        $args = wp_parse_args( $args, $defaults ); 
  • wp-includes/pluggable.php

     
    951951        if ( empty( $comment_type ) ) $comment_type = 'comment'; 
    952952 
    953953        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 &#8220;%2$s&#8221;'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 
    955955                $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    956956                $notify_message .= sprintf( __('E-mail : %s'), $comment->comment_author_email ) . "\r\n"; 
    957957                $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n"; 
    958958                $notify_message .= sprintf( __('Whois  : http://ws.arin.net/cgi-bin/whois.pl?queryinput=%s'), $comment->comment_author_IP ) . "\r\n"; 
    959959                $notify_message .= __('Comment: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 
    960960                $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: &#8220;%2$s&#8221;'), $blogname, $post->post_title ); 
    962962        } 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 &#8220;%2$s&#8221;'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 
    964964                $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    965965                $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n"; 
    966966                $notify_message .= __('Excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 
    967967                $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: &#8220;%2$s&#8221;'), $blogname, $post->post_title ); 
    969969        } 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 &#8220;%2$s&#8221;'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 
    971971                $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    972972                $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n"; 
    973973                $notify_message .= __('Excerpt: ') . "\r\n" . sprintf('[...] %s [...]', $comment->comment_content ) . "\r\n\r\n"; 
    974974                $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: &#8220;%2$s&#8221;'), $blogname, $post->post_title ); 
    976976        } 
    977977        $notify_message .= get_permalink($comment->comment_post_ID) . "#comments\r\n\r\n"; 
    978978        $notify_message .= sprintf( __('Delete it: %s'), admin_url("comment.php?action=cdc&c=$comment_id") ) . "\r\n"; 
     
    10311031        switch ($comment->comment_type) 
    10321032        { 
    10331033                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 &#8220;%2$s&#8221; is waiting for your approval'), $post->ID, $post->post_title ) . "\r\n"; 
    10351035                        $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 
    10361036                        $notify_message .= sprintf( __('Website : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    10371037                        $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n"; 
    10381038                        $notify_message .= __('Trackback excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 
    10391039                        break; 
    10401040                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 &#8220;%2$s&#8221; is waiting for your approval'), $post->ID, $post->post_title ) . "\r\n"; 
    10421042                        $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 
    10431043                        $notify_message .= sprintf( __('Website : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    10441044                        $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n"; 
    10451045                        $notify_message .= __('Pingback excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 
    10461046                        break; 
    10471047                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 &#8220;%2$s&#8221; is waiting for your approval'), $post->ID, $post->post_title ) . "\r\n"; 
    10491049                        $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 
    10501050                        $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    10511051                        $notify_message .= sprintf( __('E-mail : %s'), $comment->comment_author_email ) . "\r\n"; 
     
    10631063                'Currently %s comments are waiting for approval. Please visit the moderation panel:', $comments_waiting), number_format_i18n($comments_waiting) ) . "\r\n"; 
    10641064        $notify_message .= admin_url("edit-comments.php?comment_status=moderated") . "\r\n"; 
    10651065 
    1066         $subject = sprintf( __('[%1$s] Please moderate: "%2$s"'), get_option('blogname'), $post->post_title ); 
     1066        $subject = sprintf( __('[%1$s] Please moderate: &#8220;%2$s&#8221;'), get_option('blogname'), $post->post_title ); 
    10671067        $admin_email = get_option('admin_email'); 
    10681068 
    10691069        $notify_message = apply_filters('comment_moderation_text', $notify_message, $comment_id); 
  • wp-includes/taxonomy.php

     
    16421642                if ( $empty_slug || ( $parent != $term->parent) ) 
    16431643                        $slug = wp_unique_term_slug($slug, (object) $args); 
    16441644                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 &#8220;%s&#8221; is already in use by another term'), $slug)); 
    16461646        } 
    16471647 
    16481648        $wpdb->update($wpdb->terms, compact( 'name', 'slug', 'term_group' ), compact( 'term_id' ) ); 
  • wp-mail.php

     
    2323        ! $pop3->user(get_option('mailserver_login')) || 
    2424        ( ! $count = $pop3->pass(get_option('mailserver_pass')) ) ) { 
    2525                $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&#8217;t seem to be any new mail.') : wp_specialchars($pop3->ERROR) ); 
    2727} 
    2828 
    2929for ( $i = 1; $i <= $count; $i++ ) { 
  • xmlrpc.php

     
    498498                } 
    499499 
    500500                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.' ) ); 
    502502 
    503503                do_action('xmlrpc_call', 'wp.getPage'); 
    504504 
     
    595595                } 
    596596 
    597597                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.' ) ); 
    599599 
    600600                do_action('xmlrpc_call', 'wp.getPages'); 
    601601 
     
    649649 
    650650                // Make sure the user is allowed to add new pages. 
    651651                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."))); 
    653653                } 
    654654 
    655655                // Mark this as content for a page. 
     
    780780                } 
    781781 
    782782                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.' ) ); 
    784784 
    785785                do_action('xmlrpc_call', 'wp.getPageList'); 
    786786 
     
    833833                } 
    834834 
    835835                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."))); 
    837837                } 
    838838 
    839839                do_action('xmlrpc_call', 'wp.getAuthors'); 
     
    11021102                } 
    11031103 
    11041104                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.' ) ); 
    11061106 
    11071107                do_action('xmlrpc_call', 'wp.getComments'); 
    11081108 
     
    16651665                } 
    16661666 
    16671667                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.' ) ); 
    16691669 
    16701670                do_action('xmlrpc_call', 'blogger.getPost'); 
    16711671 
     
    18111811                do_action('xmlrpc_call', 'blogger.setTemplate'); 
    18121812 
    18131813                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.')); 
    18151815                } 
    18161816 
    18171817                /* warning: here we make the assumption that the blog's URL is on the same server */ 
     
    23342334                // now and return an error.  Other wise a new post will be 
    23352335                // created (which was the old behavior). 
    23362336                if(empty($postdata["ID"])) { 
    2337                         return(new IXR_Error(404, __("Invalid post id."))); 
     2337                        return(new IXR_Error(404, __("Invalid post ID."))); 
    23382338                } 
    23392339 
    23402340                $this->escape($postdata); 
     
    25642564                } 
    25652565 
    25662566                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.' ) ); 
    25682568 
    25692569                do_action('xmlrpc_call', 'metaWeblog.getPost'); 
    25702570 
     
    30473047                do_action('xmlrpc_call', 'mt.setPostCategories'); 
    30483048 
    30493049                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.')); 
    30513051 
    30523052                foreach($categories as $cat) { 
    30533053                        $catids[] = $cat['categoryId']; 
     
    31573157                do_action('xmlrpc_call', 'mt.publishPost'); 
    31583158 
    31593159                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.')); 
    31613161 
    31623162                $postdata = wp_get_single_post($post_ID,ARRAY_A); 
    31633163 
     
    32443244                        } 
    32453245                } else { 
    32463246                        // 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&#8217;t exist, or it is not a pingback-enabled resource.')); 
    32483248                } 
    32493249                $post_ID = (int) $post_ID; 
    32503250 
     
    32543254                $post = get_post($post_ID); 
    32553255 
    32563256                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&#8217;t exist, or it is not a pingback-enabled resource.')); 
    32583258 
    32593259                if ( $post_ID == url_to_postid($pagelinkedfrom) ) 
    32603260                        return new IXR_Error(0, __('The source URL and the target URL cannot both point to the same resource.')); 
    32613261 
    32623262                // Check if pings are on 
    32633263                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&#8217;t exist, or it is not a pingback-enabled resource.')); 
    32653265 
    32663266                // Let's check that the remote site didn't already pingback this entry 
    32673267                $wpdb->get_results( $wpdb->prepare("SELECT * FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_author_url = %s", $post_ID, $pagelinkedfrom) ); 
     
    33693369                $post_ID = url_to_postid($url); 
    33703370                if (!$post_ID) { 
    33713371                        // 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&#8217;t exist, or it is not a pingback-enabled resource.')); 
    33733373                } 
    33743374 
    33753375                $actual_post = wp_get_single_post($post_ID, ARRAY_A);