Skip to content

Commit eef0d99

Browse files
committed
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
1 parent afe33f0 commit eef0d99

13 files changed

Lines changed: 18 additions & 18 deletions

src/wp-admin/edit-form-comment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171

7272
<div id="postbox-container-1" class="postbox-container">
7373
<div id="submitdiv" class="stuffbox" >
74-
<h3><span class='hndle'><?php _e('Status') ?></span></h3>
74+
<h3><span class="hndle"><?php _e('Status') ?></span></h3>
7575
<div class="inside">
7676
<div class="submitbox" id="submitcomment">
7777
<div id="minor-publishing">

src/wp-admin/includes/class-wp-list-table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ protected function months_dropdown( $post_type ) {
420420

421421
$m = isset( $_GET['m'] ) ? (int) $_GET['m'] : 0;
422422
?>
423-
<select name='m'>
423+
<select name="m">
424424
<option<?php selected( $m, 0 ); ?> value='0'><?php _e( 'All dates' ); ?></option>
425425
<?php
426426
foreach ( $months as $arc_row ) {

src/wp-admin/includes/class-wp-media-list-table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ protected function display_rows() {
207207
$post_owner = ( get_current_user_id() == $post->post_author ) ? 'self' : 'other';
208208
$att_title = _draft_or_post_title();
209209
?>
210-
<tr id='post-<?php echo $post->ID; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>'>
210+
<tr id="post-<?php echo $post->ID; ?>" class="<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>">
211211
<?php
212212

213213
list( $columns, $hidden ) = $this->get_column_info();

src/wp-admin/includes/class-wp-theme-install-list-table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ protected function single_row( $theme ) {
272272

273273
?>
274274
<a class="screenshot install-theme-preview" href="<?php echo esc_url( $preview_url ); ?>" title="<?php echo esc_attr( $preview_title ); ?>">
275-
<img src='<?php echo esc_url( $theme->screenshot_url ); ?>' width='150' />
275+
<img src="<?php echo esc_url( $theme->screenshot_url ); ?>" width="150" />
276276
</a>
277277

278278
<h3><?php echo $name; ?></h3>

src/wp-admin/includes/class-wp-users-list-table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public function extra_tablenav( $which ) {
208208
<?php if ( current_user_can( 'promote_users' ) ) : ?>
209209
<label class="screen-reader-text" for="new_role"><?php _e( 'Change role to&hellip;' ) ?></label>
210210
<select name="new_role" id="new_role">
211-
<option value=''><?php _e( 'Change role to&hellip;' ) ?></option>
211+
<option value=""><?php _e( 'Change role to&hellip;' ) ?></option>
212212
<?php wp_dropdown_roles(); ?>
213213
</select>
214214
<?php

src/wp-admin/includes/dashboard.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,16 +186,16 @@ function wp_dashboard() {
186186

187187
?>
188188
<div id="dashboard-widgets" class="metabox-holder<?php echo $columns_css; ?>">
189-
<div id='postbox-container-1' class='postbox-container'>
189+
<div id="postbox-container-1" class="postbox-container">
190190
<?php do_meta_boxes( $screen->id, 'normal', '' ); ?>
191191
</div>
192-
<div id='postbox-container-2' class='postbox-container'>
192+
<div id="postbox-container-2" class="postbox-container">
193193
<?php do_meta_boxes( $screen->id, 'side', '' ); ?>
194194
</div>
195-
<div id='postbox-container-3' class='postbox-container'>
195+
<div id="postbox-container-3" class="postbox-container">
196196
<?php do_meta_boxes( $screen->id, 'column3', '' ); ?>
197197
</div>
198-
<div id='postbox-container-4' class='postbox-container'>
198+
<div id="postbox-container-4" class="postbox-container">
199199
<?php do_meta_boxes( $screen->id, 'column4', '' ); ?>
200200
</div>
201201
</div>

src/wp-admin/includes/media.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2295,7 +2295,7 @@ function media_upload_library_form($errors) {
22952295
$class = ' class="current"';
22962296
else
22972297
$class = '';
2298-
$type_links[] = "<li><a href='" . esc_url(add_query_arg(array('post_mime_type'=>'all', 'paged'=>false, 'm'=>false))) . "'$class>".__('All Types')."</a>";
2298+
$type_links[] = '<li><a href="' . esc_url(add_query_arg(array('post_mime_type'=>'all', 'paged'=>false, 'm'=>false))) . '"' . $class . '>' . __('All Types') . '</a>';
22992299
foreach ( $post_mime_types as $mime_type => $label ) {
23002300
$class = '';
23012301

@@ -2305,7 +2305,7 @@ function media_upload_library_form($errors) {
23052305
if ( isset($_GET['post_mime_type']) && wp_match_mime_types($mime_type, $_GET['post_mime_type']) )
23062306
$class = ' class="current"';
23072307

2308-
$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>';
2308+
$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>';
23092309
}
23102310
/**
23112311
* Filter the media upload mime type list items.

src/wp-admin/includes/post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,7 @@ function _admin_notice_post_locked() {
14681468
<div class="post-taken-over">
14691469
<div class="post-locked-avatar"></div>
14701470
<p class="wp-tab-first" tabindex="0">
1471-
<span class="currently-editing"></span><br>
1471+
<span class="currently-editing"></span><br />
14721472
<span class="locked-saving hidden"><img src="images/wpspin_light-2x.gif" width="16" height="16" /> <?php _e('Saving revision...'); ?></span>
14731473
<span class="locked-saved hidden"><?php _e('Your latest changes were saved as a revision.'); ?></span>
14741474
</p>

src/wp-admin/media.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
</p>
118118

119119
<div class="media-single">
120-
<div id='media-item-<?php echo $att_id; ?>' class='media-item'>
120+
<div id="media-item-<?php echo $att_id; ?>" class="media-item">
121121
<?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 ) ); ?>
122122
</div>
123123
</div>

src/wp-admin/network.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ function network_step1( $errors = false ) {
219219
<?php // @todo: Link to an MS readme? ?>
220220
<table class="form-table">
221221
<tr>
222-
<th><label><input type='radio' name='subdomain_install' value='1'<?php checked( $subdomain_install ); ?> /> <?php _e( 'Sub-domains' ); ?></label></th>
222+
<th><label><input type="radio" name="subdomain_install" value="1"<?php checked( $subdomain_install ); ?> /> <?php _e( 'Sub-domains' ); ?></label></th>
223223
<td><?php printf( _x( 'like <code>site1.%1$s</code> and <code>site2.%1$s</code>', 'subdomain examples' ), $hostname ); ?></td>
224224
</tr>
225225
<tr>
226-
<th><label><input type='radio' name='subdomain_install' value='0'<?php checked( ! $subdomain_install ); ?> /> <?php _e( 'Sub-directories' ); ?></label></th>
226+
<th><label><input type="radio" name="subdomain_install" value="0"<?php checked( ! $subdomain_install ); ?> /> <?php _e( 'Sub-directories' ); ?></label></th>
227227
<td><?php printf( _x( 'like <code>%1$s/site1</code> and <code>%1$s/site2</code>', 'subdirectory examples' ), $hostname ); ?></td>
228228
</tr>
229229
</table>

0 commit comments

Comments
 (0)