mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-03 19:41:39 +00:00
Docs: Clarify that $name and $value parameters of set_user_setting() can contain hyphens.
Props tmatsuur. Fixes #47938. git-svn-id: https://develop.svn.wordpress.org/trunk@45899 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -969,7 +969,7 @@ function get_user_setting( $name, $default = false ) {
|
||||
/**
|
||||
* 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().
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user