REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.17 KB
Close
/home/nshryvcy/blissfulnepal.com/wp-content/plugins/wordfence-login-security/classes/utility/multisite.php
Text
Base64
<?php namespace WordfenceLS; class Utility_Multisite { /** * Returns an array of all active multisite blogs (if `$blogIds` is `null`) or a list of active multisite blogs * filtered to only those in `$blogIds` if non-null. * * @param array|null $blogIds * @return array */ public static function retrieve_active_sites($blogIds = null) { $args = array( 'number' => '', /* WordPress core passes an empty string which appears to remove the result set limit */ 'update_site_meta_cache' => false, /* Defaults to true which is not desirable for this use case */ //Ignore archived/spam/deleted sites 'archived' => 0, 'spam' => 0, 'deleted' => 0 ); if ($blogIds !== null) { $args['site__in'] = $blogIds; } if (function_exists('get_sites')) { return get_sites($args); } global $wpdb; if ($blogIds !== null) { $blogIdsQuery = implode(',', wp_parse_id_list($args['site__in'])); return $wpdb->get_results("SELECT * FROM {$wpdb->blogs} WHERE blog_id IN ({$blogIdsQuery}) AND archived = 0 AND spam = 0 AND deleted = 0"); } return $wpdb->get_results("SELECT * FROM {$wpdb->blogs} WHERE archived = 0 AND spam = 0 AND deleted = 0"); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 12
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
array.php
1.95 KB
lrw-r--r--
2026-05-06 14:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
baseconversion.php
417 B
lrw-r--r--
2026-05-06 14:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
databaselock.php
2.08 KB
lrw-r--r--
2026-05-06 14:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
lock.php
176 B
lrw-r--r--
2026-05-06 14:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
measuredstring.php
265 B
lrw-r--r--
2026-05-06 14:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
multisite.php
1.17 KB
lrw-r--r--
2026-05-06 14:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
multisiteconfigurationextractor.php
2.14 KB
lrw-r--r--
2026-05-06 14:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
nulllock.php
292 B
lrw-r--r--
2026-05-06 14:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
number.php
1002 B
lrw-r--r--
2026-05-06 14:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
serialization.php
817 B
lrw-r--r--
2026-05-06 14:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
sleep.php
613 B
lrw-r--r--
2026-05-06 14:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
url.php
1.01 KB
lrw-r--r--
2026-05-06 14:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).