Fix variable name typo. Props ionfish. fixes #7471 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7f8c8b6ae7
commit
064b19958f
|
@ -341,7 +341,7 @@ function get_option( $setting ) {
|
|||
|
||||
if ( false === $value ) {
|
||||
if ( defined( 'WP_INSTALLING' ) )
|
||||
$supress = $wpdb->suppress_errors();
|
||||
$suppress = $wpdb->suppress_errors();
|
||||
// expected_slashed ($setting)
|
||||
$row = $wpdb->get_row( "SELECT option_value FROM $wpdb->options WHERE option_name = '$setting' LIMIT 1" );
|
||||
if ( defined( 'WP_INSTALLING' ) )
|
||||
|
|
Loading…
Reference in New Issue