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:
nacin 2011-09-09 17:53:41 +00:00
parent c8cdb0cd3d
commit 01073d5f3c
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 ) {