Changeset 42228 for trunk/src/wp-admin/options.php
- Timestamp:
- 11/26/2017 11:56:25 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options.php
r42201 r42228 245 245 246 246 <div class="wrap"> 247 248 249 250 251 252 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"> 253 253 <?php 254 254 $options = $wpdb->get_results( "SELECT * FROM $wpdb->options ORDER BY option_name" ); … … 288 288 </tr> 289 289 <?php endforeach; ?> 290 290 </table> 291 291 292 292 <input type="hidden" name="page_options" value="<?php echo esc_attr( implode( ',', $options_to_update ) ); ?>" /> … … 294 294 <?php submit_button( __( 'Save Changes' ), 'primary', 'Update' ); ?> 295 295 296 296 </form> 297 297 </div> 298 298
Note: See TracChangeset
for help on using the changeset viewer.