﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
7637,Pass default value to get_option(),azaozz,anonymous,"Allows a default value to be passed through get_option() and returned if the option is not set. So all of these would work well: 
{{{
$myarray = get_option( 'myarray', array('q', 'w', 'e') );
$myvar = get_option( 'myvar', '<p>My var is not set</p>' );
$mybool = get_option( 'mybool', true );
}}}
The second arg is optional and is fully backwards-compatible, get_option() will return false when the option is not set and default value is not specified. ",enhancement,closed,normal,2.7,General,,normal,fixed,,
