Ticket #9030: 9030.2.diff
File 9030.2.diff, 40.9 KB (added by , 15 years ago) |
---|
-
wp-admin/admin-header.php
103 103 else 104 104 $blog_name = get_bloginfo('name', 'display'); 105 105 if ( '' == $blog_name ) { 106 $blog_name = '& nbsp;';106 $blog_name = ' '; 107 107 } else { 108 108 $blog_name_excerpt = wp_html_excerpt($blog_name, 40); 109 109 if ( $blog_name != $blog_name_excerpt ) -
wp-admin/edit-form-advanced.php
273 273 <table id="post-status-info" cellspacing="0"><tbody><tr> 274 274 <td id="wp-word-count"></td> 275 275 <td class="autosave-info"> 276 <span id="autosave">& nbsp;</span>276 <span id="autosave"> </span> 277 277 <?php 278 278 if ( 'auto-draft' != $post->post_status ) { 279 279 echo '<span id="last-edit">'; -
wp-admin/edit-form-comment.php
59 59 $stamp = __('Submitted on: <b>%1$s</b>'); 60 60 $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); 61 61 ?> 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> <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a> 63 63 <div id='timestampdiv' class='hide-if-js'><?php touch_time(('editcomment' == $action), 0, 5); ?></div> 64 64 </div> 65 65 </div> <!-- misc actions --> -
wp-admin/includes/dashboard.php
922 922 '&TB_iframe=true&width=600&height=800'; 923 923 924 924 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> <span>(<a href='$ilink' class='thickbox' title='$title'>" . __( 'Install' ) . "</a>)</span>\n"; 926 926 echo "<p>$description</p>\n"; 927 927 928 928 $$feed->__destruct(); -
wp-admin/includes/default-list-tables.php
463 463 $actions = array(); 464 464 if ( current_user_can( $post_type_object->cap->edit_post, $page->ID ) && $post->post_status != 'trash' ) { 465 465 $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 Edit' ) . '</a>'; 467 467 } 468 468 if ( current_user_can( $post_type_object->cap->delete_post, $page->ID ) ) { 469 469 if ( $post->post_status == 'trash' ) … … 621 621 $actions = array(); 622 622 if ( current_user_can( $post_type_object->cap->edit_post, $post->ID ) && 'trash' != $post->post_status ) { 623 623 $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 Edit' ) . '</a>'; 625 625 } 626 626 if ( current_user_can( $post_type_object->cap->delete_post, $post->ID ) ) { 627 627 if ( 'trash' == $post->post_status ) … … 1737 1737 if ( current_user_can( $tax->cap->delete_terms ) && $tag->term_id != $default_term ) 1738 1738 $out .= '<th scope="row" class="check-column"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" /></th>'; 1739 1739 else 1740 $out .= '<th scope="row" class="check-column">& nbsp;</th>';1740 $out .= '<th scope="row" class="check-column"> </th>'; 1741 1741 break; 1742 1742 case 'name': 1743 1743 $out .= '<td ' . $attributes . '><strong><a class="row-title" href="' . $edit_link . '" title="' . esc_attr( sprintf( __( 'Edit “%s”' ), $name ) ) . '">' . $name . '</a></strong><br />'; 1744 1744 $actions = array(); 1745 1745 if ( current_user_can( $tax->cap->edit_terms ) ) { 1746 1746 $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 Edit' ) . '</a>'; 1748 1748 } 1749 1749 if ( current_user_can( $tax->cap->delete_terms ) && $tag->term_id != $default_term ) 1750 1750 $actions['delete'] = "<a class='delete-tag' href='" . wp_nonce_url( "edit-tags.php?action=delete&taxonomy=$taxonomy&tag_ID=$tag->term_id", 'delete-tag_' . $tag->term_id ) . "'>" . __( 'Delete' ) . "</a>"; … … 2416 2416 2417 2417 if ( 'trash' != $the_comment_status ) { 2418 2418 $actions['edit'] = "<a href='comment.php?action=editcomment&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 Edit' ) . '</a>'; 2420 2420 if ( 'spam' != $the_comment_status ) 2421 2421 $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>'; 2422 2422 } -
wp-admin/includes/media.php
870 870 $html .= "<label for='{$css_id}'>$label</label>"; 871 871 // only show the dimensions if that choice is available 872 872 if ( $enabled ) 873 $html .= " <label for='{$css_id}' class='help'>" . sprintf( "(%d& nbsp;× %d)", $downsize[1], $downsize[2] ). "</label>";873 $html .= " <label for='{$css_id}' class='help'>" . sprintf( "(%d × %d)", $downsize[1], $downsize[2] ). "</label>"; 874 874 875 875 $html .= '</div>'; 876 876 … … 1217 1217 $media_dims = ''; 1218 1218 $meta = wp_get_attachment_metadata( $post->ID ); 1219 1219 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;× {$meta['height']}</span> ";1220 $media_dims .= "<span id='media-dims-$post->ID'>{$meta['width']} × {$meta['height']}</span> "; 1221 1221 $media_dims = apply_filters( 'media_meta', $media_dims, $post ); 1222 1222 1223 1223 $image_edit_button = ''; … … 1495 1495 <div> 1496 1496 <?php _e( 'Choose files to upload' ); ?> 1497 1497 <div id="flash-browse-button"></div> 1498 <span><input id="cancel-upload" disabled="disabled" on click="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> 1499 1499 </div> 1500 1500 <p class="media-upload-size"><?php printf( __( 'Maximum upload file size: %d%s' ), $upload_size_unit, $sizes[$u] ); ?></p> 1501 1501 <?php do_action('post-flash-upload-ui'); ?> … … 1507 1507 <?php do_action('pre-html-upload-ui'); ?> 1508 1508 <p id="async-upload-wrap"> 1509 1509 <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="#" on click="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> 1511 1511 </p> 1512 1512 <div class="clear"></div> 1513 1513 <p class="media-upload-size"><?php printf( __( 'Maximum upload file size: %d%s' ), $upload_size_unit, $sizes[$u] ); ?></p> … … 2056 2056 <td class="field"> 2057 2057 <input name="align" id="align-none" value="none" onclick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'none' ? ' checked="checked"' : '').' /> 2058 2058 <label for="align-none" class="align image-align-none-label">' . __('None') . '</label> 2059 <input name="align" id="align-left" value="left" on click="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"' : '').' /> 2060 2060 <label for="align-left" class="align image-align-left-label">' . __('Left') . '</label> 2061 <input name="align" id="align-center" value="center" on click="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"' : '').' /> 2062 2062 <label for="align-center" class="align image-align-center-label">' . __('Center') . '</label> 2063 <input name="align" id="align-right" value="right" on click="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"' : '').' /> 2064 2064 <label for="align-right" class="align image-align-right-label">' . __('Right') . '</label> 2065 2065 </td> 2066 2066 </tr> … … 2071 2071 </th> 2072 2072 <td class="field"><input id="url" name="url" value="" type="text" /><br /> 2073 2073 2074 <button type="button" class="button" value="" on click="document.forms[0].url.value=null">' . __('None') . '</button>2075 <button type="button" class="button" value="" on click="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> 2076 2076 <p class="help">' . __('Enter a link URL or click above for presets.') . '</p></td> 2077 2077 </tr> 2078 2078 ' . _insert_into_post_button('image') . ' … … 2181 2181 <tr> 2182 2182 <td></td> 2183 2183 <td> 2184 <input type="button" class="button" id="go_button" style="color:#bbb;" on click="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') . '" /> 2185 2185 </td> 2186 2186 </tr> 2187 2187 '; -
wp-admin/includes/meta-boxes.php
879 879 echo 'selected="selected"'; 880 880 echo('>'.$r.'</option>'); 881 881 } 882 ?></select>& nbsp;<?php _e('(Leave at 0 for no rating.)') ?>882 ?></select> <?php _e('(Leave at 0 for no rating.)') ?> 883 883 </td> 884 884 </tr> 885 885 </table> -
wp-admin/includes/misc.php
604 604 <table class="color-palette"> 605 605 <tr> 606 606 <?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 ?>"> </td> 608 608 <?php endforeach; ?> 609 609 </tr> 610 610 </table> -
wp-admin/includes/template.php
511 511 ?> 512 512 </select> 513 513 <input class="hide-if-js" type="text" id="metakeyinput" name="metakeyinput" tabindex="7" value="" /> 514 <a href="#postcustomstuff" class="hide-if-no-js" on click="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;"> 515 515 <span id="enternew"><?php _e('Enter new'); ?></span> 516 516 <span id="cancelnew" class="hidden"><?php _e('Cancel'); ?></span></a> 517 517 <?php } else { ?> … … 646 646 continue; 647 647 } 648 648 } 649 $pad = str_repeat( '& nbsp;', $level * 3 );649 $pad = str_repeat( ' ', $level * 3 ); 650 650 if ( $item->ID == $default) 651 651 $current = ' selected="selected"'; 652 652 else … … 1336 1336 <?php wp_nonce_field( 'find-posts', '_ajax_nonce', false ); ?> 1337 1337 <label class="screen-reader-text" for="find-posts-input"><?php _e( 'Search' ); ?></label> 1338 1338 <input type="text" id="find-posts-input" name="ps" value="" /> 1339 <input type="button" on click="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 /> 1340 1340 1341 1341 <?php 1342 1342 $post_types = get_post_types( array('public' => true), 'objects' ); … … 1352 1352 <div id="find-posts-response"></div> 1353 1353 </div> 1354 1354 <div class="find-box-buttons"> 1355 <input type="button" class="button alignleft" on click="findPosts.close();" value="<?php esc_attr_e('Close'); ?>" />1355 <input type="button" class="button alignleft" onClick="findPosts.close();" value="<?php esc_attr_e('Close'); ?>" /> 1356 1356 <input id="find-posts-submit" type="submit" class="button-primary alignright" value="<?php esc_attr_e('Select'); ?>" /> 1357 1357 </div> 1358 1358 </div> -
wp-admin/js/plugin-install.dev.js
25 25 tb_click.call(this); 26 26 27 27 $('#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> ' + $(this).attr('title') ); 29 29 return false; 30 30 }); 31 31 -
wp-admin/js/post.dev.js
55 55 if ( disabled ) 56 56 txt = '<span>' + val + '</span> '; 57 57 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> ' + val + '</span> '; 59 59 tagchecklist.append(txt); 60 60 if ( ! disabled ) 61 61 $( '#' + button_id ).click( function(){ tagBox.parseTags(this); }); -
wp-admin/js/tags.dev.js
52 52 // Create an indent for the Parent field 53 53 var indent = ''; 54 54 for ( var i = 0; i < res.responses[1].position; i++ ) 55 indent += '& nbsp; ';55 indent += '   '; 56 56 57 57 form.find('select#parent option:selected').after('<option value="' + term['term_id'] + '">' + indent + term['name'] + '</option>'); 58 58 } -
wp-admin/js/theme-preview.dev.js
38 38 if ( alink.length ) { 39 39 url = alink.attr('href') || ''; 40 40 text = alink.attr('title') || ''; 41 link = '& nbsp; <a href="' + url + '" target="_top" class="tb-theme-preview-link">' + text + '</a>';41 link = '  <a href="' + url + '" target="_top" class="tb-theme-preview-link">' + text + '</a>'; 42 42 } else { 43 43 text = $(this).attr('title') || ''; 44 link = '& nbsp; <span class="tb-theme-preview-link">' + text + '</span>';44 link = '  <span class="tb-theme-preview-link">' + text + '</span>'; 45 45 } 46 46 47 47 $('#TB_title').css({'background-color':'#222','color':'#dfdfdf'}); -
wp-admin/maint/repair.php
45 45 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…"; 46 46 $repair = $wpdb->get_row("REPAIR TABLE $table"); 47 47 if ( 'OK' == $check->Msg_text ) { 48 echo "<br />& nbsp; Successfully repaired the $table table.";48 echo "<br />    Successfully repaired the $table table."; 49 49 } else { 50 echo "<br />& nbsp; Failed to repair the $table table. Error: $check->Msg_text<br />";50 echo "<br />    Failed to repair the $table table. Error: $check->Msg_text<br />"; 51 51 $problems["$table"] = $check->Msg_text; 52 52 $okay = false; 53 53 } … … 55 55 if ( $okay && $optimize ) { 56 56 $check = $wpdb->get_row("ANALYZE TABLE $table"); 57 57 if ( 'Table is already up to date' == $check->Msg_text ) { 58 echo "<br />& nbsp; The $table table is already optimized.";58 echo "<br />    The $table table is already optimized."; 59 59 } else { 60 60 $check = $wpdb->get_row("OPTIMIZE TABLE $table"); 61 61 if ( 'OK' == $check->Msg_text || 'Table is already up to date' == $check->Msg_text ) 62 echo "<br />& nbsp; Successfully optimized the $table table.";62 echo "<br />    Successfully optimized the $table table."; 63 63 else 64 echo "<br />& nbsp; Failed to optimize the $table table. Error: $check->Msg_text";64 echo "<br />    Failed to optimize the $table table. Error: $check->Msg_text"; 65 65 } 66 66 } 67 67 echo '</p>'; -
wp-admin/network/sites.php
307 307 <p class="description"><?php _e( 'Enter the username of an existing user and hit “Update Options” to add the user.' ) ?></p> 308 308 <table class="form-table"> 309 309 <tr> 310 <th scope="row"><?php _e( 'User& nbsp;Login:' ) ?></th>310 <th scope="row"><?php _e( 'User Login:' ) ?></th> 311 311 <td><input type="text" name="newuser" id="newuser" /></td> 312 312 </tr> 313 313 <tr> -
wp-admin/network/themes.php
73 73 <tr valign="top" class="<?php echo $class . ' ' . $class1; ?>"> 74 74 <td> 75 75 <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; 76     77 77 <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> 78 78 </td> 79 79 <th scope="row" style="text-align:left;"><?php echo $key ?></th> -
wp-admin/update-core.php
58 58 echo '<input name="version" value="'. esc_attr($update->current) .'" type="hidden"/>'; 59 59 echo '<input name="locale" value="'. esc_attr($update->locale) .'" type="hidden"/>'; 60 60 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" /> '; 62 echo '<a href="' . esc_url($update->package) . '" class="button">' . $download . '</a> '; 63 63 } 64 64 if ( 'en_US' != $update->locale ) 65 65 if ( !isset( $update->dismissed ) || !$update->dismissed ) -
wp-admin/widgets.php
280 280 foreach ( $wp_registered_sidebars as $sbname => $sbvalue ) { 281 281 echo "\t\t<tr><td><label><input type='radio' name='sidebar' value='" . esc_attr($sbname) . "'" . checked( $sbname, $sidebar, false ) . " /> $sbvalue[name]</label></td><td>"; 282 282 if ( 'wp_inactive_widgets' == $sbname ) { 283 echo '& nbsp;';283 echo ' '; 284 284 } else { 285 285 if ( !isset($sidebars_widgets[$sbname]) || !is_array($sidebars_widgets[$sbname]) ) { 286 286 $j = 1; -
wp-includes/classes.php
1261 1261 * @param array $args Uses 'selected' argument for selected page to set selected HTML attribute for option element. 1262 1262 */ 1263 1263 function start_el(&$output, $page, $depth, $args) { 1264 $pad = str_repeat('& nbsp;', $depth * 3);1264 $pad = str_repeat(' ', $depth * 3); 1265 1265 1266 1266 $output .= "\t<option class=\"level-$depth\" value=\"$page->ID\""; 1267 1267 if ( $page->ID == $args['selected'] ) … … 1453 1453 * @param array $args Uses 'selected', 'show_count', and 'show_last_update' keys, if they exist. 1454 1454 */ 1455 1455 function start_el(&$output, $category, $depth, $args) { 1456 $pad = str_repeat('& nbsp;', $depth * 3);1456 $pad = str_repeat(' ', $depth * 3); 1457 1457 1458 1458 $cat_name = apply_filters('list_cats', $category->name, $category); 1459 1459 $output .= "\t<option class=\"level-$depth\" value=\"".$category->term_id."\""; … … 1462 1462 $output .= '>'; 1463 1463 $output .= $pad.$cat_name; 1464 1464 if ( $args['show_count'] ) 1465 $output .= '& nbsp; ('. $category->count .')';1465 $output .= '  ('. $category->count .')'; 1466 1466 if ( $args['show_last_update'] ) { 1467 1467 $format = 'Y-m-d'; 1468 $output .= '& nbsp; ' . gmdate($format, $category->last_update_timestamp);1468 $output .= '  ' . gmdate($format, $category->last_update_timestamp); 1469 1469 } 1470 1470 $output .= "</option>\n"; 1471 1471 } -
wp-includes/comment-template.php
1366 1366 <div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"> 1367 1367 <?php 1368 1368 /* 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; ','' );1369 printf( __('%1$s at %2$s'), get_comment_date(), get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),'  ','' ); 1370 1370 ?> 1371 1371 </div> 1372 1372 -
wp-includes/default-widgets.php
334 334 335 335 function widget( $args, $instance ) { 336 336 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']) ? ' ' : $instance['title'], $instance, $this->id_base); 338 338 echo $before_widget; 339 339 if ( $title ) 340 340 echo $before_title . $title . $after_title; … … 406 406 407 407 <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> 408 408 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); ?> /> <label for="<?php echo $this->get_field_id('filter'); ?>"><?php _e('Automatically add paragraphs'); ?></label></p> 410 410 <?php 411 411 } 412 412 } -
wp-includes/general-template.php
924 924 /* translators: 1: month name, 2: 4-digit year */ 925 925 $text = sprintf(__('%1$s %2$d'), $wp_locale->get_month($arcresult->month), $arcresult->year); 926 926 if ( $show_post_count ) 927 $after = '& nbsp;('.$arcresult->posts.')' . $afterafter;927 $after = ' ('.$arcresult->posts.')' . $afterafter; 928 928 $output .= get_archives_link($url, $text, $format, $before, $after); 929 929 } 930 930 } … … 945 945 $url = get_year_link($arcresult->year); 946 946 $text = sprintf('%d', $arcresult->year); 947 947 if ($show_post_count) 948 $after = '& nbsp;('.$arcresult->posts.')' . $afterafter;948 $after = ' ('.$arcresult->posts.')' . $afterafter; 949 949 $output .= get_archives_link($url, $text, $format, $before, $after); 950 950 } 951 951 } … … 967 967 $date = sprintf('%1$d-%2$02d-%3$02d 00:00:00', $arcresult->year, $arcresult->month, $arcresult->dayofmonth); 968 968 $text = mysql2date($archive_day_date_format, $date); 969 969 if ($show_post_count) 970 $after = '& nbsp;('.$arcresult->posts.')'.$afterafter;970 $after = ' ('.$arcresult->posts.')'.$afterafter; 971 971 $output .= get_archives_link($url, $text, $format, $before, $after); 972 972 } 973 973 } … … 996 996 $url = sprintf('%1$s/%2$s%3$sm%4$s%5$s%6$sw%7$s%8$d', home_url(), '', '?', '=', $arc_year, '&', '=', $arcresult->week); 997 997 $text = $arc_week_start . $archive_week_separator . $arc_week_end; 998 998 if ($show_post_count) 999 $after = '& nbsp;('.$arcresult->posts.')'.$afterafter;999 $after = ' ('.$arcresult->posts.')'.$afterafter; 1000 1000 $output .= get_archives_link($url, $text, $format, $before, $after); 1001 1001 } 1002 1002 } … … 1159 1159 if ( $previous ) { 1160 1160 $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))) . '">« ' . $wp_locale->get_month_abbrev($wp_locale->get_month($previous->month)) . '</a></td>'; 1161 1161 } 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"> </td>'; 1163 1163 } 1164 1164 1165 $calendar_output .= "\n\t\t".'<td class="pad">& nbsp;</td>';1165 $calendar_output .= "\n\t\t".'<td class="pad"> </td>'; 1166 1166 1167 1167 if ( $next ) { 1168 1168 $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)) . ' »</a></td>'; 1169 1169 } 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"> </td>'; 1171 1171 } 1172 1172 1173 1173 $calendar_output .= ' … … 1222 1222 // See how much we should pad in the beginning 1223 1223 $pad = calendar_week_mod(date('w', $unixmonth)-$week_begins); 1224 1224 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"> </td>'; 1226 1226 1227 1227 $daysinmonth = intval(date('t', $unixmonth)); 1228 1228 for ( $day = 1; $day <= $daysinmonth; ++$day ) { … … 1247 1247 1248 1248 $pad = 7 - calendar_week_mod(date('w', mktime(0, 0 , 0, $thismonth, $day, $thisyear))-$week_begins); 1249 1249 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) .'"> </td>'; 1251 1251 1252 1252 $calendar_output .= "\n\t</tr>\n\t</tbody>\n\t</table>"; 1253 1253 -
wp-includes/js/colorpicker.dev.js
681 681 if ((i % width) == 0) { cp_contents += "<tr>"; } 682 682 if (use_highlight) { var mo = 'onMouseOver="'+windowRef+'ColorPicker_highlightColor(\''+colors[i]+'\',window.document)"'; } 683 683 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+'> </a></td>'; 685 685 if ( ((i+1)>=total) || (((i+1) % width) == 0)) { 686 686 cp_contents += "</tr>"; 687 687 } … … 690 690 if (document.getElementById) { 691 691 var width1 = Math.floor(width/2); 692 692 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'> </td><td colspan='"+width2+"' style='text-align: center;' id='colorPickerSelectedColorValue'>#FFFFFF</td></tr>"; 694 694 } 695 695 cp_contents += "</table>"; 696 696 if (windowMode) { -
wp-includes/js/tinymce/plugins/media/media.htm
44 44 <table border="0" cellspacing="0" cellpadding="0"> 45 45 <tr> 46 46 <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"> </td> 48 48 </tr> 49 49 </table> 50 50 </td> … … 59 59 <table border="0" cellpadding="0" cellspacing="0"> 60 60 <tr> 61 61 <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; <input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td>62 <td>  <input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td> 63 63 <td><label id="constrainlabel" for="constrain">{#media_dlg.constrain_proportions}</label></td> 64 64 </tr> 65 65 </table> … … 103 103 <table border="0" cellpadding="0" cellspacing="0"> 104 104 <tr> 105 105 <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"> </td> 107 107 </tr> 108 108 </table> 109 109 </td> … … 437 437 </select> 438 438 </td> 439 439 440 <td colspan="2">& nbsp;</td>440 <td colspan="2"> </td> 441 441 </tr> 442 442 443 443 <tr> … … 470 470 <table border="0" cellspacing="0" cellpadding="0"> 471 471 <tr> 472 472 <td><input type="text" id="qt_qtsrc" name="qt_qtsrc" onchange="generatePreview();" /></td> 473 <td id="qtsrcfilebrowsercontainer">& nbsp;</td>473 <td id="qtsrcfilebrowsercontainer"> </td> 474 474 </tr> 475 475 </table> 476 476 </td> … … 699 699 </table> 700 700 </td> 701 701 702 <td colspan="2"> 703 702 <td colspan="2">  703 704 704 </td> 705 705 </tr> 706 706 -
wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.dev.js
73 73 var DL, DIV, P; 74 74 75 75 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', {}, ' '); 77 77 if ( (DIV = DL.parentNode) && DIV.nodeName == 'DIV' ) 78 78 ed.dom.insertAfter( P, DIV ); 79 79 else -
wp-includes/js/tinymce/themes/advanced/about.htm
38 38 <div id="plugintablecontainer"> 39 39 </div> 40 40 41 <p>& nbsp;</p>41 <p> </p> 42 42 </div> 43 43 </div> 44 44 -
wp-includes/js/tinymce/themes/advanced/charmap.htm
18 18 <td width="100" align="center" valign="top"> 19 19 <table border="0" cellpadding="0" cellspacing="0" width="100" style="height:100px"> 20 20 <tr> 21 <td id="codeV">& nbsp;</td>21 <td id="codeV"> </td> 22 22 </tr> 23 23 <tr> 24 <td id="codeN">& nbsp;</td>24 <td id="codeN"> </td> 25 25 </tr> 26 26 </table> 27 27 </td> … … 33 33 <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;">HTML-Code</td> 34 34 </tr> 35 35 <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"> </td> 37 37 </tr> 38 38 <tr> 39 <td style="font-size: 1px;">& nbsp;</td>39 <td style="font-size: 1px;"> </td> 40 40 </tr> 41 41 <tr> 42 42 <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;">NUM-Code</td> 43 43 </tr> 44 44 <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"> </td> 46 46 </tr> 47 47 </table> 48 48 </td> -
wp-includes/js/tinymce/themes/advanced/image.htm
23 23 <td><table border="0" cellspacing="0" cellpadding="0"> 24 24 <tr> 25 25 <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"> </td> 27 27 </tr> 28 28 </table></td> 29 29 </tr> -
wp-includes/js/tinymce/themes/advanced/js/charmap.js
288 288 if (cols % charsPerRow > 0) { 289 289 var padd = charsPerRow - (cols % charsPerRow); 290 290 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"> </td>'; 292 292 } 293 293 294 294 html += '</tr></table>'; -
wp-includes/js/tinymce/themes/advanced/link.htm
25 25 <td><table border="0" cellspacing="0" cellpadding="0"> 26 26 <tr> 27 27 <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"> </td> 29 29 </tr> 30 30 </table></td> 31 31 </tr> -
wp-includes/js/tinymce/utils/form_utils.js
13 13 var h = ""; 14 14 15 15 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') + '"> </span></a>'; 17 17 18 18 return h; 19 19 } … … 50 50 51 51 html = ""; 52 52 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') + '"> </span></a>'; 54 54 55 55 return html; 56 56 } -
wp-includes/wp-diff.php
128 128 * @return string 129 129 */ 130 130 function emptyLine() { 131 return '<td colspan="2">& nbsp;</td>';131 return '<td colspan="2"> </td>'; 132 132 } 133 133 134 134 /** -
wp-signup.php
136 136 _e( '(Must be at least 4 characters, letters and numbers only.)' ); 137 137 ?> 138 138 139 <label for="user_email"><?php _e( 'Email& nbsp;Address:' ) ?></label>139 <label for="user_email"><?php _e( 'Email Address:' ) ?></label> 140 140 <?php if ( $errmsg = $errors->get_error_message('user_email') ) { ?> 141 141 <p class="error"><?php echo $errmsg ?></p> 142 142 <?php } ?>