IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
1359 | 1359 | return true; |
1360 | 1360 | |
1361 | 1361 | $suppress = $wpdb->suppress_errors(); |
1362 | | if ( ! wp_installing() ) { |
1363 | | $alloptions = wp_load_alloptions(); |
1364 | | } |
| 1362 | |
1365 | 1363 | // If siteurl is not set to autoload, check it specifically |
1366 | | if ( !isset( $alloptions['siteurl'] ) ) |
1367 | | $installed = $wpdb->get_var( "SELECT option_value FROM $wpdb->options WHERE option_name = 'siteurl'" ); |
1368 | | else |
1369 | | $installed = $alloptions['siteurl']; |
| 1364 | $installed = get_option( 'siteurl' ); |
| 1365 | |
1370 | 1366 | $wpdb->suppress_errors( $suppress ); |
1371 | 1367 | |
1372 | 1368 | $installed = !empty( $installed ); |