Ticket #28754: add-actions-to-general-settings.diff
File add-actions-to-general-settings.diff, 860 bytes (added by , 9 years ago) |
---|
-
wp-admin/options-general.php
87 87 <h2><?php echo esc_html( $title ); ?></h2> 88 88 89 89 <form method="post" action="options.php"> 90 90 91 <?php settings_fields('general'); ?> 91 92 93 <?php 94 /** 95 * Fires before a general settings page but inside the form. 96 * 97 * @since 4.0 98 */ 99 do_action( 'before_general_setting_page' ); ?> 100 92 101 <table class="form-table"> 93 102 <tr> 94 103 <th scope="row"><label for="blogname"><?php _e('Site Title') ?></label></th> … … 321 330 322 331 <?php do_settings_sections('general'); ?> 323 332 333 <?php 334 /** 335 * Fires after a general settings page but inside the form. 336 * 337 * @since 4.0 338 */ 339 do_action( 'after_general_setting_page' ); ?> 340 324 341 <?php submit_button(); ?> 325 342 </form> 326 343