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
This commit is contained in:
Andrew Nacin 2011-09-09 17:53:41 +00:00
parent 4d2f247e41
commit d893b9568c
1 changed files with 1 additions and 0 deletions

View File

@ -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 ) {