diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 2825e4ebb1..d3cd3e4f3d 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1106,20 +1106,23 @@ function add_settings_field($id, $title, $callback, $page, $section = 'default', * * @param string $page The slug name of the page whos settings sections you want to output */ -function do_settings_sections($page) { +function do_settings_sections( $page ) { global $wp_settings_sections, $wp_settings_fields; - if ( !isset($wp_settings_sections) || !isset($wp_settings_sections[$page]) ) + if ( ! isset( $wp_settings_sections ) || !isset( $wp_settings_sections[$page] ) ) return; foreach ( (array) $wp_settings_sections[$page] as $section ) { if ( $section['title'] ) echo "