Skip to content
Browse files

Docs: Clarify that `$name` and `$value` parameters of `set_user_setti…

…ng()` can contain hyphens.

Props tmatsuur.
Fixes #47938.

git-svn-id: 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Aug 27, 2019
1 parent 62a8756 commit dea752ab65489e27c4c0a6d3c470c67ad5065201
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/wp-includes/option.php
@@ -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().

0 comments on commit dea752a

Please sign in to comment.
You can’t perform that action at this time.