`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. Built from https://develop.svn.wordpress.org/trunk@28497 git-svn-id: http://core.svn.wordpress.org/trunk@28323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1383990ae2
commit
130771a383
|
@ -71,7 +71,7 @@ if ( !defined('ABSPATH') )
|
||||||
|
|
||||||
<div id="postbox-container-1" class="postbox-container">
|
<div id="postbox-container-1" class="postbox-container">
|
||||||
<div id="submitdiv" class="stuffbox" >
|
<div id="submitdiv" class="stuffbox" >
|
||||||
<h3><span class='hndle'><?php _e('Status') ?></span></h3>
|
<h3><span class="hndle"><?php _e('Status') ?></span></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<div class="submitbox" id="submitcomment">
|
<div class="submitbox" id="submitcomment">
|
||||||
<div id="minor-publishing">
|
<div id="minor-publishing">
|
||||||
|
|
|
@ -420,7 +420,7 @@ class WP_List_Table {
|
||||||
|
|
||||||
$m = isset( $_GET['m'] ) ? (int) $_GET['m'] : 0;
|
$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>
|
<option<?php selected( $m, 0 ); ?> value='0'><?php _e( 'All dates' ); ?></option>
|
||||||
<?php
|
<?php
|
||||||
foreach ( $months as $arc_row ) {
|
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';
|
$post_owner = ( get_current_user_id() == $post->post_author ) ? 'self' : 'other';
|
||||||
$att_title = _draft_or_post_title();
|
$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
|
<?php
|
||||||
|
|
||||||
list( $columns, $hidden ) = $this->get_column_info();
|
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 ); ?>">
|
<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>
|
</a>
|
||||||
|
|
||||||
<h3><?php echo $name; ?></h3>
|
<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' ) ) : ?>
|
<?php if ( current_user_can( 'promote_users' ) ) : ?>
|
||||||
<label class="screen-reader-text" for="new_role"><?php _e( 'Change role to…' ) ?></label>
|
<label class="screen-reader-text" for="new_role"><?php _e( 'Change role to…' ) ?></label>
|
||||||
<select name="new_role" id="new_role">
|
<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(); ?>
|
<?php wp_dropdown_roles(); ?>
|
||||||
</select>
|
</select>
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -186,16 +186,16 @@ function wp_dashboard() {
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div id="dashboard-widgets" class="metabox-holder<?php echo $columns_css; ?>">
|
<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', '' ); ?>
|
<?php do_meta_boxes( $screen->id, 'normal', '' ); ?>
|
||||||
</div>
|
</div>
|
||||||
<div id='postbox-container-2' class='postbox-container'>
|
<div id="postbox-container-2" class="postbox-container">
|
||||||
<?php do_meta_boxes( $screen->id, 'side', '' ); ?>
|
<?php do_meta_boxes( $screen->id, 'side', '' ); ?>
|
||||||
</div>
|
</div>
|
||||||
<div id='postbox-container-3' class='postbox-container'>
|
<div id="postbox-container-3" class="postbox-container">
|
||||||
<?php do_meta_boxes( $screen->id, 'column3', '' ); ?>
|
<?php do_meta_boxes( $screen->id, 'column3', '' ); ?>
|
||||||
</div>
|
</div>
|
||||||
<div id='postbox-container-4' class='postbox-container'>
|
<div id="postbox-container-4" class="postbox-container">
|
||||||
<?php do_meta_boxes( $screen->id, 'column4', '' ); ?>
|
<?php do_meta_boxes( $screen->id, 'column4', '' ); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -2295,7 +2295,7 @@ if ( empty($_GET['post_mime_type']) || $_GET['post_mime_type'] == 'all' )
|
||||||
$class = ' class="current"';
|
$class = ' class="current"';
|
||||||
else
|
else
|
||||||
$class = '';
|
$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 ) {
|
foreach ( $post_mime_types as $mime_type => $label ) {
|
||||||
$class = '';
|
$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']) )
|
if ( isset($_GET['post_mime_type']) && wp_match_mime_types($mime_type, $_GET['post_mime_type']) )
|
||||||
$class = ' class="current"';
|
$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.
|
* 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-taken-over">
|
||||||
<div class="post-locked-avatar"></div>
|
<div class="post-locked-avatar"></div>
|
||||||
<p class="wp-tab-first" tabindex="0">
|
<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-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>
|
<span class="locked-saved hidden"><?php _e('Your latest changes were saved as a revision.'); ?></span>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -117,7 +117,7 @@ if ( current_user_can( 'upload_files' ) ) { ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="media-single">
|
<div class="media-single">
|
||||||
<div id='media-item-<?php echo $att_id; ?>' class='media-item'>
|
<div id="media-item-<?php echo $att_id; ?>" class="media-item">
|
||||||
<?php echo get_media_item( $att_id, array( 'toggle' => false, 'send' => false, 'delete' => false, 'show_title' => false, 'errors' => !empty($errors[$att_id]) ? $errors[$att_id] : null ) ); ?>
|
<?php echo get_media_item( $att_id, array( 'toggle' => false, 'send' => false, 'delete' => false, 'show_title' => false, 'errors' => !empty($errors[$att_id]) ? $errors[$att_id] : null ) ); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -219,11 +219,11 @@ function network_step1( $errors = false ) {
|
||||||
<?php // @todo: Link to an MS readme? ?>
|
<?php // @todo: Link to an MS readme? ?>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr>
|
<tr>
|
||||||
<th><label><input type='radio' name='subdomain_install' value='1'<?php checked( $subdomain_install ); ?> /> <?php _e( 'Sub-domains' ); ?></label></th>
|
<th><label><input type="radio" name="subdomain_install" value="1"<?php checked( $subdomain_install ); ?> /> <?php _e( 'Sub-domains' ); ?></label></th>
|
||||||
<td><?php printf( _x( 'like <code>site1.%1$s</code> and <code>site2.%1$s</code>', 'subdomain examples' ), $hostname ); ?></td>
|
<td><?php printf( _x( 'like <code>site1.%1$s</code> and <code>site2.%1$s</code>', 'subdomain examples' ), $hostname ); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th><label><input type='radio' name='subdomain_install' value='0'<?php checked( ! $subdomain_install ); ?> /> <?php _e( 'Sub-directories' ); ?></label></th>
|
<th><label><input type="radio" name="subdomain_install" value="0"<?php checked( ! $subdomain_install ); ?> /> <?php _e( 'Sub-directories' ); ?></label></th>
|
||||||
<td><?php printf( _x( 'like <code>%1$s/site1</code> and <code>%1$s/site2</code>', 'subdirectory examples' ), $hostname ); ?></td>
|
<td><?php printf( _x( 'like <code>%1$s/site1</code> and <code>%1$s/site2</code>', 'subdirectory examples' ), $hostname ); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -138,7 +138,7 @@ if ( ! empty( $messages ) ) {
|
||||||
} else {
|
} else {
|
||||||
switch_to_blog( $id );
|
switch_to_blog( $id );
|
||||||
?>
|
?>
|
||||||
<td><input name="blog[path]" type="text" id="path" value="<?php echo esc_attr( $details->path ) ?>" size="40" style='margin-bottom:5px;' />
|
<td><input name="blog[path]" type="text" id="path" value="<?php echo esc_attr( $details->path ) ?>" size="40" style="margin-bottom:5px;" />
|
||||||
<br /><input type="checkbox" style="width:20px;" name="update_home_url" value="update" <?php if ( get_option( 'siteurl' ) == untrailingslashit( get_blogaddress_by_id ($id ) ) || get_option( 'home' ) == untrailingslashit( get_blogaddress_by_id( $id ) ) ) echo 'checked="checked"'; ?> /> <?php _e( 'Update <code>siteurl</code> and <code>home</code> as well.' ); ?></td>
|
<br /><input type="checkbox" style="width:20px;" name="update_home_url" value="update" <?php if ( get_option( 'siteurl' ) == untrailingslashit( get_blogaddress_by_id ($id ) ) || get_option( 'home' ) == untrailingslashit( get_blogaddress_by_id( $id ) ) ) echo 'checked="checked"'; ?> /> <?php _e( 'Update <code>siteurl</code> and <code>home</code> as well.' ); ?></td>
|
||||||
<?php
|
<?php
|
||||||
restore_current_blog();
|
restore_current_blog();
|
||||||
|
|
|
@ -176,7 +176,7 @@ if ( ! wp_is_large_network( 'users' ) && apply_filters( 'show_network_site_users
|
||||||
|
|
||||||
require( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
require( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
||||||
|
|
||||||
<script type='text/javascript'>
|
<script type="text/javascript">
|
||||||
/* <![CDATA[ */
|
/* <![CDATA[ */
|
||||||
var current_site_id = <?php echo $id; ?>;
|
var current_site_id = <?php echo $id; ?>;
|
||||||
/* ]]> */
|
/* ]]> */
|
||||||
|
|
|
@ -28,7 +28,7 @@ function confirm_delete_users( $users ) {
|
||||||
<?php
|
<?php
|
||||||
wp_nonce_field( 'ms-users-delete' );
|
wp_nonce_field( 'ms-users-delete' );
|
||||||
$site_admins = get_super_admins();
|
$site_admins = get_super_admins();
|
||||||
$admin_out = "<option value='$current_user->ID'>$current_user->user_login</option>";
|
$admin_out = '<option value="' . $current_user->ID . '">' . $current_user->user_login . '</option>';
|
||||||
|
|
||||||
foreach ( ( $allusers = (array) $_POST['allusers'] ) as $key => $val ) {
|
foreach ( ( $allusers = (array) $_POST['allusers'] ) as $key => $val ) {
|
||||||
if ( $val != '' && $val != '0' ) {
|
if ( $val != '' && $val != '0' ) {
|
||||||
|
|
Loading…
Reference in New Issue