Make WordPress Core

Ticket #9030: 9030.2.diff

File 9030.2.diff, 40.9 KB (added by wojtek.szkutnik, 15 years ago)
  • wp-admin/admin-header.php

     
    103103else
    104104        $blog_name = get_bloginfo('name', 'display');
    105105if ( '' == $blog_name ) {
    106         $blog_name = ' ';
     106        $blog_name = ' ';
    107107} else {
    108108        $blog_name_excerpt = wp_html_excerpt($blog_name, 40);
    109109        if ( $blog_name != $blog_name_excerpt )
  • wp-admin/edit-form-advanced.php

     
    273273<table id="post-status-info" cellspacing="0"><tbody><tr>
    274274        <td id="wp-word-count"></td>
    275275        <td class="autosave-info">
    276         <span id="autosave">&nbsp;</span>
     276        <span id="autosave">&#160;</span>
    277277<?php
    278278        if ( 'auto-draft' != $post->post_status ) {
    279279                echo '<span id="last-edit">';
  • wp-admin/edit-form-comment.php

     
    5959$stamp = __('Submitted on: <b>%1$s</b>');
    6060$date = date_i18n( $datef, strtotime( $comment->comment_date ) );
    6161?>
    62 <span id="timestamp"><?php printf($stamp, $date); ?></span>&nbsp;<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
     62<span id="timestamp"><?php printf($stamp, $date); ?></span>&#160;<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
    6363<div id='timestampdiv' class='hide-if-js'><?php touch_time(('editcomment' == $action), 0, 5); ?></div>
    6464</div>
    6565</div> <!-- misc actions -->
  • wp-admin/includes/dashboard.php

     
    922922                                                        '&amp;TB_iframe=true&amp;width=600&amp;height=800';
    923923
    924924                echo "<h4>$label</h4>\n";
    925                 echo "<h5><a href='$link'>$title</a></h5>&nbsp;<span>(<a href='$ilink' class='thickbox' title='$title'>" . __( 'Install' ) . "</a>)</span>\n";
     925                echo "<h5><a href='$link'>$title</a></h5>&#160;<span>(<a href='$ilink' class='thickbox' title='$title'>" . __( 'Install' ) . "</a>)</span>\n";
    926926                echo "<p>$description</p>\n";
    927927
    928928                $$feed->__destruct();
  • wp-admin/includes/default-list-tables.php

     
    463463                        $actions = array();
    464464                        if ( current_user_can( $post_type_object->cap->edit_post, $page->ID ) && $post->post_status != 'trash' ) {
    465465                                $actions['edit'] = '<a href="' . $edit_link . '" title="' . esc_attr( __( 'Edit this page' ) ) . '">' . __( 'Edit' ) . '</a>';
    466                                 $actions['inline'] = '<a href="#" class="editinline">' . __( 'Quick&nbsp;Edit' ) . '</a>';
     466                                $actions['inline'] = '<a href="#" class="editinline">' . __( 'Quick&#160;Edit' ) . '</a>';
    467467                        }
    468468                        if ( current_user_can( $post_type_object->cap->delete_post, $page->ID ) ) {
    469469                                if ( $post->post_status == 'trash' )
     
    621621                                $actions = array();
    622622                                if ( current_user_can( $post_type_object->cap->edit_post, $post->ID ) && 'trash' != $post->post_status ) {
    623623                                        $actions['edit'] = '<a href="' . get_edit_post_link( $post->ID, true ) . '" title="' . esc_attr( __( 'Edit this item' ) ) . '">' . __( 'Edit' ) . '</a>';
    624                                         $actions['inline hide-if-no-js'] = '<a href="#" class="editinline" title="' . esc_attr( __( 'Edit this item inline' ) ) . '">' . __( 'Quick&nbsp;Edit' ) . '</a>';
     624                                        $actions['inline hide-if-no-js'] = '<a href="#" class="editinline" title="' . esc_attr( __( 'Edit this item inline' ) ) . '">' . __( 'Quick&#160;Edit' ) . '</a>';
    625625                                }
    626626                                if ( current_user_can( $post_type_object->cap->delete_post, $post->ID ) ) {
    627627                                        if ( 'trash' == $post->post_status )
     
    17371737                                        if ( current_user_can( $tax->cap->delete_terms ) && $tag->term_id != $default_term )
    17381738                                                $out .= '<th scope="row" class="check-column"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" /></th>';
    17391739                                        else
    1740                                                 $out .= '<th scope="row" class="check-column">&nbsp;</th>';
     1740                                                $out .= '<th scope="row" class="check-column">&#160;</th>';
    17411741                                        break;
    17421742                                case 'name':
    17431743                                        $out .= '<td ' . $attributes . '><strong><a class="row-title" href="' . $edit_link . '" title="' . esc_attr( sprintf( __( 'Edit &#8220;%s&#8221;' ), $name ) ) . '">' . $name . '</a></strong><br />';
    17441744                                        $actions = array();
    17451745                                        if ( current_user_can( $tax->cap->edit_terms ) ) {
    17461746                                                $actions['edit'] = '<a href="' . $edit_link . '">' . __( 'Edit' ) . '</a>';
    1747                                                 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __( 'Quick&nbsp;Edit' ) . '</a>';
     1747                                                $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __( 'Quick&#160;Edit' ) . '</a>';
    17481748                                        }
    17491749                                        if ( current_user_can( $tax->cap->delete_terms ) && $tag->term_id != $default_term )
    17501750                                                $actions['delete'] = "<a class='delete-tag' href='" . wp_nonce_url( "edit-tags.php?action=delete&amp;taxonomy=$taxonomy&amp;tag_ID=$tag->term_id", 'delete-tag_' . $tag->term_id ) . "'>" . __( 'Delete' ) . "</a>";
     
    24162416
    24172417                                                if ( 'trash' != $the_comment_status ) {
    24182418                                                        $actions['edit'] = "<a href='comment.php?action=editcomment&amp;c={$comment->comment_ID}' title='" . esc_attr__( 'Edit comment' ) . "'>". __( 'Edit' ) . '</a>';
    2419                                                         $actions['quickedit'] = '<a onclick="commentReply.open( \''.$comment->comment_ID.'\',\''.$post->ID.'\',\'edit\' );return false;" class="vim-q" title="'.esc_attr__( 'Quick Edit' ).'" href="#">' . __( 'Quick&nbsp;Edit' ) . '</a>';
     2419                                                        $actions['quickedit'] = '<a onclick="commentReply.open( \''.$comment->comment_ID.'\',\''.$post->ID.'\',\'edit\' );return false;" class="vim-q" title="'.esc_attr__( 'Quick Edit' ).'" href="#">' . __( 'Quick&#160;Edit' ) . '</a>';
    24202420                                                        if ( 'spam' != $the_comment_status )
    24212421                                                                $actions['reply'] = '<a onclick="commentReply.open( \''.$comment->comment_ID.'\',\''.$post->ID.'\' );return false;" class="vim-r" title="'.esc_attr__( 'Reply to this comment' ).'" href="#">' . __( 'Reply' ) . '</a>';
    24222422                                                }
  • wp-admin/includes/media.php

     
    870870                        $html .= "<label for='{$css_id}'>$label</label>";
    871871                        // only show the dimensions if that choice is available
    872872                        if ( $enabled )
    873                                 $html .= " <label for='{$css_id}' class='help'>" . sprintf( "(%d&nbsp;&times;&nbsp;%d)", $downsize[1], $downsize[2] ). "</label>";
     873                                $html .= " <label for='{$css_id}' class='help'>" . sprintf( "(%d&#160;&times;&#160;%d)", $downsize[1], $downsize[2] ). "</label>";
    874874
    875875                        $html .= '</div>';
    876876
     
    12171217        $media_dims = '';
    12181218        $meta = wp_get_attachment_metadata( $post->ID );
    12191219        if ( is_array( $meta ) && array_key_exists( 'width', $meta ) && array_key_exists( 'height', $meta ) )
    1220                 $media_dims .= "<span id='media-dims-$post->ID'>{$meta['width']}&nbsp;&times;&nbsp;{$meta['height']}</span> ";
     1220                $media_dims .= "<span id='media-dims-$post->ID'>{$meta['width']}&#160;&times;&#160;{$meta['height']}</span> ";
    12211221        $media_dims = apply_filters( 'media_meta', $media_dims, $post );
    12221222
    12231223        $image_edit_button = '';
     
    14951495        <div>
    14961496        <?php _e( 'Choose files to upload' ); ?>
    14971497        <div id="flash-browse-button"></div>
    1498         <span><input id="cancel-upload" disabled="disabled" onclick="cancelUpload()" type="button" value="<?php esc_attr_e('Cancel Upload'); ?>" class="button" /></span>
     1498        <span><input id="cancel-upload" disabled="disabled" onClick="cancelUpload()" type="button" value="<?php esc_attr_e('Cancel Upload'); ?>" class="button" /></span>
    14991499        </div>
    15001500        <p class="media-upload-size"><?php printf( __( 'Maximum upload file size: %d%s' ), $upload_size_unit, $sizes[$u] ); ?></p>
    15011501<?php do_action('post-flash-upload-ui'); ?>
     
    15071507<?php do_action('pre-html-upload-ui'); ?>
    15081508        <p id="async-upload-wrap">
    15091509        <label class="screen-reader-text" for="async-upload"><?php _e('Upload'); ?></label>
    1510         <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php esc_attr_e('Upload'); ?>" /> <a href="#" onclick="try{top.tb_remove();}catch(e){}; return false;"><?php _e('Cancel'); ?></a>
     1510        <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php esc_attr_e('Upload'); ?>" /> <a href="#" onClick="try{top.tb_remove();}catch(e){}; return false;"><?php _e('Cancel'); ?></a>
    15111511        </p>
    15121512        <div class="clear"></div>
    15131513        <p class="media-upload-size"><?php printf( __( 'Maximum upload file size: %d%s' ), $upload_size_unit, $sizes[$u] ); ?></p>
     
    20562056                        <td class="field">
    20572057                                <input name="align" id="align-none" value="none" onclick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'none' ? ' checked="checked"' : '').' />
    20582058                                <label for="align-none" class="align image-align-none-label">' . __('None') . '</label>
    2059                                 <input name="align" id="align-left" value="left" onclick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'left' ? ' checked="checked"' : '').' />
     2059                                <input name="align" id="align-left" value="left" onClick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'left' ? ' checked="checked"' : '').' />
    20602060                                <label for="align-left" class="align image-align-left-label">' . __('Left') . '</label>
    2061                                 <input name="align" id="align-center" value="center" onclick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'center' ? ' checked="checked"' : '').' />
     2061                                <input name="align" id="align-center" value="center" onClick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'center' ? ' checked="checked"' : '').' />
    20622062                                <label for="align-center" class="align image-align-center-label">' . __('Center') . '</label>
    2063                                 <input name="align" id="align-right" value="right" onclick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'right' ? ' checked="checked"' : '').' />
     2063                                <input name="align" id="align-right" value="right" onClick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'right' ? ' checked="checked"' : '').' />
    20642064                                <label for="align-right" class="align image-align-right-label">' . __('Right') . '</label>
    20652065                        </td>
    20662066                </tr>
     
    20712071                        </th>
    20722072                        <td class="field"><input id="url" name="url" value="" type="text" /><br />
    20732073
    2074                         <button type="button" class="button" value="" onclick="document.forms[0].url.value=null">' . __('None') . '</button>
    2075                         <button type="button" class="button" value="" onclick="document.forms[0].url.value=document.forms[0].src.value">' . __('Link to image') . '</button>
     2074                        <button type="button" class="button" value="" onClick="document.forms[0].url.value=null">' . __('None') . '</button>
     2075                        <button type="button" class="button" value="" onClick="document.forms[0].url.value=document.forms[0].src.value">' . __('Link to image') . '</button>
    20762076                        <p class="help">' . __('Enter a link URL or click above for presets.') . '</p></td>
    20772077                </tr>
    20782078        ' . _insert_into_post_button('image') . '
     
    21812181                <tr>
    21822182                        <td></td>
    21832183                        <td>
    2184                                 <input type="button" class="button" id="go_button" style="color:#bbb;" onclick="addExtImage.insert()" value="' . esc_attr__('Insert into Post') . '" />
     2184                                <input type="button" class="button" id="go_button" style="color:#bbb;" onClick="addExtImage.insert()" value="' . esc_attr__('Insert into Post') . '" />
    21852185                        </td>
    21862186                </tr>
    21872187        ';
  • wp-admin/includes/meta-boxes.php

     
    879879                                        echo 'selected="selected"';
    880880                                echo('>'.$r.'</option>');
    881881                        }
    882                 ?></select>&nbsp;<?php _e('(Leave at 0 for no rating.)') ?>
     882                ?></select>&#160;<?php _e('(Leave at 0 for no rating.)') ?>
    883883                </td>
    884884        </tr>
    885885</table>
  • wp-admin/includes/misc.php

     
    604604        <table class="color-palette">
    605605        <tr>
    606606        <?php foreach ( $color_info->colors as $html_color ): ?>
    607         <td style="background-color: <?php echo $html_color ?>" title="<?php echo $color ?>">&nbsp;</td>
     607        <td style="background-color: <?php echo $html_color ?>" title="<?php echo $color ?>">&#160;</td>
    608608        <?php endforeach; ?>
    609609        </tr>
    610610        </table>
  • wp-admin/includes/template.php

     
    511511?>
    512512</select>
    513513<input class="hide-if-js" type="text" id="metakeyinput" name="metakeyinput" tabindex="7" value="" />
    514 <a href="#postcustomstuff" class="hide-if-no-js" onclick="jQuery('#metakeyinput, #metakeyselect, #enternew, #cancelnew').toggle();return false;">
     514<a href="#postcustomstuff" class="hide-if-no-js" onClick="jQuery('#metakeyinput, #metakeyselect, #enternew, #cancelnew').toggle();return false;">
    515515<span id="enternew"><?php _e('Enter new'); ?></span>
    516516<span id="cancelnew" class="hidden"><?php _e('Cancel'); ?></span></a>
    517517<?php } else { ?>
     
    646646                                        continue;
    647647                                }
    648648                        }
    649                         $pad = str_repeat( '&nbsp;', $level * 3 );
     649                        $pad = str_repeat( '&#160;', $level * 3 );
    650650                        if ( $item->ID == $default)
    651651                                $current = ' selected="selected"';
    652652                        else
     
    13361336                                <?php wp_nonce_field( 'find-posts', '_ajax_nonce', false ); ?>
    13371337                                <label class="screen-reader-text" for="find-posts-input"><?php _e( 'Search' ); ?></label>
    13381338                                <input type="text" id="find-posts-input" name="ps" value="" />
    1339                                 <input type="button" onclick="findPosts.send();" value="<?php esc_attr_e( 'Search' ); ?>" class="button" /><br />
     1339                                <input type="button" onClick="findPosts.send();" value="<?php esc_attr_e( 'Search' ); ?>" class="button" /><br />
    13401340
    13411341                                <?php
    13421342                                $post_types = get_post_types( array('public' => true), 'objects' );
     
    13521352                        <div id="find-posts-response"></div>
    13531353                </div>
    13541354                <div class="find-box-buttons">
    1355                         <input type="button" class="button alignleft" onclick="findPosts.close();" value="<?php esc_attr_e('Close'); ?>" />
     1355                        <input type="button" class="button alignleft" onClick="findPosts.close();" value="<?php esc_attr_e('Close'); ?>" />
    13561356                        <input id="find-posts-submit" type="submit" class="button-primary alignright" value="<?php esc_attr_e('Select'); ?>" />
    13571357                </div>
    13581358        </div>
  • wp-admin/js/plugin-install.dev.js

     
    2525                tb_click.call(this);
    2626
    2727                $('#TB_title').css({'background-color':'#222','color':'#cfcfcf'});
    28                 $('#TB_ajaxWindowTitle').html('<strong>' + plugininstallL10n.plugin_information + '</strong>&nbsp;' + $(this).attr('title') );
     28                $('#TB_ajaxWindowTitle').html('<strong>' + plugininstallL10n.plugin_information + '</strong>&#160;' + $(this).attr('title') );
    2929                return false;
    3030        });
    3131
  • wp-admin/js/post.dev.js

     
    5555                                if ( disabled )
    5656                                        txt = '<span>' + val + '</span> ';
    5757                                else
    58                                         txt = '<span><a id="' + button_id + '" class="ntdelbutton">X</a>&nbsp;' + val + '</span> ';
     58                                        txt = '<span><a id="' + button_id + '" class="ntdelbutton">X</a>&#160;' + val + '</span> ';
    5959                                tagchecklist.append(txt);
    6060                                if ( ! disabled )
    6161                                        $( '#' + button_id ).click( function(){ tagBox.parseTags(this); });
  • wp-admin/js/tags.dev.js

     
    5252                                // Create an indent for the Parent field
    5353                                var indent = '';
    5454                                for ( var i = 0; i < res.responses[1].position; i++ )
    55                                         indent += '&nbsp;&nbsp;&nbsp;';
     55                                        indent += '&#160;&#160;&#160;';
    5656
    5757                                form.find('select#parent option:selected').after('<option value="' + term['term_id'] + '">' + indent + term['name'] + '</option>');
    5858                        }
  • wp-admin/js/theme-preview.dev.js

     
    3838                if ( alink.length ) {
    3939                        url = alink.attr('href') || '';
    4040                        text = alink.attr('title') || '';
    41                         link = '&nbsp; <a href="' + url + '" target="_top" class="tb-theme-preview-link">' + text + '</a>';
     41                        link = '&#160; <a href="' + url + '" target="_top" class="tb-theme-preview-link">' + text + '</a>';
    4242                } else {
    4343                        text = $(this).attr('title') || '';
    44                         link = '&nbsp; <span class="tb-theme-preview-link">' + text + '</span>';
     44                        link = '&#160; <span class="tb-theme-preview-link">' + text + '</span>';
    4545                }
    4646
    4747                $('#TB_title').css({'background-color':'#222','color':'#dfdfdf'});
  • wp-admin/maint/repair.php

     
    4545                        echo "<p>The $table table is not okay. It is reporting the following error: <code>$check->Msg_text</code>.  WordPress will attempt to repair this table&hellip;";
    4646                        $repair = $wpdb->get_row("REPAIR TABLE $table");
    4747                        if ( 'OK' == $check->Msg_text ) {
    48                                 echo "<br />&nbsp;&nbsp;&nbsp;&nbsp;Successfully repaired the $table table.";
     48                                echo "<br />&#160;&#160;&#160;&#160;Successfully repaired the $table table.";
    4949                        } else {
    50                                 echo "<br />&nbsp;&nbsp;&nbsp;&nbsp;Failed to repair the $table table. Error: $check->Msg_text<br />";
     50                                echo "<br />&#160;&#160;&#160;&#160;Failed to repair the $table table. Error: $check->Msg_text<br />";
    5151                                $problems["$table"] = $check->Msg_text;
    5252                                $okay = false;
    5353                        }
     
    5555                if ( $okay && $optimize ) {
    5656                        $check = $wpdb->get_row("ANALYZE TABLE $table");
    5757                        if ( 'Table is already up to date' == $check->Msg_text )  {
    58                                 echo "<br />&nbsp;&nbsp;&nbsp;&nbsp;The $table table is already optimized.";
     58                                echo "<br />&#160;&#160;&#160;&#160;The $table table is already optimized.";
    5959                        } else {
    6060                                $check = $wpdb->get_row("OPTIMIZE TABLE $table");
    6161                                if ( 'OK' == $check->Msg_text || 'Table is already up to date' == $check->Msg_text )
    62                                         echo "<br />&nbsp;&nbsp;&nbsp;&nbsp;Successfully optimized the $table table.";
     62                                        echo "<br />&#160;&#160;&#160;&#160;Successfully optimized the $table table.";
    6363                                else
    64                                         echo "<br />&nbsp;&nbsp;&nbsp;&nbsp;Failed to optimize the $table table. Error: $check->Msg_text";
     64                                        echo "<br />&#160;&#160;&#160;&#160;Failed to optimize the $table table. Error: $check->Msg_text";
    6565                        }
    6666                }
    6767                echo '</p>';
  • wp-admin/network/sites.php

     
    307307                                        <p class="description"><?php _e( 'Enter the username of an existing user and hit &#8220;Update Options&#8221; to add the user.' ) ?></p>
    308308                                        <table class="form-table">
    309309                                                        <tr>
    310                                                                 <th scope="row"><?php _e( 'User&nbsp;Login:' ) ?></th>
     310                                                                <th scope="row"><?php _e( 'User&#160;Login:' ) ?></th>
    311311                                                                <td><input type="text" name="newuser" id="newuser" /></td>
    312312                                                        </tr>
    313313                                                        <tr>
  • wp-admin/network/themes.php

     
    7373                                <tr valign="top" class="<?php echo $class . ' ' . $class1; ?>">
    7474                                        <td>
    7575                                                <label><input name="theme[<?php echo $theme_key ?>]" type="radio" id="enabled_<?php echo $theme_key ?>" value="enabled" <?php checked( $enabled ) ?> /> <?php _e( 'Yes' ) ?></label>
    76                                                 &nbsp;&nbsp;&nbsp;
     76                                                &#160;&#160;&#160;
    7777                                                <label><input name="theme[<?php echo $theme_key ?>]" type="radio" id="disabled_<?php echo $theme_key ?>" value="disabled" <?php checked( $disabled ) ?> /> <?php _e( 'No' ) ?></label>
    7878                                        </td>
    7979                                        <th scope="row" style="text-align:left;"><?php echo $key ?></th>
  • wp-admin/update-core.php

     
    5858        echo '<input name="version" value="'. esc_attr($update->current) .'" type="hidden"/>';
    5959        echo '<input name="locale" value="'. esc_attr($update->locale) .'" type="hidden"/>';
    6060        if ( $show_buttons ) {
    61                 echo '<input id="upgrade" class="button" type="submit" value="' . esc_attr($submit) . '" name="upgrade" />&nbsp;';
    62                 echo '<a href="' . esc_url($update->package) . '" class="button">' . $download . '</a>&nbsp;';
     61                echo '<input id="upgrade" class="button" type="submit" value="' . esc_attr($submit) . '" name="upgrade" />&#160;';
     62                echo '<a href="' . esc_url($update->package) . '" class="button">' . $download . '</a>&#160;';
    6363        }
    6464        if ( 'en_US' != $update->locale )
    6565                if ( !isset( $update->dismissed ) || !$update->dismissed )
  • wp-admin/widgets.php

     
    280280        foreach ( $wp_registered_sidebars as $sbname => $sbvalue ) {
    281281                echo "\t\t<tr><td><label><input type='radio' name='sidebar' value='" . esc_attr($sbname) . "'" . checked( $sbname, $sidebar, false ) . " /> $sbvalue[name]</label></td><td>";
    282282                if ( 'wp_inactive_widgets' == $sbname ) {
    283                         echo '&nbsp;';
     283                        echo '&#160;';
    284284                } else {
    285285                        if ( !isset($sidebars_widgets[$sbname]) || !is_array($sidebars_widgets[$sbname]) ) {
    286286                                $j = 1;
  • wp-includes/classes.php

     
    12611261         * @param array $args Uses 'selected' argument for selected page to set selected HTML attribute for option element.
    12621262         */
    12631263        function start_el(&$output, $page, $depth, $args) {
    1264                 $pad = str_repeat('&nbsp;', $depth * 3);
     1264                $pad = str_repeat('&#160;', $depth * 3);
    12651265
    12661266                $output .= "\t<option class=\"level-$depth\" value=\"$page->ID\"";
    12671267                if ( $page->ID == $args['selected'] )
     
    14531453         * @param array $args Uses 'selected', 'show_count', and 'show_last_update' keys, if they exist.
    14541454         */
    14551455        function start_el(&$output, $category, $depth, $args) {
    1456                 $pad = str_repeat('&nbsp;', $depth * 3);
     1456                $pad = str_repeat('&#160;', $depth * 3);
    14571457
    14581458                $cat_name = apply_filters('list_cats', $category->name, $category);
    14591459                $output .= "\t<option class=\"level-$depth\" value=\"".$category->term_id."\"";
     
    14621462                $output .= '>';
    14631463                $output .= $pad.$cat_name;
    14641464                if ( $args['show_count'] )
    1465                         $output .= '&nbsp;&nbsp;('. $category->count .')';
     1465                        $output .= '&#160;&#160;('. $category->count .')';
    14661466                if ( $args['show_last_update'] ) {
    14671467                        $format = 'Y-m-d';
    1468                         $output .= '&nbsp;&nbsp;' . gmdate($format, $category->last_update_timestamp);
     1468                        $output .= '&#160;&#160;' . gmdate($format, $category->last_update_timestamp);
    14691469                }
    14701470                $output .= "</option>\n";
    14711471        }
  • wp-includes/comment-template.php

     
    13661366                <div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>">
    13671367                        <?php
    13681368                                /* translators: 1: date, 2: time */
    1369                                 printf( __('%1$s at %2$s'), get_comment_date(),  get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),'&nbsp;&nbsp;','' );
     1369                                printf( __('%1$s at %2$s'), get_comment_date(),  get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),'&#160;&#160;','' );
    13701370                        ?>
    13711371                </div>
    13721372
  • wp-includes/default-widgets.php

     
    334334
    335335        function widget( $args, $instance ) {
    336336                extract($args);
    337                 $title = apply_filters('widget_title', empty($instance['title']) ? '&nbsp;' : $instance['title'], $instance, $this->id_base);
     337                $title = apply_filters('widget_title', empty($instance['title']) ? '&#160;' : $instance['title'], $instance, $this->id_base);
    338338                echo $before_widget;
    339339                if ( $title )
    340340                        echo $before_title . $title . $after_title;
     
    406406
    407407                <textarea class="widefat" rows="16" cols="20" id="<?php echo $this->get_field_id('text'); ?>" name="<?php echo $this->get_field_name('text'); ?>"><?php echo $text; ?></textarea>
    408408
    409                 <p><input id="<?php echo $this->get_field_id('filter'); ?>" name="<?php echo $this->get_field_name('filter'); ?>" type="checkbox" <?php checked(isset($instance['filter']) ? $instance['filter'] : 0); ?> />&nbsp;<label for="<?php echo $this->get_field_id('filter'); ?>"><?php _e('Automatically add paragraphs'); ?></label></p>
     409                <p><input id="<?php echo $this->get_field_id('filter'); ?>" name="<?php echo $this->get_field_name('filter'); ?>" type="checkbox" <?php checked(isset($instance['filter']) ? $instance['filter'] : 0); ?> />&#160;<label for="<?php echo $this->get_field_id('filter'); ?>"><?php _e('Automatically add paragraphs'); ?></label></p>
    410410<?php
    411411        }
    412412}
  • wp-includes/general-template.php

     
    924924                                /* translators: 1: month name, 2: 4-digit year */
    925925                                $text = sprintf(__('%1$s %2$d'), $wp_locale->get_month($arcresult->month), $arcresult->year);
    926926                                if ( $show_post_count )
    927                                         $after = '&nbsp;('.$arcresult->posts.')' . $afterafter;
     927                                        $after = '&#160;('.$arcresult->posts.')' . $afterafter;
    928928                                $output .= get_archives_link($url, $text, $format, $before, $after);
    929929                        }
    930930                }
     
    945945                                $url = get_year_link($arcresult->year);
    946946                                $text = sprintf('%d', $arcresult->year);
    947947                                if ($show_post_count)
    948                                         $after = '&nbsp;('.$arcresult->posts.')' . $afterafter;
     948                                        $after = '&#160;('.$arcresult->posts.')' . $afterafter;
    949949                                $output .= get_archives_link($url, $text, $format, $before, $after);
    950950                        }
    951951                }
     
    967967                                $date = sprintf('%1$d-%2$02d-%3$02d 00:00:00', $arcresult->year, $arcresult->month, $arcresult->dayofmonth);
    968968                                $text = mysql2date($archive_day_date_format, $date);
    969969                                if ($show_post_count)
    970                                         $after = '&nbsp;('.$arcresult->posts.')'.$afterafter;
     970                                        $after = '&#160;('.$arcresult->posts.')'.$afterafter;
    971971                                $output .= get_archives_link($url, $text, $format, $before, $after);
    972972                        }
    973973                }
     
    996996                                                $url  = sprintf('%1$s/%2$s%3$sm%4$s%5$s%6$sw%7$s%8$d', home_url(), '', '?', '=', $arc_year, '&amp;', '=', $arcresult->week);
    997997                                                $text = $arc_week_start . $archive_week_separator . $arc_week_end;
    998998                                                if ($show_post_count)
    999                                                         $after = '&nbsp;('.$arcresult->posts.')'.$afterafter;
     999                                                        $after = '&#160;('.$arcresult->posts.')'.$afterafter;
    10001000                                                $output .= get_archives_link($url, $text, $format, $before, $after);
    10011001                                        }
    10021002                                }
     
    11591159        if ( $previous ) {
    11601160                $calendar_output .= "\n\t\t".'<td colspan="3" id="prev"><a href="' . get_month_link($previous->year, $previous->month) . '" title="' . sprintf(__('View posts for %1$s %2$s'), $wp_locale->get_month($previous->month), date('Y', mktime(0, 0 , 0, $previous->month, 1, $previous->year))) . '">&laquo; ' . $wp_locale->get_month_abbrev($wp_locale->get_month($previous->month)) . '</a></td>';
    11611161        } else {
    1162                 $calendar_output .= "\n\t\t".'<td colspan="3" id="prev" class="pad">&nbsp;</td>';
     1162                $calendar_output .= "\n\t\t".'<td colspan="3" id="prev" class="pad">&#160;</td>';
    11631163        }
    11641164
    1165         $calendar_output .= "\n\t\t".'<td class="pad">&nbsp;</td>';
     1165        $calendar_output .= "\n\t\t".'<td class="pad">&#160;</td>';
    11661166
    11671167        if ( $next ) {
    11681168                $calendar_output .= "\n\t\t".'<td colspan="3" id="next"><a href="' . get_month_link($next->year, $next->month) . '" title="' . esc_attr( sprintf(__('View posts for %1$s %2$s'), $wp_locale->get_month($next->month), date('Y', mktime(0, 0 , 0, $next->month, 1, $next->year))) ) . '">' . $wp_locale->get_month_abbrev($wp_locale->get_month($next->month)) . ' &raquo;</a></td>';
    11691169        } else {
    1170                 $calendar_output .= "\n\t\t".'<td colspan="3" id="next" class="pad">&nbsp;</td>';
     1170                $calendar_output .= "\n\t\t".'<td colspan="3" id="next" class="pad">&#160;</td>';
    11711171        }
    11721172
    11731173        $calendar_output .= '
     
    12221222        // See how much we should pad in the beginning
    12231223        $pad = calendar_week_mod(date('w', $unixmonth)-$week_begins);
    12241224        if ( 0 != $pad )
    1225                 $calendar_output .= "\n\t\t".'<td colspan="'. esc_attr($pad) .'" class="pad">&nbsp;</td>';
     1225                $calendar_output .= "\n\t\t".'<td colspan="'. esc_attr($pad) .'" class="pad">&#160;</td>';
    12261226
    12271227        $daysinmonth = intval(date('t', $unixmonth));
    12281228        for ( $day = 1; $day <= $daysinmonth; ++$day ) {
     
    12471247
    12481248        $pad = 7 - calendar_week_mod(date('w', mktime(0, 0 , 0, $thismonth, $day, $thisyear))-$week_begins);
    12491249        if ( $pad != 0 && $pad != 7 )
    1250                 $calendar_output .= "\n\t\t".'<td class="pad" colspan="'. esc_attr($pad) .'">&nbsp;</td>';
     1250                $calendar_output .= "\n\t\t".'<td class="pad" colspan="'. esc_attr($pad) .'">&#160;</td>';
    12511251
    12521252        $calendar_output .= "\n\t</tr>\n\t</tbody>\n\t</table>";
    12531253
  • wp-includes/js/colorpicker.dev.js

     
    681681                if ((i % width) == 0) { cp_contents += "<tr>"; }
    682682                if (use_highlight) { var mo = 'onMouseOver="'+windowRef+'ColorPicker_highlightColor(\''+colors[i]+'\',window.document)"'; }
    683683                else { mo = ""; }
    684                 cp_contents += '<td style="background-color: '+colors[i]+';"><a href="javascript:void()" onclick="'+windowRef+'ColorPicker_pickColor(\''+colors[i]+'\','+windowRef+'window.popupWindowObjects['+cp.index+']);return false;" '+mo+'>&nbsp;</a></td>';
     684                cp_contents += '<td style="background-color: '+colors[i]+';"><a href="javascript:void()" onclick="'+windowRef+'ColorPicker_pickColor(\''+colors[i]+'\','+windowRef+'window.popupWindowObjects['+cp.index+']);return false;" '+mo+'>&#160;</a></td>';
    685685                if ( ((i+1)>=total) || (((i+1) % width) == 0)) {
    686686                        cp_contents += "</tr>";
    687687                        }
     
    690690        if (document.getElementById) {
    691691                var width1 = Math.floor(width/2);
    692692                var width2 = width = width1;
    693                 cp_contents += "<tr><td colspan='"+width1+"' style='background-color: #FFF;' ID='colorPickerSelectedColor'>&nbsp;</td><td colspan='"+width2+"' style='text-align: center;' id='colorPickerSelectedColorValue'>#FFFFFF</td></tr>";
     693                cp_contents += "<tr><td colspan='"+width1+"' style='background-color: #FFF;' ID='colorPickerSelectedColor'>&#160;</td><td colspan='"+width2+"' style='text-align: center;' id='colorPickerSelectedColorValue'>#FFFFFF</td></tr>";
    694694                }
    695695        cp_contents += "</table>";
    696696        if (windowMode) {
  • wp-includes/js/tinymce/plugins/media/media.htm

     
    4444                                                                        <table border="0" cellspacing="0" cellpadding="0">
    4545                                                                          <tr>
    4646                                                                                <td><input id="src" name="src" type="text" value="" class="mceFocus" onchange="switchType(this.value);generatePreview();" /></td>
    47                                                                                 <td id="filebrowsercontainer">&nbsp;</td>
     47                                                                                <td id="filebrowsercontainer">&#160;</td>
    4848                                                                          </tr>
    4949                                                                        </table>
    5050                                                                </td>
     
    5959                                                                        <table border="0" cellpadding="0" cellspacing="0">
    6060                                                                                <tr>
    6161                                                                                        <td><input type="text" id="width" name="width" value="" class="size" onchange="generatePreview('width');" /> x <input type="text" id="height" name="height" value="" class="size"  onchange="generatePreview('height');" /></td>
    62                                                                                         <td>&nbsp;&nbsp;<input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td>
     62                                                                                        <td>&#160;&#160;<input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td>
    6363                                                                                        <td><label id="constrainlabel" for="constrain">{#media_dlg.constrain_proportions}</label></td>
    6464                                                                                </tr>
    6565                                                                        </table>
     
    103103                                                                <table border="0" cellpadding="0" cellspacing="0">
    104104                                                                        <tr>
    105105                                                                                <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');generatePreview();" /></td>
    106                                                                                 <td id="bgcolor_pickcontainer">&nbsp;</td>
     106                                                                                <td id="bgcolor_pickcontainer">&#160;</td>
    107107                                                                        </tr>
    108108                                                                </table>
    109109                                                        </td>
     
    437437                                                                </select>
    438438                                                        </td>
    439439
    440                                                         <td colspan="2">&nbsp;</td>
     440                                                        <td colspan="2">&#160;</td>
    441441                                                </tr>
    442442
    443443                                                <tr>
     
    470470                                                        <table border="0" cellspacing="0" cellpadding="0">
    471471                                                                  <tr>
    472472                                                                        <td><input type="text" id="qt_qtsrc" name="qt_qtsrc" onchange="generatePreview();" /></td>
    473                                                                         <td id="qtsrcfilebrowsercontainer">&nbsp;</td>
     473                                                                        <td id="qtsrcfilebrowsercontainer">&#160;</td>
    474474                                                                  </tr>
    475475                                                        </table>
    476476                                                        </td>
     
    699699                                                                </table>
    700700                                                        </td>
    701701
    702                                                         <td colspan="2">
    703                                                                 &nbsp;
     702                                                        <td colspan="2">&#160;
     703                                                               
    704704                                                        </td>
    705705                                                </tr>
    706706
  • wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.dev.js

     
    7373                                var DL, DIV, P;
    7474
    7575                                if ( e.keyCode == 13 && (DL = ed.dom.getParent(ed.selection.getNode(), 'DL')) && ed.dom.hasClass(DL, 'wp-caption') ) {
    76                                         P = ed.dom.create('p', {}, '&nbsp;');
     76                                        P = ed.dom.create('p', {}, '&#160;');
    7777                                        if ( (DIV = DL.parentNode) && DIV.nodeName == 'DIV' )
    7878                                                ed.dom.insertAfter( P, DIV );
    7979                                        else
  • wp-includes/js/tinymce/themes/advanced/about.htm

     
    3838                                        <div id="plugintablecontainer">
    3939                                        </div>
    4040
    41                                         <p>&nbsp;</p>
     41                                        <p>&#160;</p>
    4242                                </div>
    4343                        </div>
    4444
  • wp-includes/js/tinymce/themes/advanced/charmap.htm

     
    1818        <td width="100" align="center" valign="top">
    1919            <table border="0" cellpadding="0" cellspacing="0" width="100" style="height:100px">
    2020                <tr>
    21                     <td id="codeV">&nbsp;</td>
     21                    <td id="codeV">&#160;</td>
    2222                </tr>
    2323                <tr>
    24                     <td id="codeN">&nbsp;</td>
     24                    <td id="codeN">&#160;</td>
    2525                </tr>
    2626            </table>
    2727        </td>
     
    3333                    <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;">HTML-Code</td>
    3434                </tr>
    3535                <tr>
    36                     <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeA" align="center">&nbsp;</td>
     36                    <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeA" align="center">&#160;</td>
    3737                </tr>
    3838                <tr>
    39                     <td style="font-size: 1px;">&nbsp;</td>
     39                    <td style="font-size: 1px;">&#160;</td>
    4040                </tr>
    4141                <tr>
    4242                    <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;">NUM-Code</td>
    4343                </tr>
    4444                <tr>
    45                     <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeB" align="center">&nbsp;</td>
     45                    <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeB" align="center">&#160;</td>
    4646                </tr>
    4747            </table>
    4848        </td>
  • wp-includes/js/tinymce/themes/advanced/image.htm

     
    2323            <td><table border="0" cellspacing="0" cellpadding="0">
    2424                <tr>
    2525                  <td><input id="src" name="src" type="text" class="mceFocus" value="" style="width: 200px" onchange="ImageDialog.getImageData();" /></td>
    26                   <td id="srcbrowsercontainer">&nbsp;</td>
     26                  <td id="srcbrowsercontainer">&#160;</td>
    2727                </tr>
    2828              </table></td>
    2929          </tr>
  • wp-includes/js/tinymce/themes/advanced/js/charmap.js

     
    288288        if (cols % charsPerRow > 0) {
    289289                var padd = charsPerRow - (cols % charsPerRow);
    290290                for (var i=0; i<padd-1; i++)
    291                         html += '<td width="' + tdWidth + '" height="' + tdHeight + '" class="charmap">&nbsp;</td>';
     291                        html += '<td width="' + tdWidth + '" height="' + tdHeight + '" class="charmap">&#160;</td>';
    292292        }
    293293
    294294        html += '</tr></table>';
  • wp-includes/js/tinymce/themes/advanced/link.htm

     
    2525            <td><table border="0" cellspacing="0" cellpadding="0">
    2626                                  <tr>
    2727                                        <td><input id="href" name="href" type="text" class="mceFocus" value="http://" style="width: 200px" onfocus="try{this.select();}catch(e){}" /></td>
    28                                         <td id="hrefbrowsercontainer">&nbsp;</td>
     28                                        <td id="hrefbrowsercontainer">&#160;</td>
    2929                                  </tr>
    3030                                </table></td>
    3131          </tr>
  • wp-includes/js/tinymce/utils/form_utils.js

     
    1313        var h = "";
    1414
    1515        h += '<a id="' + id + '_link" href="javascript:;" onclick="tinyMCEPopup.pickColor(event,\'' + target_form_element +'\');" onmousedown="return false;" class="pickcolor">';
    16         h += '<span id="' + id + '" title="' + tinyMCEPopup.getLang('browse') + '">&nbsp;</span></a>';
     16        h += '<span id="' + id + '" title="' + tinyMCEPopup.getLang('browse') + '">&#160;</span></a>';
    1717
    1818        return h;
    1919}
     
    5050
    5151        html = "";
    5252        html += '<a id="' + id + '_link" href="javascript:openBrowser(\'' + id + '\',\'' + target_form_element + '\', \'' + type + '\',\'' + option + '\');" onmousedown="return false;" class="browse">';
    53         html += '<span id="' + id + '" title="' + tinyMCEPopup.getLang('browse') + '">&nbsp;</span></a>';
     53        html += '<span id="' + id + '" title="' + tinyMCEPopup.getLang('browse') + '">&#160;</span></a>';
    5454
    5555        return html;
    5656}
  • wp-includes/wp-diff.php

     
    128128         * @return string
    129129         */
    130130        function emptyLine() {
    131                 return '<td colspan="2">&nbsp;</td>';
     131                return '<td colspan="2">&#160;</td>';
    132132        }
    133133
    134134        /**
  • wp-signup.php

     
    136136        _e( '(Must be at least 4 characters, letters and numbers only.)' );
    137137        ?>
    138138
    139         <label for="user_email"><?php _e( 'Email&nbsp;Address:' ) ?></label>
     139        <label for="user_email"><?php _e( 'Email&#160;Address:' ) ?></label>
    140140        <?php if ( $errmsg = $errors->get_error_message('user_email') ) { ?>
    141141                <p class="error"><?php echo $errmsg ?></p>
    142142        <?php } ?>