From d893b9568c083535f7a382104199cd4f96cac7c1 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 9 Sep 2011 17:53:41 +0000 Subject: [PATCH] Add phpdoc for default arg for get_option(). props amereservant, solarissmoke, fixes #17819. git-svn-id: https://develop.svn.wordpress.org/trunk@18658 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index e3e89d5c30..e453c39431 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -324,6 +324,7 @@ function is_serialized_string( $data ) { * the option value. * * @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. */ function get_option( $option, $default = false ) {