Add phpdoc for default arg for get_option(). props amereservant, solarissmoke, fixes #17819.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c8cdb0cd3d
commit
01073d5f3c
|
@ -324,6 +324,7 @@ function is_serialized_string( $data ) {
|
||||||
* the option value.
|
* the option value.
|
||||||
*
|
*
|
||||||
* @param string $option Name of option to retrieve. Expected to not be SQL-escaped.
|
* @param string $option Name of option to retrieve. Expected to not be SQL-escaped.
|
||||||
|
* @param mixed $default Optional. Default value to return if the option does not exist.
|
||||||
* @return mixed Value set for the option.
|
* @return mixed Value set for the option.
|
||||||
*/
|
*/
|
||||||
function get_option( $option, $default = false ) {
|
function get_option( $option, $default = false ) {
|
||||||
|
|
Loading…
Reference in New Issue