From 537fcf4970259abe174be707536e76066a4139ea Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Wed, 9 Jun 2010 20:21:43 +0000 Subject: [PATCH] Improve phpDoc for add_settings_section. Fixes #13801 props frankieroberto. git-svn-id: https://develop.svn.wordpress.org/trunk@15180 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 687aa3777b..87442b87e7 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -2972,11 +2972,11 @@ function get_hidden_meta_boxes( $screen ) { * @since 2.7.0 * * @global $wp_settings_sections Storage array of all settings sections added to admin pages - + * * @param string $id Slug-name to identify the section. Used in the 'id' attribute of tags. * @param string $title Formatted title of the section. Shown as the heading for the section. - * @param string $callback Function that echo's out content for the section heading. - * @param string $page The slug-name of the settings page on which to show the section (general, reading, writing, ...). + * @param string $callback Function that echos out any content at the top of the section (between heading and fields). + * @param string $page The slug-name of the settings page on which to show the section. Built-in pages include 'general', 'reading', 'writing', 'discussion', 'media', etc. Create your own using add_options_page(); */ function add_settings_section($id, $title, $callback, $page) { global $wp_settings_sections;