WordPress.org

Make WordPress Core

Ticket #8636: wp-r10209-ascii-quotes-ENTITY.diff

File wp-r10209-ascii-quotes-ENTITY.diff, 30.5 KB (added by demetris, 7 years ago)

Replaces ASCII quotes with proper quotes (character entities)

  • 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 attribute_escape(sprintf(__('Edit "%s"'), $att_title)); ?>"> 
     65                                <a href="media.php?action=edit&amp;attachment_id=<?php the_ID(); ?>" title="<?php echo attribute_escape(sprintf(__('Edit &ldquo;%s&rdquo;'), $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 attribute_escape(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 attribute_escape(sprintf(__('Edit &ldquo;%s&rdquo;'), $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="' . attribute_escape(sprintf(__('View "%s"'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 
     86                $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attribute_escape(sprintf(__('View &ldquo;%s&rdquo;'), $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 attribute_escape(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 attribute_escape(sprintf(__('Edit &ldquo;%s&rdquo;'), $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

     
    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\'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 &ldquo;Restart&rdquo; function below.'); 
    656656                $heading = __('Author mapping'); 
    657657                $blogtitle = "{$blog['title']} ({$blog['host']})"; 
    658658                $mapthis = __('Blogger username'); 
  • 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 "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 &ldquo;Import mt-export.txt&rdquo;'); ?></p> 
    4040 
    4141<?php wp_import_upload_form( add_query_arg('step', 1) ); ?> 
    4242<form method="post" action="<?php echo add_query_arg('step', 1); ?>" class="import-upload-form"> 
  • wp-admin/includes/dashboard.php

     
    382382                foreach ( $drafts as $draft ) { 
    383383                        $url = get_edit_post_link( $draft->ID ); 
    384384                        $title = _draft_or_post_title( $draft->ID ); 
    385                         $item = "<h4><a href='$url' title='" . sprintf( __( 'Edit "%s"' ), attribute_escape( $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>'; 
     385                        $item = "<h4><a href='$url' title='" . sprintf( __( 'Edit &ldquo;%s&rdquo;' ), attribute_escape( $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>'; 
    386386                        if ( $the_content = preg_split( '#\s#', strip_tags( $draft->post_content ), 11, PREG_SPLIT_NO_EMPTY ) ) 
    387387                                $item .= '<p>' . join( ' ', array_slice( $the_content, 0, 10 ) ) . ( 10 < count( $the_content ) ? '&hellip;' : '' ) . '</p>'; 
    388388                        $list[] = $item; 
     
    582582                                $content = __( 'something' ); 
    583583                        $content = wp_html_excerpt($content, 50) . ' ...'; 
    584584                        if ( $link ) 
    585                                 $text = _c( '%1$s linked here <a href="%2$s">saying</a>, "%3$s"|feed_display' ); 
     585                                $text = _c( '%1$s linked here <a href="%2$s">saying</a>, &ldquo;%3$s&rdquo;|feed_display' ); 
    586586                        else 
    587                                 $text = _c( '%1$s linked here saying, "%3$s"|feed_display' ); 
     587                                $text = _c( '%1$s linked here saying, &ldquo;%3$s&rdquo;|feed_display' ); 
    588588 
    589589                        if ( $show_date ) { 
    590590                                if ( $show_author || $show_summary ) 
  • 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 &ldquo;..&rdquo; 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/media.php

     
    17841784 
    17851785        if ( apply_filters( 'disable_captions', '' ) ) { 
    17861786                $alt = __('Alternate Text'); 
    1787                 $alt_help = __('Alt text for the image, e.g. "The Mona Lisa"'); 
     1787                $alt_help = __('Alt text for the image, e.g. &ldquo;The Mona Lisa&rdquo;'); 
    17881788        } else { 
    17891789                $alt = __('Image Caption'); 
    17901790                $alt_help = __('Also used as alternate text for the image'); 
     
    18801880                        </th> 
    18811881                        <td class="field"><input id="insertonly[title]" name="insertonly[title]" value="" type="text" aria-required="true"></td> 
    18821882                </tr> 
    1883                 <tr><td></td><td class="help">' . __('Link text, e.g. "Still Alive by Jonathan Coulton"') . '</td></tr> 
     1883                <tr><td></td><td class="help">' . __('Link text, e.g. &ldquo;Still Alive by Jonathan Coulton&rdquo;') . '</td></tr> 
    18841884                <tr> 
    18851885                        <td></td> 
    18861886                        <td> 
     
    19151915                        </th> 
    19161916                        <td class="field"><input id="insertonly[title]" name="insertonly[title]" value="" type="text" aria-required="true"></td> 
    19171917                </tr> 
    1918                 <tr><td></td><td class="help">' . __('Link text, e.g. "Lucy on YouTube"') . '</td></tr> 
     1918                <tr><td></td><td class="help">' . __('Link text, e.g. &ldquo;Lucy on YouTube&rdquo;') . '</td></tr> 
    19191919                <tr> 
    19201920                        <td></td> 
    19211921                        <td> 
     
    19501950                        </th> 
    19511951                        <td class="field"><input id="insertonly[title]" name="insertonly[title]" value="" type="text" aria-required="true"></td> 
    19521952                </tr> 
    1953                 <tr><td></td><td class="help">' . __('Link text, e.g. "Ransom Demands (PDF)"') . '</td></tr> 
     1953                <tr><td></td><td class="help">' . __('Link text, e.g. &ldquo;Ransom Demands (PDF)&rdquo;') . '</td></tr> 
    19541954                <tr> 
    19551955                        <td></td> 
    19561956                        <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='" . attribute_escape(sprintf(__('Edit "%s"'), $category->name)) . "'>" . attribute_escape( $name ) . '</a><br />'; 
     121                $edit = "<a class='row-title' href='$edit_link' title='" . attribute_escape(sprintf(__('Edit &ldquo;%s&rdquo;'), $category->name)) . "'>" . attribute_escape( $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>'; 
     
    283283        $name = ( $name_override ? $name_override : $category->name ); 
    284284        $edit_link = "link-category.php?action=edit&amp;cat_ID=$category->term_id"; 
    285285        if ( current_user_can( 'manage_categories' ) ) { 
    286                 $edit = "<a class='row-title' href='$edit_link' title='" . attribute_escape(sprintf(__('Edit "%s"'), $category->name)) . "'>$name</a><br />"; 
     286                $edit = "<a class='row-title' href='$edit_link' title='" . attribute_escape(sprintf(__('Edit &ldquo;%s&rdquo;'), $category->name)) . "'>$name</a><br />"; 
    287287                $actions = array(); 
    288288                $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>'; 
    289289                $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __('Quick&nbsp;Edit') . '</a>'; 
     
    606606                                        $out .= '<th scope="row" class="check-column"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" /></th>'; 
    607607                                        break; 
    608608                                case 'name': 
    609                                         $out .= '<td ' . $attributes . '><strong><a class="row-title" href="' . $edit_link . '" title="' . attribute_escape(sprintf(__('Edit "%s"'), $name)) . '">' . $name . '</a></strong><br />'; 
     609                                        $out .= '<td ' . $attributes . '><strong><a class="row-title" href="' . $edit_link . '" title="' . attribute_escape(sprintf(__('Edit &ldquo;%s&rdquo;'), $name)) . '">' . $name . '</a></strong><br />'; 
    610610                                        $actions = array(); 
    611611                                        $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>'; 
    612612                                        $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __('Quick&nbsp;Edit') . '</a>'; 
     
    13751375                case 'title': 
    13761376                        $attributes = 'class="post-title column-title"' . $style; 
    13771377                ?> 
    1378                 <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 attribute_escape(sprintf(__('Edit "%s"'), $title)); ?>"><?php echo $title ?></a><?php } else { echo $title; }; _post_states($post); ?></strong> 
     1378                <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 attribute_escape(sprintf(__('Edit &ldquo;%s&rdquo;'), $title)); ?>"><?php echo $title ?></a><?php } else { echo $title; }; _post_states($post); ?></strong> 
    13791379                <?php 
    13801380                        if ( 'excerpt' == $mode ) 
    13811381                                the_excerpt(); 
     
    13881388                        } 
    13891389                        if ( in_array($post->post_status, array('pending', 'draft')) ) { 
    13901390                                if ( current_user_can('edit_post', $post->ID) ) 
    1391                                         $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attribute_escape(sprintf(__('Preview "%s"'), $title)) . '" rel="permalink">' . __('Preview') . '</a>'; 
     1391                                        $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attribute_escape(sprintf(__('Preview &ldquo;%s&rdquo;'), $title)) . '" rel="permalink">' . __('Preview') . '</a>'; 
    13921392                        } else { 
    1393                                 $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attribute_escape(sprintf(__('View "%s"'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 
     1393                                $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attribute_escape(sprintf(__('View &ldquo;%s&rdquo;'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 
    13941394                        } 
    13951395                        $action_count = count($actions); 
    13961396                        $i = 0; 
     
    15681568                $attributes = 'class="post-title page-title column-title"' . $style; 
    15691569                $edit_link = get_edit_post_link( $page->ID ); 
    15701570                ?> 
    1571                 <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 attribute_escape(sprintf(__('Edit "%s"'), $title)); ?>"><?php echo $pad; echo $title ?></a><?php } else { echo $pad; echo $title; }; _post_states($page); ?></strong> 
     1571                <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 attribute_escape(sprintf(__('Edit &ldquo;%s&rdquo;'), $title)); ?>"><?php echo $pad; echo $title ?></a><?php } else { echo $pad; echo $title; }; _post_states($page); ?></strong> 
    15721572                <?php 
    15731573                $actions = array(); 
    15741574                if ( current_user_can('edit_page', $page->ID) ) { 
     
    15781578                } 
    15791579                if ( in_array($post->post_status, array('pending', 'draft')) ) { 
    15801580                        if ( current_user_can('edit_page', $page->ID) ) 
    1581                                 $actions['view'] = '<a href="' . get_permalink($page->ID) . '" title="' . attribute_escape(sprintf(__('Preview "%s"'), $title)) . '" rel="permalink">' . __('Preview') . '</a>'; 
     1581                                $actions['view'] = '<a href="' . get_permalink($page->ID) . '" title="' . attribute_escape(sprintf(__('Preview &ldquo;%s&rdquo;'), $title)) . '" rel="permalink">' . __('Preview') . '</a>'; 
    15821582                } else { 
    1583                         $actions['view'] = '<a href="' . get_permalink($page->ID) . '" title="' . attribute_escape(sprintf(__('View "%s"'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 
     1583                        $actions['view'] = '<a href="' . get_permalink($page->ID) . '" title="' . attribute_escape(sprintf(__('View &ldquo;%s&rdquo;'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 
    15841584                } 
    15851585                $action_count = count($actions); 
    15861586 
     
    33743374        $contextual_help = ''; 
    33753375        if ( isset($_wp_contextual_help[$screen]) ) { 
    33763376                if ( !empty($title) ) 
    3377                         $contextual_help .= '<h5>' . sprintf(__('Get help with "%s"'), $title) . '</h5>'; 
     3377                        $contextual_help .= '<h5>' . sprintf(__('Get help with &ldquo;%s&rdquo;'), $title) . '</h5>'; 
    33783378                else 
    33793379                        $contextual_help .= '<h5>' . __('Get help with this page') . '</h5>'; 
    33803380                $contextual_help .= '<div class="metabox-prefs">' . $_wp_contextual_help[$screen] . "</div>\n"; 
  • wp-admin/includes/user.php

     
    134134 
    135135        /* Check for "\" in password */ 
    136136        if( strpos( " ".$pass1, "\\" ) ) 
    137                 $errors->add( 'pass', __( '<strong>ERROR</strong>: Passwords may not contain the character "\\".' ), array( 'form-field' => 'pass1' ) ); 
     137                $errors->add( 'pass', __( '<strong>ERROR</strong>: Passwords may not contain the character &ldquo;\\&rdquo;.' ), array( 'form-field' => 'pass1' ) ); 
    138138 
    139139        /* checking the password has been typed twice the same */ 
    140140        if ( $pass1 != $pass2 ) 
  • wp-admin/link-manager.php

     
    194194                                        break; 
    195195                                case 'name': 
    196196 
    197                                         echo "<td $attributes><strong><a class='row-title' href='$edit_link' title='" . attribute_escape(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='" . attribute_escape(sprintf(__('Edit &ldquo;%s&rdquo;'), $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-general.php

     
    156156        checked( $custom, TRUE ); 
    157157        echo '/> ' . __('Custom:') . ' </label><input type="text" name="date_format_custom" value="' . attribute_escape( get_option('date_format') ) . '" class="small-text" /> ' . date_i18n( get_option('date_format') ) . "\n"; 
    158158 
    159         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"; 
     159        echo "\t<p>" . __('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click &ldquo;Save Changes&rdquo; to update sample output.') . "</p>\n"; 
    160160?> 
    161161        </fieldset> 
    162162</td> 
  • wp-admin/themes.php

     
    172172        $stylesheet_dir = $themes[$theme_name]['Stylesheet Dir']; 
    173173        $preview_link = clean_url( get_option('home') . '/'); 
    174174        $preview_link = htmlspecialchars( add_query_arg( array('preview' => 1, 'template' => $template, 'stylesheet' => $stylesheet, 'TB_iframe' => 'true', 'width' => 600, 'height' => 400 ), $preview_link ) ); 
    175         $preview_text = attribute_escape( sprintf( __('Preview of "%s"'), $title ) ); 
     175        $preview_text = attribute_escape( sprintf( __('Preview of &ldquo;%s&rdquo;'), $title ) ); 
    176176        $tags = $themes[$theme_name]['Tags']; 
    177177        $thickbox_class = 'thickbox'; 
    178178        $activate_link = wp_nonce_url("themes.php?action=activate&amp;template=".urlencode($template)."&amp;stylesheet=".urlencode($stylesheet), 'switch-theme_' . $template); 
    179         $activate_text = attribute_escape( sprintf( __('Activate "%s"'), $title ) ); 
     179        $activate_text = attribute_escape( sprintf( __('Activate &ldquo;%s&rdquo;'), $title ) ); 
    180180?> 
    181181                <a href="<?php echo $activate_link; ?>" class="<?php echo $thickbox_class; ?> screenshot"> 
    182182<?php if ( $screenshot ) : ?> 
  • wp-admin/upload.php

     
    327327 
    328328                <td class="media-icon"><?php 
    329329                if ( $thumb = wp_get_attachment_image( $post->ID, array(80, 60), true ) ) { ?> 
    330                         <a href="media.php?action=edit&amp;attachment_id=<?php echo $post->ID; ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php echo $thumb; ?></a> 
     330                        <a href="media.php?action=edit&amp;attachment_id=<?php echo $post->ID; ?>" title="<?php echo attribute_escape(sprintf(__('Edit &ldquo;%s&rdquo;'), $att_title)); ?>"><?php echo $thumb; ?></a> 
    331331<?php   } ?></td> 
    332332 
    333                 <td><strong><a href="<?php echo get_edit_post_link( $post->ID ); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br /> 
     333                <td><strong><a href="<?php echo get_edit_post_link( $post->ID ); ?>" title="<?php echo attribute_escape(sprintf(__('Edit &ldquo;%s&rdquo;'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br /> 
    334334                <?php echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', get_attached_file($post->ID))); ?> 
    335335 
    336336                <p> 
     
    340340                        $actions['edit'] = '<a href="' . get_edit_post_link($post->ID, true) . '">' . __('Edit') . '</a>'; 
    341341                if ( current_user_can('delete_post', $post->ID) ) 
    342342                        $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>"; 
    343                 $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attribute_escape(sprintf(__('View "%s"'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 
     343                $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attribute_escape(sprintf(__('View &ldquo;%s&rdquo;'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 
    344344                if ( current_user_can('edit_post', $post->ID) ) 
    345345                        $actions['attach'] = '<a href="#the-list" onclick="findPosts.open(\'media[]\',\''.$post->ID.'\');return false;">'.__('Attach').'</a>'; 
    346346                $action_count = count($actions); 
  • wp-admin/widgets.php

     
    192192 
    193193// This is sort of lame since "widget" won't be converted to "widgets" in the JS 
    194194if ( 1 < $sidebars_count = count($wp_registered_sidebars) ) 
    195         $sidebar_info_text = __ngettext( 'You are using %1$s widget in the "%2$s" sidebar.', 'You are using %1$s widgets in the "%2$s" sidebar.', $sidebar_widget_count ); 
     195        $sidebar_info_text = __ngettext( 'You are using %1$s widget in the &ldquo;%2$s&rdquo; sidebar.', 'You are using %1$s widgets in the &ldquo;%2$s&rdquo; sidebar.', $sidebar_widget_count ); 
    196196else 
    197197        $sidebar_info_text = __ngettext( 'You are using %1$s widget in the sidebar.', 'You are using %1$s widgets in the sidebar.', $sidebar_widget_count ); 
    198198 
  • wp-includes/pluggable.php

     
    946946        if ( empty( $comment_type ) ) $comment_type = 'comment'; 
    947947 
    948948        if ('comment' == $comment_type) { 
    949                 $notify_message  = sprintf( __('New comment on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 
     949                $notify_message  = sprintf( __('New comment on your post #%1$s &ldquo;%2$s&rdquo;'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 
    950950                $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    951951                $notify_message .= sprintf( __('E-mail : %s'), $comment->comment_author_email ) . "\r\n"; 
    952952                $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n"; 
    953953                $notify_message .= sprintf( __('Whois  : http://ws.arin.net/cgi-bin/whois.pl?queryinput=%s'), $comment->comment_author_IP ) . "\r\n"; 
    954954                $notify_message .= __('Comment: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 
    955955                $notify_message .= __('You can see all comments on this post here: ') . "\r\n"; 
    956                 $subject = sprintf( __('[%1$s] Comment: "%2$s"'), $blogname, $post->post_title ); 
     956                $subject = sprintf( __('[%1$s] Comment: &ldquo;%2$s&rdquo;'), $blogname, $post->post_title ); 
    957957        } elseif ('trackback' == $comment_type) { 
    958                 $notify_message  = sprintf( __('New trackback on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 
     958                $notify_message  = sprintf( __('New trackback on your post #%1$s &ldquo;%2$s&rdquo;'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 
    959959                $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    960960                $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n"; 
    961961                $notify_message .= __('Excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 
    962962                $notify_message .= __('You can see all trackbacks on this post here: ') . "\r\n"; 
    963                 $subject = sprintf( __('[%1$s] Trackback: "%2$s"'), $blogname, $post->post_title ); 
     963                $subject = sprintf( __('[%1$s] Trackback: &ldquo;%2$s&rdquo;'), $blogname, $post->post_title ); 
    964964        } elseif ('pingback' == $comment_type) { 
    965                 $notify_message  = sprintf( __('New pingback on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 
     965                $notify_message  = sprintf( __('New pingback on your post #%1$s &ldquo;%2$s&rdquo;'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 
    966966                $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    967967                $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n"; 
    968968                $notify_message .= __('Excerpt: ') . "\r\n" . sprintf('[...] %s [...]', $comment->comment_content ) . "\r\n\r\n"; 
    969969                $notify_message .= __('You can see all pingbacks on this post here: ') . "\r\n"; 
    970                 $subject = sprintf( __('[%1$s] Pingback: "%2$s"'), $blogname, $post->post_title ); 
     970                $subject = sprintf( __('[%1$s] Pingback: &ldquo;%2$s&rdquo;'), $blogname, $post->post_title ); 
    971971        } 
    972972        $notify_message .= get_permalink($comment->comment_post_ID) . "#comments\r\n\r\n"; 
    973973        $notify_message .= sprintf( __('Delete it: %s'), admin_url("comment.php?action=cdc&c=$comment_id") ) . "\r\n"; 
     
    10261026        switch ($comment->comment_type) 
    10271027        { 
    10281028                case 'trackback': 
    1029                         $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"; 
     1029                        $notify_message  = sprintf( __('A new trackback on the post #%1$s &ldquo;%2$s&rdquo; is waiting for your approval'), $post->ID, $post->post_title ) . "\r\n"; 
    10301030                        $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 
    10311031                        $notify_message .= sprintf( __('Website : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    10321032                        $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n"; 
    10331033                        $notify_message .= __('Trackback excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 
    10341034                        break; 
    10351035                case 'pingback': 
    1036                         $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"; 
     1036                        $notify_message  = sprintf( __('A new pingback on the post #%1$s &ldquo;%2$s&rdquo; is waiting for your approval'), $post->ID, $post->post_title ) . "\r\n"; 
    10371037                        $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 
    10381038                        $notify_message .= sprintf( __('Website : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    10391039                        $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n"; 
    10401040                        $notify_message .= __('Pingback excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 
    10411041                        break; 
    10421042                default: //Comments 
    1043                         $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"; 
     1043                        $notify_message  = sprintf( __('A new comment on the post #%1$s &ldquo;%2$s&rdquo; is waiting for your approval'), $post->ID, $post->post_title ) . "\r\n"; 
    10441044                        $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 
    10451045                        $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    10461046                        $notify_message .= sprintf( __('E-mail : %s'), $comment->comment_author_email ) . "\r\n"; 
     
    10581058                'Currently %s comments are waiting for approval. Please visit the moderation panel:', $comments_waiting), number_format_i18n($comments_waiting) ) . "\r\n"; 
    10591059        $notify_message .= admin_url("edit-comments.php?comment_status=moderated") . "\r\n"; 
    10601060 
    1061         $subject = sprintf( __('[%1$s] Please moderate: "%2$s"'), get_option('blogname'), $post->post_title ); 
     1061        $subject = sprintf( __('[%1$s] Please moderate: &ldquo;%2$s&rdquo;'), get_option('blogname'), $post->post_title ); 
    10621062        $admin_email = get_option('admin_email'); 
    10631063 
    10641064        $notify_message = apply_filters('comment_moderation_text', $notify_message, $comment_id); 
  • wp-includes/script-loader.php

     
    242242                        'add' => __('Add'), 
    243243                        'edit' => __('Edit'), 
    244244                        'cancel' => __('Cancel'), 
    245                         'lameReminder' => __('Remember to click the "Save Changes" button at the bottom of the Current Widgets column after you\'re all done!'), 
     245                        'lameReminder' => __('Remember to click the &ldquo;Save Changes&rdquo; button at the bottom of the Current Widgets column after you\'re all done!'), 
    246246                        'lamerReminder' => __("You're about to leave without having saved your changes!"), 
    247247                        'l10n_print_after' => 'try{convertEntities(widgetsL10n);}catch(e){};' 
    248248                )); 
  • wp-includes/taxonomy.php

     
    15831583                if ( $empty_slug || ( $parent != $term->parent) ) 
    15841584                        $slug = wp_unique_term_slug($slug, (object) $args); 
    15851585                else 
    1586                         return new WP_Error('duplicate_term_slug', sprintf(__('The slug "%s" is already in use by another term'), $slug)); 
     1586                        return new WP_Error('duplicate_term_slug', sprintf(__('The slug &ldquo;%s&rdquo; is already in use by another term'), $slug)); 
    15871587        } 
    15881588 
    15891589        $wpdb->update($wpdb->terms, compact( 'name', 'slug', 'term_group' ), compact( 'term_id' ) );