mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
hackificator doesn't like mixed quote styles in some generated HTML. The switch from single to double allows these files to be parsed.
See #27881. git-svn-id: https://develop.svn.wordpress.org/trunk@28497 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -420,7 +420,7 @@ class WP_List_Table {
|
||||
|
||||
$m = isset( $_GET['m'] ) ? (int) $_GET['m'] : 0;
|
||||
?>
|
||||
<select name='m'>
|
||||
<select name="m">
|
||||
<option<?php selected( $m, 0 ); ?> value='0'><?php _e( 'All dates' ); ?></option>
|
||||
<?php
|
||||
foreach ( $months as $arc_row ) {
|
||||
|
||||
@@ -207,7 +207,7 @@ class WP_Media_List_Table extends WP_List_Table {
|
||||
$post_owner = ( get_current_user_id() == $post->post_author ) ? 'self' : 'other';
|
||||
$att_title = _draft_or_post_title();
|
||||
?>
|
||||
<tr id='post-<?php echo $post->ID; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>'>
|
||||
<tr id="post-<?php echo $post->ID; ?>" class="<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>">
|
||||
<?php
|
||||
|
||||
list( $columns, $hidden ) = $this->get_column_info();
|
||||
|
||||
@@ -272,7 +272,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table {
|
||||
|
||||
?>
|
||||
<a class="screenshot install-theme-preview" href="<?php echo esc_url( $preview_url ); ?>" title="<?php echo esc_attr( $preview_title ); ?>">
|
||||
<img src='<?php echo esc_url( $theme->screenshot_url ); ?>' width='150' />
|
||||
<img src="<?php echo esc_url( $theme->screenshot_url ); ?>" width="150" />
|
||||
</a>
|
||||
|
||||
<h3><?php echo $name; ?></h3>
|
||||
|
||||
@@ -208,7 +208,7 @@ class WP_Users_List_Table extends WP_List_Table {
|
||||
<?php if ( current_user_can( 'promote_users' ) ) : ?>
|
||||
<label class="screen-reader-text" for="new_role"><?php _e( 'Change role to…' ) ?></label>
|
||||
<select name="new_role" id="new_role">
|
||||
<option value=''><?php _e( 'Change role to…' ) ?></option>
|
||||
<option value=""><?php _e( 'Change role to…' ) ?></option>
|
||||
<?php wp_dropdown_roles(); ?>
|
||||
</select>
|
||||
<?php
|
||||
|
||||
@@ -186,16 +186,16 @@ function wp_dashboard() {
|
||||
|
||||
?>
|
||||
<div id="dashboard-widgets" class="metabox-holder<?php echo $columns_css; ?>">
|
||||
<div id='postbox-container-1' class='postbox-container'>
|
||||
<div id="postbox-container-1" class="postbox-container">
|
||||
<?php do_meta_boxes( $screen->id, 'normal', '' ); ?>
|
||||
</div>
|
||||
<div id='postbox-container-2' class='postbox-container'>
|
||||
<div id="postbox-container-2" class="postbox-container">
|
||||
<?php do_meta_boxes( $screen->id, 'side', '' ); ?>
|
||||
</div>
|
||||
<div id='postbox-container-3' class='postbox-container'>
|
||||
<div id="postbox-container-3" class="postbox-container">
|
||||
<?php do_meta_boxes( $screen->id, 'column3', '' ); ?>
|
||||
</div>
|
||||
<div id='postbox-container-4' class='postbox-container'>
|
||||
<div id="postbox-container-4" class="postbox-container">
|
||||
<?php do_meta_boxes( $screen->id, 'column4', '' ); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2295,7 +2295,7 @@ if ( empty($_GET['post_mime_type']) || $_GET['post_mime_type'] == 'all' )
|
||||
$class = ' class="current"';
|
||||
else
|
||||
$class = '';
|
||||
$type_links[] = "<li><a href='" . esc_url(add_query_arg(array('post_mime_type'=>'all', 'paged'=>false, 'm'=>false))) . "'$class>".__('All Types')."</a>";
|
||||
$type_links[] = '<li><a href="' . esc_url(add_query_arg(array('post_mime_type'=>'all', 'paged'=>false, 'm'=>false))) . '"' . $class . '>' . __('All Types') . '</a>';
|
||||
foreach ( $post_mime_types as $mime_type => $label ) {
|
||||
$class = '';
|
||||
|
||||
@@ -2305,7 +2305,7 @@ foreach ( $post_mime_types as $mime_type => $label ) {
|
||||
if ( isset($_GET['post_mime_type']) && wp_match_mime_types($mime_type, $_GET['post_mime_type']) )
|
||||
$class = ' class="current"';
|
||||
|
||||
$type_links[] = "<li><a href='" . esc_url(add_query_arg(array('post_mime_type'=>$mime_type, 'paged'=>false))) . "'$class>" . sprintf( translate_nooped_plural( $label[2], $num_posts[$mime_type] ), "<span id='$mime_type-counter'>" . number_format_i18n( $num_posts[$mime_type] ) . '</span>') . '</a>';
|
||||
$type_links[] = '<li><a href="' . esc_url(add_query_arg(array('post_mime_type'=>$mime_type, 'paged'=>false))) . '"' . $class . '>' . sprintf( translate_nooped_plural( $label[2], $num_posts[$mime_type] ), '<span id="' . $mime_type . '-counter">' . number_format_i18n( $num_posts[$mime_type] ) . '</span>') . '</a>';
|
||||
}
|
||||
/**
|
||||
* Filter the media upload mime type list items.
|
||||
|
||||
@@ -1468,7 +1468,7 @@ function _admin_notice_post_locked() {
|
||||
<div class="post-taken-over">
|
||||
<div class="post-locked-avatar"></div>
|
||||
<p class="wp-tab-first" tabindex="0">
|
||||
<span class="currently-editing"></span><br>
|
||||
<span class="currently-editing"></span><br />
|
||||
<span class="locked-saving hidden"><img src="images/wpspin_light-2x.gif" width="16" height="16" /> <?php _e('Saving revision...'); ?></span>
|
||||
<span class="locked-saved hidden"><?php _e('Your latest changes were saved as a revision.'); ?></span>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user