Docs: Miscellaneous docblock corrections and improvements.

See #51800.
Built from https://develop.svn.wordpress.org/trunk@49942


git-svn-id: http://core.svn.wordpress.org/trunk@49641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn
2021-01-07 14:17:11 +00:00
parent c38bdce55b
commit f0078d043e
7 changed files with 22 additions and 15 deletions

View File

@@ -2323,9 +2323,9 @@ function register_setting( $option_group, $option_name, $args = array() ) {
* @global array $new_allowed_options
* @global array $wp_registered_settings
*
* @param string $option_group The settings group name used during registration.
* @param string $option_name The name of the option to unregister.
* @param callable $deprecated Deprecated.
* @param string $option_group The settings group name used during registration.
* @param string $option_name The name of the option to unregister.
* @param callable|string $deprecated Deprecated.
*/
function unregister_setting( $option_group, $option_name, $deprecated = '' ) {
global $new_allowed_options, $wp_registered_settings;