Options: Add missing since for register_setting argument.

[38635] added support for extra arguments on registration, but was not documented.

See #37885.

Built from https://develop.svn.wordpress.org/trunk@38676


git-svn-id: http://core.svn.wordpress.org/trunk@38619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan McCue 2016-09-29 21:12:27 +00:00
parent 6c2d92c19f
commit e53b79b726
2 changed files with 2 additions and 1 deletions

View File

@ -1768,6 +1768,7 @@ function user_can_access_admin_page() {
* Register a setting and its data.
*
* @since 2.7.0
* @since 4.7.0 `$args` can be passed to set flags on the setting, similar to `register_meta()`.
*
* @global array $new_whitelist_options
* @global array $wp_registered_settings

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-alpha-38675';
$wp_version = '4.7-alpha-38676';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.