Make WordPress Core

Changeset 28497


Ignore:
Timestamp:
05/19/2014 01:58:28 AM (10 years ago)
Author:
wonderboymusic
Message:

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.

Location:
trunk/src/wp-admin
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-comment.php

    r27325 r28497  
    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">
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r28493 r28497  
    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
  • trunk/src/wp-admin/includes/class-wp-media-list-table.php

    r28493 r28497  
    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
  • trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php

    r28493 r28497  
    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
  • trunk/src/wp-admin/includes/class-wp-users-list-table.php

    r28494 r28497  
    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>
  • trunk/src/wp-admin/includes/dashboard.php

    r28263 r28497  
    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>
  • trunk/src/wp-admin/includes/media.php

    r28407 r28497  
    22962296else
    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>';
    22992299foreach ( $post_mime_types as $mime_type => $label ) {
    23002300    $class = '';
     
    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/**
  • trunk/src/wp-admin/includes/post.php

    r28347 r28497  
    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>
  • trunk/src/wp-admin/media.php

    r27469 r28497  
    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>
  • trunk/src/wp-admin/network.php

    r28479 r28497  
    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>
  • trunk/src/wp-admin/network/site-info.php

    r27469 r28497  
    139139                switch_to_blog( $id );
    140140            ?>
    141             <td><input name="blog[path]" type="text" id="path" value="<?php echo esc_attr( $details->path ) ?>" size="40" style='margin-bottom:5px;' />
     141            <td><input name="blog[path]" type="text" id="path" value="<?php echo esc_attr( $details->path ) ?>" size="40" style="margin-bottom:5px;" />
    142142            <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>
    143143            <?php
  • trunk/src/wp-admin/network/site-users.php

    r27715 r28497  
    177177require( ABSPATH . 'wp-admin/admin-header.php' ); ?>
    178178
    179 <script type='text/javascript'>
     179<script type="text/javascript">
    180180/* <![CDATA[ */
    181181var current_site_id = <?php echo $id; ?>;
  • trunk/src/wp-admin/network/users.php

    r28309 r28497  
    2929    wp_nonce_field( 'ms-users-delete' );
    3030    $site_admins = get_super_admins();
    31     $admin_out = "<option value='$current_user->ID'>$current_user->user_login</option>";
     31    $admin_out = '<option value="' . $current_user->ID . '">' . $current_user->user_login . '</option>';
    3232
    3333    foreach ( ( $allusers = (array) $_POST['allusers'] ) as $key => $val ) {
Note: See TracChangeset for help on using the changeset viewer.