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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user