mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
Docs: Further corrections and improvements to various inline docblocks.
See #49572 git-svn-id: https://develop.svn.wordpress.org/trunk@48576 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1542,7 +1542,7 @@ function do_accordion_sections( $screen, $context, $object ) {
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @global $wp_settings_sections Storage array of all settings sections added to admin pages.
|
||||
* @global array $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.
|
||||
@@ -1601,7 +1601,7 @@ function add_settings_section( $id, $title, $callback, $page ) {
|
||||
* @since 2.7.0
|
||||
* @since 4.2.0 The `$class` argument was added.
|
||||
*
|
||||
* @global $wp_settings_fields Storage array of settings fields and info about their pages/sections.
|
||||
* @global array $wp_settings_fields Storage array of settings fields and info about their pages/sections.
|
||||
*
|
||||
* @param string $id Slug-name to identify the field. Used in the 'id' attribute of tags.
|
||||
* @param string $title Formatted title of the field. Shown as the label for the field
|
||||
@@ -1666,8 +1666,8 @@ function add_settings_field( $id, $title, $callback, $page, $section = 'default'
|
||||
* to output all the sections and fields that were added to that $page with
|
||||
* add_settings_section() and add_settings_field()
|
||||
*
|
||||
* @global $wp_settings_sections Storage array of all settings sections added to admin pages.
|
||||
* @global $wp_settings_fields Storage array of settings fields and info about their pages/sections.
|
||||
* @global array $wp_settings_sections Storage array of all settings sections added to admin pages.
|
||||
* @global array $wp_settings_fields Storage array of settings fields and info about their pages/sections.
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @param string $page The slug name of the page whose settings sections you want to output.
|
||||
@@ -1704,7 +1704,7 @@ function do_settings_sections( $page ) {
|
||||
* a specific section. Should normally be called by do_settings_sections()
|
||||
* rather than directly.
|
||||
*
|
||||
* @global $wp_settings_fields Storage array of settings fields and their pages/sections.
|
||||
* @global array $wp_settings_fields Storage array of settings fields and their pages/sections.
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user