mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 19:56:49 +01:00
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:
parent
6c2d92c19f
commit
e53b79b726
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user