WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/26/2017 11:56:25 PM (20 months ago)
Author:
pento
Message:

General: Fix some precision alignment formatting warnings.

The WPCS WordPress.WhiteSpace.PrecisionAlignment rule throws warnings for a bunch of code that will likely cause issues for wpcbf. Fixing these manually beforehand gives us better auto-fixed results later.

See #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options.php

    r42201 r42228  
    245245
    246246<div class="wrap">
    247   <h1><?php esc_html_e( 'All Settings' ); ?></h1>
    248   <form name="form" action="options.php" method="post" id="all-options">
    249   <?php wp_nonce_field('options-options') ?>
    250   <input type="hidden" name="action" value="update" />
    251   <input type="hidden" name="option_page" value="options" />
    252   <table class="form-table">
     247    <h1><?php esc_html_e( 'All Settings' ); ?></h1>
     248    <form name="form" action="options.php" method="post" id="all-options">
     249        <?php wp_nonce_field('options-options') ?>
     250        <input type="hidden" name="action" value="update" />
     251        <input type="hidden" name="option_page" value="options" />
     252        <table class="form-table">
    253253<?php
    254254$options = $wpdb->get_results( "SELECT * FROM $wpdb->options ORDER BY option_name" );
     
    288288</tr>
    289289<?php endforeach; ?>
    290   </table>
     290</table>
    291291
    292292<input type="hidden" name="page_options" value="<?php echo esc_attr( implode( ',', $options_to_update ) ); ?>" />
     
    294294<?php submit_button( __( 'Save Changes' ), 'primary', 'Update' ); ?>
    295295
    296   </form>
     296</form>
    297297</div>
    298298
Note: See TracChangeset for help on using the changeset viewer.