scripts.mit.edu
/
autoinstalls
/
wordpress.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WordPress 4.5
[autoinstalls/wordpress.git]
/
wp-includes
/
option.php
diff --git
a/wp-includes/option.php
b/wp-includes/option.php
index 6d9fe645c61da24b94a2932cc03beaa24578c272..842981dd4850cc217452136df201209f723c398c 100644
(file)
--- a/
wp-includes/option.php
+++ b/
wp-includes/option.php
@@
-16,6
+16,9
@@
*
* If the option was serialized then it will be unserialized when it is returned.
*
*
* If the option was serialized then it will be unserialized when it is returned.
*
+ * Any scalar values will be returned as strings. You may coerce the return type of a given option by registering a
+ * 'option_{$option}' filter callback.
+ *
* @since 1.5.0
*
* @global wpdb $wpdb WordPress database abstraction object.
* @since 1.5.0
*
* @global wpdb $wpdb WordPress database abstraction object.