Fix variable name typo. Props ionfish. fixes #7471 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8570 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f70269ff48
commit
3937bd9530
|
@ -341,7 +341,7 @@ function get_option( $setting ) {
|
||||||
|
|
||||||
if ( false === $value ) {
|
if ( false === $value ) {
|
||||||
if ( defined( 'WP_INSTALLING' ) )
|
if ( defined( 'WP_INSTALLING' ) )
|
||||||
$supress = $wpdb->suppress_errors();
|
$suppress = $wpdb->suppress_errors();
|
||||||
// expected_slashed ($setting)
|
// expected_slashed ($setting)
|
||||||
$row = $wpdb->get_row( "SELECT option_value FROM $wpdb->options WHERE option_name = '$setting' LIMIT 1" );
|
$row = $wpdb->get_row( "SELECT option_value FROM $wpdb->options WHERE option_name = '$setting' LIMIT 1" );
|
||||||
if ( defined( 'WP_INSTALLING' ) )
|
if ( defined( 'WP_INSTALLING' ) )
|
||||||
|
|
Loading…
Reference in New Issue