From 17954e7778669ae1283ac9b5e09429e5d69706c6 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 20 Sep 2022 20:30:03 +0000 Subject: [PATCH] Docs: Various improvements and corrections to inline docs. See #55646 git-svn-id: https://develop.svn.wordpress.org/trunk@54267 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/template.php | 2 +- src/wp-includes/cron.php | 12 ++++++------ src/wp-includes/functions.php | 7 +------ src/wp-includes/general-template.php | 1 + src/wp-includes/option.php | 6 +++--- src/wp-includes/post.php | 2 +- src/wp-includes/script-loader.php | 6 +++--- 7 files changed, 16 insertions(+), 20 deletions(-) diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 4e100e409a..b0c6cb362f 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -1649,7 +1649,7 @@ function add_settings_section( $id, $title, $callback, $page, $args = array() ) * @param string $section Optional. The slug-name of the section of the settings page * in which to show the box. Default 'default'. * @param array $args { - * Optional. Extra arguments used when outputting the field. + * Optional. Extra arguments that get passed to the callback function. * * @type string $label_for When supplied, the setting title will be wrapped * in a `