| 1 | Index: wp-includes/functions.php
|
|---|
| 2 | ===================================================================
|
|---|
| 3 | --- wp-includes/functions.php (revision 2917)
|
|---|
| 4 | +++ wp-includes/functions.php (working copy)
|
|---|
| 5 | @@ -243,7 +243,7 @@
|
|---|
| 6 | if ('home' == $setting && '' == $cache_settings->home)
|
|---|
| 7 | return apply_filters('option_' . $setting, $cache_settings->siteurl);
|
|---|
| 8 |
|
|---|
| 9 | - if ( isset($cache_settings->$setting) ) :
|
|---|
| 10 | + if ( isset($cache_settings->setting) ) :
|
|---|
| 11 | return apply_filters('option_' . $setting, $cache_settings->$setting);
|
|---|
| 12 | else :
|
|---|
| 13 | // for these cases when we're asking for an unknown option
|
|---|
| 14 | @@ -1849,4 +1849,4 @@
|
|---|
| 15 | }
|
|---|
| 16 | }
|
|---|
| 17 |
|
|---|
| 18 | -?>
|
|---|
| 19 | \ No newline at end of file
|
|---|
| 20 | +?>
|
|---|