mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 23:27:39 +02:00
Docs: Clarify that $name
and $value
parameters of set_user_setting()
can contain hyphens.
Props tmatsuur. Fixes #47938. Built from https://develop.svn.wordpress.org/trunk@45899 git-svn-id: http://core.svn.wordpress.org/trunk@45710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8750097e4b
commit
6a7baa24a6
@ -969,7 +969,7 @@ function get_user_setting( $name, $default = false ) {
|
|||||||
/**
|
/**
|
||||||
* Add or update user interface setting.
|
* Add or update user interface setting.
|
||||||
*
|
*
|
||||||
* Both $name and $value can contain only ASCII letters, numbers and underscores.
|
* Both $name and $value can contain only ASCII letters, numbers, hyphens, and underscores.
|
||||||
*
|
*
|
||||||
* This function has to be used before any output has started as it calls setcookie().
|
* This function has to be used before any output has started as it calls setcookie().
|
||||||
*
|
*
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-alpha-45898';
|
$wp_version = '5.3-alpha-45899';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user