From 01073d5f3c7b004e1d5d9fc973f8913ce88f88e0 Mon Sep 17 00:00:00 2001 From: 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: http://svn.automattic.com/wordpress/trunk@18658 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 ) {