get_blog_details( int|string|array $fields = null, bool $get_all = true ): WP_Site|false
- Since
- MU (3.0.0)
- Source
wp-includes/ms-blogs.php:133
Compatibility
- WordPress
- since MU (3.0.0)
- PHP
- 7.4–8.6-dev
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0), and compiles on PHP 7.4 through 8.6-dev.
Parameters
$fieldsint|string|arrayoptional- A blog ID, a blog slug, or an array of fields to query against.
Defaults to the current blog ID.Default:null $get_allbooloptional- Whether to retrieve all details or only the details in the blogs table.
Default is true.Default:true
Return value
WP_Site|false- Blog details on success. False on failure.
Performance profile
How much work a call to get_blog_details() does, and what it touches: the algorithmic scaling, the Zend instruction count per call across PHP versions, the hooks it hands control to, and the core code that calls it. Measured from the compiled opcodes, not a stopwatch, so every number is identical on any machine running the same PHP version, and every function in core is ranked by cost.
- Cost class
- Heavy
- Scaling
- Constant
- Instructions
- 12–173
- Plugin surface
- 1 hook
- Called by
- 0
Reaches the database via ->get_row().
No loop in the body: the same number of instructions runs whatever you pass in.
Executed per call on PHP 8.5, depending on the branch taken. The body compiles to 297.
Third-party callbacks on 'blog_details' run inside this call, and their cost is not bounded by anything here.
Nothing in core calls this; the cost is only what you spend yourself.
What it touches
- cacheobject cache
wp_cache_get()called directly - optionoption read or write
get_option()called directly - hookthird-party callbacks
apply_filters_deprecated()called directly - sqldatabase query
->get_row()called directly - serializeserialisation
maybe_unserialize()one call below get_blog_details()
Further down the call graph this can also reach query and transient. Those are the worst case, several calls deep and usually down an error path, not what a normal call pays.
What one call costs · 221 distinct outcomes
One number would be a lie: the work depends on which branch runs. These are every distinct cost get_blog_details() can have, taken from its control-flow graph on PHP 8.5.
| When | Instructions | Calls it makes |
|---|---|---|
is_array($fields) && !isset($fields) | 12–14 | none |
is_array($fields) && !is_subdomain_install() | 15–17 | is_subdomain_install() |
| always | 24–27 | wp_cache_get() |
!is_array($fields) | 25–28 | get_current_blog_id(), wp_cache_get() |
is_array($fields) && $blog !== false | 26 | md5(), wp_cache_get() |
is_array($fields) && is_subdomain_install() && $blog !== false | 27–29 | is_subdomain_install(), md5(), wp_cache_get() |
!is_array($fields) && !$fields | 28–31 | get_id_from_blogname(), wp_cache_get() |
| always | 31–34 | wp_cache_get(), wp_cache_get() |
!is_array($fields) | 32–35 | get_current_blog_id(), wp_cache_get(), wp_cache_get() |
!is_array($fields) && !$fields | 35–38 | get_id_from_blogname(), wp_cache_get(), wp_cache_get() |
!empty($details) | 40–46 | wp_cache_get(), wp_cache_get(), wp_cache_set() |
empty($details) | 41–51 | wp_cache_get(), wp_cache_get(), ::WP_Site(), wp_cache_set() |
209 further outcomes, up to 173 instructions
!is_array($fields) && !empty($details) | 41–47 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), wp_cache_set() |
!is_object($details) && $details !== -1 | 42–45 | wp_cache_get(), wp_cache_delete(), wp_cache_get() |
!is_array($fields) && empty($details) | 42–52 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), ::WP_Site(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 | 43–46 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get() |
!is_array($fields) && !$fields && !empty($details) | 44–50 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), wp_cache_set() |
!is_array($fields) && !$fields && empty($details) | 45–55 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), ::WP_Site(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false | 45–51 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 | 46–49 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get() |
is_array($fields) && $blog === false | 47–51 | md5(), wp_cache_get(), ->prepare(), ->get_row() |
!is_object($details) && $details !== -1 && !empty($details) | 50–55 | wp_cache_get(), wp_cache_get(), wp_cache_delete(), wp_cache_set() |
!is_object($details) && $details !== -1 && !empty($details) | 51–57 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_set() |
!is_object($details) && $details !== -1 && empty($details) | 51–60 | wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && !empty($details) | 51–56 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), wp_cache_set() |
!is_object($details) && $details !== -1 && empty($details) | 52–62 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && !empty($details) | 52–58 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && empty($details) | 52–61 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && empty($details) | 53–63 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && !empty($details) | 54–59 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && !empty($details) | 55–61 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && empty($details) | 55–64 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && empty($details) | 56–66 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), wp_cache_set() |
!is_object($details) && $details !== -1 && !empty($details) | 61–66 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), wp_cache_set() |
!is_object($details) && $details !== -1 && empty($details) | 62–71 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && !empty($details) | 62–67 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && empty($details) | 63–72 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && !empty($details) | 65–70 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && empty($details) | 66–75 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false | 68–77 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get() |
is_array($fields) && $blog === false | 70–77 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get() |
is_array($fields) && is_subdomain_install() && $blog === false | 75–84 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get() |
is_array($fields) && $blog === false | 77–84 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get() |
is_array($fields) && is_subdomain_install() && $blog === false && !empty($details) | 84–96 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && empty($details) | 85–101 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), ::WP_Site(), wp_cache_set() |
is_array($fields) && $blog === false && !empty($details) | 86–96 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 | 86–95 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get() |
!empty($details) && $blog_id === false | 86–92 | wp_cache_get(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && empty($details) | 87–101 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), ::WP_Site(), wp_cache_set() |
!is_array($fields) && !empty($details) && $blog_id === false | 87–93 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 | 88–95 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get() |
!empty($details) && $blog_id === false | 88–94 | wp_cache_get(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !empty($details) && $blog_id === false | 89–95 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!empty($details) && $blog_id !== false | 90–96 | wp_cache_get(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !empty($details) && $blog_id === false | 90–96 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
empty($details) && $blog_id === false | 91–97 | wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !empty($details) && $blog_id !== false | 91–97 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!empty($details) && $blog_id !== false | 92–98 | wp_cache_get(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !empty($details) && $blog_id === false | 92–98 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && empty($details) && $blog_id === false | 92–98 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
empty($details) && $blog_id === false | 93–99 | wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !empty($details) && $blog_id !== false | 93–99 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && !empty($details) | 94–105 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), wp_cache_set() |
!is_array($fields) && !$fields && !empty($details) && $blog_id !== false | 94–100 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && empty($details) && $blog_id === false | 94–100 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && !empty($details) | 95–107 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && empty($details) | 95–110 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), wp_cache_set() |
empty($details) && $blog_id !== false | 95–101 | wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && empty($details) && $blog_id === false | 95–101 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && !empty($details) | 96–105 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), wp_cache_set() |
!is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 96–101 | wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && empty($details) | 96–112 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), wp_cache_set() |
!is_array($fields) && !$fields && !empty($details) && $blog_id !== false | 96–102 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && empty($details) && $blog_id !== false | 96–102 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && !empty($details) | 97–107 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && empty($details) | 97–110 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), wp_cache_set() |
!is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 97–103 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 97–102 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
empty($details) && $blog_id !== false | 97–103 | wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && empty($details) && $blog_id === false | 97–103 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && empty($details) | 98–112 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), wp_cache_set() |
!is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 98–103 | wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 98–104 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && empty($details) && $blog_id !== false | 98–104 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 99–105 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && empty($details) && $blog_id !== false | 99–105 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 99–104 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 100–105 | wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 100–105 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 100–106 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 101–106 | wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 101–107 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 101–107 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 101–106 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && empty($details) && $blog_id !== false | 101–107 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 102–108 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 102–107 | wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 102–107 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 102–107 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 102–108 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 103–108 | wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 103–109 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 103–109 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 103–109 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 103–108 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 104–110 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 104–109 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 104–109 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 104–110 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && !empty($details) | 105–116 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), wp_cache_set() |
!is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 105–110 | wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 105–110 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 105–111 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 105–111 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && empty($details) | 106–121 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), wp_cache_set() |
!is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 106–112 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 106–112 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 106–111 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 106–111 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && !empty($details) | 107–116 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), wp_cache_set() |
!is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 107–112 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 107–112 | wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 107–112 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 107–113 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 107–113 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && empty($details) | 108–121 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 108–113 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 108–114 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 108–114 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 108–113 | get_current_blog_id(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 109–114 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 109–114 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 109–115 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 110–116 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 110–115 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 111–116 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 111–116 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 111–116 | get_id_from_blogname(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 112–117 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 112–117 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 112–118 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 113–118 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 113–118 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 113–118 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 114–119 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 114–119 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 115–120 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 115–120 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 116–121 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 116–121 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 117–122 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 117–122 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 118–123 | wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 118–123 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 119–124 | get_current_blog_id(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 120–125 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
!is_array($fields) && !$fields && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 122–127 | get_id_from_blogname(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !empty($details) && $blog_id === false | 130–142 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !empty($details) && $blog_id === false | 132–142 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !empty($details) && $blog_id === false | 132–144 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !empty($details) && $blog_id === false | 134–144 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !empty($details) && $blog_id !== false | 134–146 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && empty($details) && $blog_id === false | 135–147 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !empty($details) && $blog_id !== false | 136–146 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !empty($details) && $blog_id !== false | 136–148 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && empty($details) && $blog_id === false | 137–147 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && empty($details) && $blog_id === false | 137–149 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !empty($details) && $blog_id !== false | 138–148 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && empty($details) && $blog_id === false | 139–149 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && empty($details) && $blog_id !== false | 139–151 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 140–151 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 141–153 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && empty($details) && $blog_id !== false | 141–151 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && empty($details) && $blog_id !== false | 141–153 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 142–151 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 142–153 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 143–153 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 143–155 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && empty($details) && $blog_id !== false | 143–153 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 144–153 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 144–155 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 145–155 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 145–156 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 145–157 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 146–155 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 146–158 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 146–157 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 147–156 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 147–157 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 147–158 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 147–159 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 148–158 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 148–157 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 148–160 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 149–158 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 149–159 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 149–160 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 150–160 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 150–162 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 151–162 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 151–160 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 151–162 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 152–162 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 152–164 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 153–162 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 153–164 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 153–162 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 154–164 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id === false | 155–164 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 155–166 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 156–167 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 157–166 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 157–168 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 158–167 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 158–169 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && !empty($details) && $blog_id !== false | 159–168 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id === false | 160–169 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 160–171 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 162–171 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && is_subdomain_install() && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 162–173 | is_subdomain_install(), md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
is_array($fields) && $blog === false && !is_object($details) && $details !== -1 && empty($details) && $blog_id !== false | 164–173 | md5(), wp_cache_get(), ->prepare(), ->get_row(), wp_cache_set(), wp_cache_get(), wp_cache_delete(), wp_cache_get(), wp_cache_delete(), ::WP_Site(), get_current_blog_id(), switch_to_blog(), get_option(), get_option(), get_option(), get_option(), restore_current_blog(), wp_cache_set(), md5(), wp_cache_set() |
Across PHP versions
| PHP | Compiled | Executed | Branches | Notes |
|---|---|---|---|---|
| 8.6-dev | 297 | 12–173 | 28 | |
| 8.5 | 297 | 12–173 | 28 | |
| 8.4 | 297 | 12–173 | 28 | 16 fewer instructions than PHP 8.3 |
| 8.3 | 313 | 12–180 | 28 | |
| 8.2 | 313 | 12–180 | 28 | |
| 8.1 | 313 | 12–180 | 28 | 2 fewer instructions than PHP 7.4 |
| 7.4 | 315 | 12–181 | 28 |
An instruction is not a fixed amount of time, so a matching count is not necessarily the same speed; what it rules out is a difference in the work itself.
Hooks and filters fired · 1
One hook fires while get_blog_details() runs, in this order:
Uses · 13
- wp_cache_get()Retrieves the cache contents from the cache by key and group.
- str_starts_with()Polyfill for `str_starts_with()` function added in PHP 8.0.
- wp_cache_set()Saves the data to the cache.
- is_subdomain_install()Whether a subdomain configuration is enabled.
- get_current_blog_id()Retrieves the current site ID.
- get_id_from_blogname()Retrieves a site's ID given its (subdomain or directory) slug.
- wp_cache_delete()Removes the cache contents matching key and group.
- switch_to_blog()Switches the current blog.
- get_option()Retrieves an option value based on an option name.
- restore_current_blog()Restores the current blog, after calling switch_to_blog().
- apply_filters_deprecated()Fires functions attached to a deprecated filter hook.
- WP_Site::get_instance()Retrieves a site from the database by its ID.
Show all 13
- WP_Site::__construct()Creates a new WP_Site object.
Source code
function get_blog_details( $fields = null, $get_all = true ) { global $wpdb; if ( is_array( $fields ) ) { if ( isset( $fields['blog_id'] ) ) { $blog_id = $fields['blog_id']; } elseif ( isset( $fields['domain'] ) && isset( $fields['path'] ) ) { $key = md5( $fields['domain'] . $fields['path'] ); $blog = wp_cache_get( $key, 'blog-lookup' ); if ( false !== $blog ) { return $blog; } if ( str_starts_with( $fields['domain'], 'www.' ) ) { $nowww = substr( $fields['domain'], 4 ); $blog = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->blogs WHERE domain IN (%s,%s) AND path = %s ORDER BY CHAR_LENGTH(domain) DESC", $nowww, $fields['domain'], $fields['path'] ) ); } else { $blog = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->blogs WHERE domain = %s AND path = %s", $fields['domain'], $fields['path'] ) ); } if ( $blog ) { wp_cache_set( $blog->blog_id . 'short', $blog, 'blog-details' ); $blog_id = $blog->blog_id; } else { return false; } } elseif ( isset( $fields['domain'] ) && is_subdomain_install() ) { $key = md5( $fields['domain'] ); $blog = wp_cache_get( $key, 'blog-lookup' ); if ( false !== $blog ) { return $blog; } if ( str_starts_with( $fields['domain'], 'www.' ) ) { $nowww = substr( $fields['domain'], 4 ); $blog = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->blogs WHERE domain IN (%s,%s) ORDER BY CHAR_LENGTH(domain) DESC", $nowww, $fields['domain'] ) ); } else { $blog = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->blogs WHERE domain = %s", $fields['domain'] ) ); } if ( $blog ) { wp_cache_set( $blog->blog_id . 'short', $blog, 'blog-details' ); $blog_id = $blog->blog_id; } else { return false; } } else { return false; } } else { if ( ! $fields ) { $blog_id = get_current_blog_id(); } elseif ( ! is_numeric( $fields ) ) { $blog_id = get_id_from_blogname( $fields ); } else { $blog_id = $fields; } } $blog_id = (int) $blog_id; $all = $get_all ? '' : 'short'; $details = wp_cache_get( $blog_id . $all, 'blog-details' ); if ( $details ) { if ( ! is_object( $details ) ) { if ( -1 === $details ) { return false; } else { // Clear old pre-serialized objects. Cache clients do better with that. wp_cache_delete( $blog_id . $all, 'blog-details' ); unset( $details ); } } else { return $details; } } // Try the other cache. if ( $get_all ) { $details = wp_cache_get( $blog_id . 'short', 'blog-details' ); } else { $details = wp_cache_get( $blog_id, 'blog-details' ); // If short was requested and full cache is set, we can return.Changelog
Introduced in MU (3.0.0). Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.0.4 tag, from
src/wp-includes/ms-blogs.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.