PHP 8.3.27
Preview: ms-blogs.php Size: 25.24 KB
//home7/doctorbruno/www/taeionline.com/wp-includes/ms-blogs.php
<?php

/**
 * Site/blog functions that work with the blogs table and related data.
 *
 * @package WordPress
 * @subpackage Multisite
 * @since MU (3.0.0)
 */

// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}

require_once ABSPATH . WPINC . '/ms-site.php';
require_once ABSPATH . WPINC . '/ms-network.php';

/**
 * Updates the last_updated field for the current site.
 *
 * @since MU (3.0.0)
 */
function wpmu_update_blogs_date() {
	$site_id = get_current_blog_id();

	update_blog_details( $site_id, array( 'last_updated' => current_time( 'mysql', true ) ) );
	/**
	 * Fires after the blog details are updated.
	 *
	 * @since MU (3.0.0)
	 *
	 * @param int $blog_id Site ID.
	 */
	do_action( 'wpmu_blog_updated', $site_id );
}

/**
 * Gets a full site URL, given a site ID.
 *
 * @since MU (3.0.0)
 *
 * @param int $blog_id Site ID.
 * @return string Full site URL if found. Empty string if not.
 */
function get_blogaddress_by_id( $blog_id ) {
	$bloginfo = get_site( (int) $blog_id );

	if ( empty( $bloginfo ) ) {
		return '';
	}

	$scheme = parse_url( $bloginfo->home, PHP_URL_SCHEME );
	$scheme = empty( $scheme ) ? 'http' : $scheme;

	return esc_url( $scheme . '://' . $bloginfo->domain . $bloginfo->path );
}

/**
 * Gets a full site URL, given a site name.
 *
 * @since MU (3.0.0)
 *
 * @param string $blogname Name of the subdomain or directory.
 * @return string
 */
function get_blogaddress_by_name( $blogname ) {
	if ( is_subdomain_install() ) {
		if ( 'main' === $blogname ) {
			$blogname = 'www';
		}
		$url = rtrim( network_home_url(), '/' );
		if ( ! empty( $blogname ) ) {
			$url = preg_replace( '|^([^\.]+://)|', '${1}' . $blogname . '.', $url );
		}
	} else {
		$url = network_home_url( $blogname );
	}
	return esc_url( $url . '/' );
}

/**
 * Retrieves a site's ID given its (subdomain or directory) slug.
 *
 * @since MU (3.0.0)
 * @since 4.7.0 Converted to use `get_sites()`.
 *
 * @param string $slug A site's slug.
 * @return int|null The site ID, or null if no site is found for the given slug.
 */
function get_id_from_blogname( $slug ) {
	$current_network = get_network();
	$slug            = trim( $slug, '/' );

	if ( is_subdomain_install() ) {
		$domain = $slug . '.' . preg_replace( '|^www\.|', '', $current_network->domain );
		$path   = $current_network->path;
	} else {
		$domain = $current_network->domain;
		$path   = $current_network->path . $slug . '/';
	}

	$site_ids = get_sites(
		array(
			'number'                 => 1,
			'fields'                 => 'ids',
			'domain'                 => $domain,
			'path'                   => $path,
			'update_site_meta_cache' => false,
		)
	);

	if ( empty( $site_ids ) ) {
		return null;
	}

	return array_shift( $site_ids );
}

/**
 * Retrieves the details for a blog from the blogs table and blog options.
 *
 * @since MU (3.0.0)
 *
 * @global wpdb $wpdb WordPress database abstraction object.
 *
 * @param int|string|array $fields  Optional. A blog ID, a blog slug, or an array of fields to query against.
 *                                  Defaults to the current blog ID.
 * @param bool             $get_all Whether to retrieve all details or only the details in the blogs table.
 *                                  Default is true.
 * @return WP_Site|false Blog details on success. False on failure.
 */
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.
		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, 'blog-details' );
					unset( $details );
				}
			} else {
				return $details;
			}
		}
	}

	if ( empty( $details ) ) {
		$details = WP_Site::get_instance( $blog_id );
		if ( ! $details ) {
			// Set the full cache.
			wp_cache_set( $blog_id, -1, 'blog-details' );
			return false;
		}
	}

	if ( ! $details instanceof WP_Site ) {
		$details = new WP_Site( $details );
	}

	if ( ! $get_all ) {
		wp_cache_set( $blog_id . $all, $details, 'blog-details' );
		return $details;
	}

	$switched_blog = false;

	if ( get_current_blog_id() !== $blog_id ) {
		switch_to_blog( $blog_id );
		$switched_blog = true;
	}

	$details->blogname   = get_option( 'blogname' );
	$details->siteurl    = get_option( 'siteurl' );
	$details->post_count = get_option( 'post_count' );
	$details->home       = get_option( 'home' );

	if ( $switched_blog ) {
		restore_current_blog();
	}

	/**
	 * Filters a blog's details.
	 *
	 * @since MU (3.0.0)
	 * @deprecated 4.7.0 Use {@see 'site_details'} instead.
	 *
	 * @param WP_Site $details The blog details.
	 */
	$details = apply_filters_deprecated( 'blog_details', array( $details ), '4.7.0', 'site_details' );

	wp_cache_set( $blog_id . $all, $details, 'blog-details' );

	$key = md5( $details->domain . $details->path );
	wp_cache_set( $key, $details, 'blog-lookup' );

	return $details;
}

/**
 * Clears the blog details cache.
 *
 * @since MU (3.0.0)
 *
 * @param int $blog_id Optional. Blog ID. Defaults to current blog.
 */
function refresh_blog_details( $blog_id = 0 ) {
	$blog_id = (int) $blog_id;
	if ( ! $blog_id ) {
		$blog_id = get_current_blog_id();
	}

	clean_blog_cache( $blog_id );
}

/**
 * Updates the details for a blog and the blogs table for a given blog ID.
 *
 * @since MU (3.0.0)
 *
 * @param int   $blog_id Blog ID.
 * @param array $details Array of details keyed by blogs table field names.
 * @return bool True if update succeeds, false otherwise.
 */
function update_blog_details( $blog_id, $details = array() ) {
	if ( empty( $details ) ) {
		return false;
	}

	if ( is_object( $details ) ) {
		$details = get_object_vars( $details );
	}

	$site = wp_update_site( $blog_id, $details );

	if ( is_wp_error( $site ) ) {
		return false;
	}

	return true;
}

/**
 * Cleans the site details cache for a site.
 *
 * @since 4.7.4
 *
 * @param int $site_id Optional. Site ID. Default is the current site ID.
 */
function clean_site_details_cache( $site_id = 0 ) {
	$site_id = (int) $site_id;
	if ( ! $site_id ) {
		$site_id = get_current_blog_id();
	}

	wp_cache_delete( $site_id, 'site-details' );
	wp_cache_delete( $site_id, 'blog-details' );
}

/**
 * Retrieves option value for a given blog id based on name of option.
 *
 * If the option does not exist or does not have a value, then the return value
 * will be false. This is useful to check whether you need to install an option
 * and is commonly used during installation of plugin options and to test
 * whether upgrading is required.
 *
 * If the option was serialized then it will be unserialized when it is returned.
 *
 * @since MU (3.0.0)
 *
 * @param int    $id            A blog ID. Can be null to refer to the current blog.
 * @param string $option        Name of option to retrieve. Expected to not be SQL-escaped.
 * @param mixed  $default_value Optional. Default value to return if the option does not exist.
 * @return mixed Value set for the option.
 */
function get_blog_option( $id, $option, $default_value = false ) {
	$id = (int) $id;

	if ( empty( $id ) ) {
		$id = get_current_blog_id();
	}

	if ( get_current_blog_id() === $id ) {
		return get_option( $option, $default_value );
	}

	switch_to_blog( $id );
	$value = get_option( $option, $default_value );
	restore_current_blog();

	/**
	 * Filters a blog option value.
	 *
	 * The dynamic portion of the hook name, `$option`, refers to the blog option name.
	 *
	 * @since 3.5.0
	 *
	 * @param string  $value The option value.
	 * @param int     $id    Blog ID.
	 */
	return apply_filters( "blog_option_{$option}", $value, $id );
}

/**
 * Adds a new option for a given blog ID.
 *
 * You do not need to serialize values. If the value needs to be serialized, then
 * it will be serialized before it is inserted into the database. Remember,
 * resources can not be serialized or added as an option.
 *
 * You can create options without values and then update the values later.
 * Existing options will not be updated and checks are performed to ensure that you
 * aren't adding a protected WordPress option. Care should be taken to not name
 * options the same as the ones which are protected.
 *
 * @since MU (3.0.0)
 *
 * @param int    $id     A blog ID. Can be null to refer to the current blog.
 * @param string $option Name of option to add. Expected to not be SQL-escaped.
 * @param mixed  $value  Option value, can be anything. Expected to not be SQL-escaped.
 * @return bool True if the option was added, false otherwise.
 */
function add_blog_option( $id, $option, $value ) {
	$id = (int) $id;

	if ( empty( $id ) ) {
		$id = get_current_blog_id();
	}

	if ( get_current_blog_id() === $id ) {
		return add_option( $option, $value );
	}

	switch_to_blog( $id );
	$return = add_option( $option, $value );
	restore_current_blog();

	return $return;
}

/**
 * Removes an option by name for a given blog ID. Prevents removal of protected WordPress options.
 *
 * @since MU (3.0.0)
 *
 * @param int    $id     A blog ID. Can be null to refer to the current blog.
 * @param string $option Name of option to remove. Expected to not be SQL-escaped.
 * @return bool True if the option was deleted, false otherwise.
 */
function delete_blog_option( $id, $option ) {
	$id = (int) $id;

	if ( empty( $id ) ) {
		$id = get_current_blog_id();
	}

	if ( get_current_blog_id() === $id ) {
		return delete_option( $option );
	}

	switch_to_blog( $id );
	$return = delete_option( $option );
	restore_current_blog();

	return $return;
}

/**
 * Updates an option for a particular blog.
 *
 * @since MU (3.0.0)
 *
 * @param int    $id         The blog ID.
 * @param string $option     The option key.
 * @param mixed  $value      The option value.
 * @param mixed  $deprecated Not used.
 * @return bool True if the value was updated, false otherwise.
 */
function update_blog_option( $id, $option, $value, $deprecated = null ) {
	$id = (int) $id;

	if ( null !== $deprecated ) {
		_deprecated_argument( __FUNCTION__, '3.1.0' );
	}

	if ( get_current_blog_id() === $id ) {
		return update_option( $option, $value );
	}

	switch_to_blog( $id );
	$return = update_option( $option, $value );
	restore_current_blog();

	return $return;
}

/**
 * Switches the current blog.
 *
 * This function is useful if you need to pull posts, or other information,
 * from other blogs. You can switch back afterwards using restore_current_blog().
 *
 * PHP code loaded with the originally requested site, such as code from a plugin or theme, does not switch. See #14941.
 *
 * @see restore_current_blog()
 * @since MU (3.0.0)
 *
 * @global wpdb            $wpdb               WordPress database abstraction object.
 * @global int             $blog_id
 * @global array           $_wp_switched_stack
 * @global bool            $switched
 * @global string          $table_prefix       The database table prefix.
 * @global WP_Object_Cache $wp_object_cache
 *
 * @param int  $new_blog_id The ID of the blog to switch to. Default: current blog.
 * @param bool $deprecated  Not used.
 * @return true Always returns true.
 */
function switch_to_blog( $new_blog_id, $deprecated = null ) {
	global $wpdb;

	$prev_blog_id = get_current_blog_id();
	if ( empty( $new_blog_id ) ) {
		$new_blog_id = $prev_blog_id;
	}

	$GLOBALS['_wp_switched_stack'][] = $prev_blog_id;

	/*
	 * If we're switching to the same blog id that we're on,
	 * set the right vars, do the associated actions, but skip
	 * the extra unnecessary work
	 */
	if ( $new_blog_id === $prev_blog_id ) {
		/**
		 * Fires when the blog is switched.
		 *
		 * @since MU (3.0.0)
		 * @since 5.4.0 The `$context` parameter was added.
		 *
		 * @param int    $new_blog_id  New blog ID.
		 * @param int    $prev_blog_id Previous blog ID.
		 * @param string $context      Additional context. Accepts 'switch' when called from switch_to_blog()
		 *                             or 'restore' when called from restore_current_blog().
		 */
		do_action( 'switch_blog', $new_blog_id, $prev_blog_id, 'switch' );

		$GLOBALS['switched'] = true;

		return true;
	}

	$wpdb->set_blog_id( $new_blog_id );
	$GLOBALS['table_prefix'] = $wpdb->get_blog_prefix();
	$GLOBALS['blog_id']      = $new_blog_id;

	if ( function_exists( 'wp_cache_switch_to_blog' ) ) {
		wp_cache_switch_to_blog( $new_blog_id );
	} else {
		global $wp_object_cache;

		if ( is_object( $wp_object_cache ) && isset( $wp_object_cache->global_groups ) ) {
			$global_groups = $wp_object_cache->global_groups;
		} else {
			$global_groups = false;
		}

		wp_cache_init();

		if ( function_exists( 'wp_cache_add_global_groups' ) ) {
			if ( is_array( $global_groups ) ) {
				wp_cache_add_global_groups( $global_groups );
			} else {
				wp_cache_add_global_groups(
					array(
						'blog-details',
						'blog-id-cache',
						'blog-lookup',
						'blog_meta',
						'global-posts',
						'image_editor',
						'networks',
						'network-queries',
						'sites',
						'site-details',
						'site-options',
						'site-queries',
						'site-transient',
						'theme_files',
						'rss',
						'users',
						'user-queries',
						'user_meta',
						'useremail',
						'userlogins',
						'userslugs',
					)
				);
			}

			wp_cache_add_non_persistent_groups( array( 'counts', 'plugins', 'theme_json' ) );
		}
	}

	/** This filter is documented in wp-includes/ms-blogs.php */
	do_action( 'switch_blog', $new_blog_id, $prev_blog_id, 'switch' );

	$GLOBALS['switched'] = true;

	return true;
}

/**
 * Restores the current blog, after calling switch_to_blog().
 *
 * @see switch_to_blog()
 * @since MU (3.0.0)
 *
 * @global wpdb            $wpdb               WordPress database abstraction object.
 * @global array           $_wp_switched_stack
 * @global int             $blog_id
 * @global bool            $switched
 * @global string          $table_prefix       The database table prefix.
 * @global WP_Object_Cache $wp_object_cache
 *
 * @return bool True on success, false if we're already on the current blog.
 */
function restore_current_blog() {
	global $wpdb;

	if ( empty( $GLOBALS['_wp_switched_stack'] ) ) {
		return false;
	}

	$new_blog_id  = array_pop( $GLOBALS['_wp_switched_stack'] );
	$prev_blog_id = get_current_blog_id();

	if ( $new_blog_id === $prev_blog_id ) {
		/** This filter is documented in wp-includes/ms-blogs.php */
		do_action( 'switch_blog', $new_blog_id, $prev_blog_id, 'restore' );

		// If we still have items in the switched stack, consider ourselves still 'switched'.
		$GLOBALS['switched'] = ! empty( $GLOBALS['_wp_switched_stack'] );

		return true;
	}

	$wpdb->set_blog_id( $new_blog_id );
	$GLOBALS['blog_id']      = $new_blog_id;
	$GLOBALS['table_prefix'] = $wpdb->get_blog_prefix();

	if ( function_exists( 'wp_cache_switch_to_blog' ) ) {
		wp_cache_switch_to_blog( $new_blog_id );
	} else {
		global $wp_object_cache;

		if ( is_object( $wp_object_cache ) && isset( $wp_object_cache->global_groups ) ) {
			$global_groups = $wp_object_cache->global_groups;
		} else {
			$global_groups = false;
		}

		wp_cache_init();

		if ( function_exists( 'wp_cache_add_global_groups' ) ) {
			if ( is_array( $global_groups ) ) {
				wp_cache_add_global_groups( $global_groups );
			} else {
				wp_cache_add_global_groups(
					array(
						'blog-details',
						'blog-id-cache',
						'blog-lookup',
						'blog_meta',
						'global-posts',
						'image_editor',
						'networks',
						'network-queries',
						'sites',
						'site-details',
						'site-options',
						'site-queries',
						'site-transient',
						'theme_files',
						'rss',
						'users',
						'user-queries',
						'user_meta',
						'useremail',
						'userlogins',
						'userslugs',
					)
				);
			}

			wp_cache_add_non_persistent_groups( array( 'counts', 'plugins', 'theme_json' ) );
		}
	}

	/** This filter is documented in wp-includes/ms-blogs.php */
	do_action( 'switch_blog', $new_blog_id, $prev_blog_id, 'restore' );

	// If we still have items in the switched stack, consider ourselves still 'switched'.
	$GLOBALS['switched'] = ! empty( $GLOBALS['_wp_switched_stack'] );

	return true;
}

/**
 * Switches the initialized roles and current user capabilities to another site.
 *
 * @since 4.9.0
 *
 * @param int $new_site_id New site ID.
 * @param int $old_site_id Old site ID.
 */
function wp_switch_roles_and_user( $new_site_id, $old_site_id ) {
	if ( $new_site_id === $old_site_id ) {
		return;
	}

	if ( ! did_action( 'init' ) ) {
		return;
	}

	wp_roles()->for_site( $new_site_id );
	wp_get_current_user()->for_site( $new_site_id );
}

/**
 * Determines if switch_to_blog() is in effect.
 *
 * @since 3.5.0
 *
 * @global array $_wp_switched_stack
 *
 * @return bool True if switched, false otherwise.
 */
function ms_is_switched() {
	return ! empty( $GLOBALS['_wp_switched_stack'] );
}

/**
 * Checks if a particular blog is archived.
 *
 * @since MU (3.0.0)
 *
 * @param int $id Blog ID.
 * @return string Whether the blog is archived or not.
 */
function is_archived( $id ) {
	return get_blog_status( $id, 'archived' );
}

/**
 * Updates the 'archived' status of a particular blog.
 *
 * @since MU (3.0.0)
 *
 * @param int    $id       Blog ID.
 * @param string $archived The new status.
 * @return string $archived
 */
function update_archived( $id, $archived ) {
	update_blog_status( $id, 'archived', $archived );
	return $archived;
}

/**
 * Updates a blog details field.
 *
 * @since MU (3.0.0)
 * @since 5.1.0 Use wp_update_site() internally.
 *
 * @global wpdb $wpdb WordPress database abstraction object.
 *
 * @param int    $blog_id    Blog ID.
 * @param string $pref       Field name.
 * @param string $value      Field value.
 * @param null   $deprecated Not used.
 * @return string|false $value
 */
function update_blog_status( $blog_id, $pref, $value, $deprecated = null ) {
	global $wpdb;

	if ( null !== $deprecated ) {
		_deprecated_argument( __FUNCTION__, '3.1.0' );
	}

	$allowed_field_names = array( 'site_id', 'domain', 'path', 'registered', 'last_updated', 'public', 'archived', 'mature', 'spam', 'deleted', 'lang_id' );

	if ( ! in_array( $pref, $allowed_field_names, true ) ) {
		return $value;
	}

	$result = wp_update_site(
		$blog_id,
		array(
			$pref => $value,
		)
	);

	if ( is_wp_error( $result ) ) {
		return false;
	}

	return $value;
}

/**
 * Gets a blog details field.
 *
 * @since MU (3.0.0)
 *
 * @global wpdb $wpdb WordPress database abstraction object.
 *
 * @param int    $id   Blog ID.
 * @param string $pref Field name.
 * @return bool|string|null $value
 */
function get_blog_status( $id, $pref ) {
	global $wpdb;

	$details = get_site( $id );
	if ( $details ) {
		return $details->$pref;
	}

	return $wpdb->get_var( $wpdb->prepare( "SELECT %s FROM {$wpdb->blogs} WHERE blog_id = %d", $pref, $id ) );
}

/**
 * Gets a list of most recently updated blogs.
 *
 * @since MU (3.0.0)
 *
 * @global wpdb $wpdb WordPress database abstraction object.
 *
 * @param mixed $deprecated Not used.
 * @param int   $start      Optional. Number of blogs to offset the query. Used to build LIMIT clause.
 *                          Can be used for pagination. Default 0.
 * @param int   $quantity   Optional. The maximum number of blogs to retrieve. Default 40.
 * @return array The list of blogs.
 */
function get_last_updated( $deprecated = '', $start = 0, $quantity = 40 ) {
	global $wpdb;

	if ( ! empty( $deprecated ) ) {
		_deprecated_argument( __FUNCTION__, 'MU' ); // Never used.
	}

	return $wpdb->get_results( $wpdb->prepare( "SELECT blog_id, domain, path FROM $wpdb->blogs WHERE site_id = %d AND public = '1' AND archived = '0' AND mature = '0' AND spam = '0' AND deleted = '0' AND last_updated != '0000-00-00 00:00:00' ORDER BY last_updated DESC limit %d, %d", get_current_network_id(), $start, $quantity ), ARRAY_A );
}

/**
 * Handler for updating the site's last updated date when a post is published or
 * an already published post is changed.
 *
 * @since 3.3.0
 *
 * @param string  $new_status The new post status.
 * @param string  $old_status The old post status.
 * @param WP_Post $post       Post object.
 */
function _update_blog_date_on_post_publish( $new_status, $old_status, $post ) {
	$post_type_obj = get_post_type_object( $post->post_type );
	if ( ! $post_type_obj || ! $post_type_obj->public ) {
		return;
	}

	if ( 'publish' !== $new_status && 'publish' !== $old_status ) {
		return;
	}

	// Post was freshly published, published post was saved, or published post was unpublished.

	wpmu_update_blogs_date();
}

/**
 * Handler for updating the current site's last updated date when a published
 * post is deleted.
 *
 * @since 3.4.0
 *
 * @param int $post_id Post ID
 */
function _update_blog_date_on_post_delete( $post_id ) {
	$post = get_post( $post_id );

	$post_type_obj = get_post_type_object( $post->post_type );
	if ( ! $post_type_obj || ! $post_type_obj->public ) {
		return;
	}

	if ( 'publish' !== $post->post_status ) {
		return;
	}

	wpmu_update_blogs_date();
}

/**
 * Handler for updating the current site's posts count when a post is deleted.
 *
 * @since 4.0.0
 * @since 6.2.0 Added the `$post` parameter.
 *
 * @param int     $post_id Post ID.
 * @param WP_Post $post    Post object.
 */
function _update_posts_count_on_delete( $post_id, $post ) {
	if ( ! $post || 'publish' !== $post->post_status || 'post' !== $post->post_type ) {
		return;
	}

	update_posts_count();
}

/**
 * Handler for updating the current site's posts count when a post status changes.
 *
 * @since 4.0.0
 * @since 4.9.0 Added the `$post` parameter.
 *
 * @param string  $new_status The status the post is changing to.
 * @param string  $old_status The status the post is changing from.
 * @param WP_Post $post       Post object
 */
function _update_posts_count_on_transition_post_status( $new_status, $old_status, $post = null ) {
	if ( $new_status === $old_status ) {
		return;
	}

	if ( 'post' !== get_post_type( $post ) ) {
		return;
	}

	if ( 'publish' !== $new_status && 'publish' !== $old_status ) {
		return;
	}

	update_posts_count();
}

/**
 * Counts number of sites grouped by site status.
 *
 * @since 5.3.0
 *
 * @param int $network_id Optional. The network to get counts for. Default is the current network ID.
 * @return int[] {
 *     Numbers of sites grouped by site status.
 *
 *     @type int $all      The total number of sites.
 *     @type int $public   The number of public sites.
 *     @type int $archived The number of archived sites.
 *     @type int $mature   The number of mature sites.
 *     @type int $spam     The number of spam sites.
 *     @type int $deleted  The number of deleted sites.
 * }
 */
function wp_count_sites( $network_id = null ) {
	if ( empty( $network_id ) ) {
		$network_id = get_current_network_id();
	}

	$counts = array();
	$args   = array(
		'network_id'    => $network_id,
		'number'        => 1,
		'fields'        => 'ids',
		'no_found_rows' => false,
	);

	$q             = new WP_Site_Query( $args );
	$counts['all'] = $q->found_sites;

	$_args    = $args;
	$statuses = array( 'public', 'archived', 'mature', 'spam', 'deleted' );

	foreach ( $statuses as $status ) {
		$_args            = $args;
		$_args[ $status ] = 1;

		$q                 = new WP_Site_Query( $_args );
		$counts[ $status ] = $q->found_sites;
	}

	return $counts;
}

Directory Contents

Dirs: 28 × Files: 246
Name Size Perms Modified Actions
assets DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
blocks DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
css DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
customize DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
fonts DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
html-api DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
ID3 DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
images DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
IXR DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
js DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
l10n DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
PHPMailer DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
pomo DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
Requests DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
rest-api DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
SimplePie DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
sitemaps DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
- drwxr-xr-x 2026-10-02 10:08:37
Edit Download
Text DIR
- drwxr-xr-x 2026-10-02 10:08:36
Edit Download
- drwxr-xr-x 2026-10-02 10:08:37
Edit Download
widgets DIR
- drwxr-xr-x 2026-10-02 10:08:37
Edit Download
36.24 KB lrw-r--r-- 2025-04-28 15:12:28
Edit Download
11.79 KB lrw-r--r-- 2024-09-18 21:20:16
Edit Download
18.51 KB lrw-r--r-- 2023-05-14 17:58:24
Edit Download
5.46 KB lrw-r--r-- 2024-06-12 12:44:14
Edit Download
28.12 KB lrw-r--r-- 2025-03-17 13:03:30
Edit Download
316 B lrw-r--r-- 2021-08-11 09:08:02
Edit Download
12.90 KB lrw-r--r-- 2024-11-29 22:46:22
Edit Download
60.46 KB lrw-r--r-- 2025-03-07 17:55:24
Edit Download
15.00 KB lrw-r--r-- 2025-03-18 22:08:26
Edit Download
110.40 KB lrw-r--r-- 2025-07-08 09:01:26
Edit Download
12.47 KB lrw-r--r-- 2025-03-19 23:15:36
Edit Download
15.07 KB lrw-r--r-- 2024-03-23 14:20:12
Edit Download
5.83 KB lrw-r--r-- 2022-10-10 18:22:12
Edit Download
13.16 KB lrw-r--r-- 2022-10-10 18:22:12
Edit Download
33.71 KB lrw-r--r-- 2024-08-22 23:47:16
Edit Download
41.72 KB lrw-r--r-- 2024-10-15 14:13:20
Edit Download
55.67 KB lrw-r--r-- 2023-09-26 00:27:12
Edit Download
12.53 KB lrw-r--r-- 2025-01-24 23:28:24
Edit Download
28.92 KB lrw-r--r-- 2024-04-26 15:02:14
Edit Download
539 B lrw-r--r-- 2024-09-30 22:50:20
Edit Download
367 B lrw-r--r-- 2022-06-17 11:20:14
Edit Download
2.55 KB lrw-r--r-- 2025-01-22 19:48:26
Edit Download
42.66 KB lrw-r--r-- 2023-02-03 13:35:20
Edit Download
401 B lrw-r--r-- 2022-06-17 11:20:14
Edit Download
6.61 KB lrw-r--r-- 2024-09-17 21:08:16
Edit Download
664 B lrw-r--r-- 2020-07-21 12:58:02
Edit Download
20.63 KB lrw-r--r-- 2024-10-25 20:26:20
Edit Download
2.18 KB lrw-r--r-- 2023-04-05 13:12:26
Edit Download
453 B lrw-r--r-- 2024-09-30 22:50:20
Edit Download
457 B lrw-r--r-- 2021-01-26 13:45:58
Edit Download
36.83 KB lrw-r--r-- 2023-02-03 13:35:20
Edit Download
2.41 KB lrw-r--r-- 2023-09-14 12:46:20
Edit Download
8.28 KB lrw-r--r-- 2023-09-08 09:32:24
Edit Download
13.89 KB lrw-r--r-- 2024-03-18 15:46:14
Edit Download
11.76 KB lrw-r--r-- 2025-01-21 21:26:24
Edit Download
2.65 KB lrw-r--r-- 2023-09-14 12:46:20
Edit Download
7.43 KB lrw-r--r-- 2023-09-14 12:46:20
Edit Download
17.46 KB lrw-r--r-- 2024-07-18 00:52:18
Edit Download
5.14 KB lrw-r--r-- 2022-09-12 15:47:14
Edit Download
16.70 KB lrw-r--r-- 2025-04-03 14:38:28
Edit Download
8.26 KB lrw-r--r-- 2024-09-23 12:35:16
Edit Download
2.92 KB lrw-r--r-- 2024-09-03 16:33:16
Edit Download
1.32 KB lrw-r--r-- 2022-09-12 15:47:14
Edit Download
4.65 KB lrw-r--r-- 2023-11-02 00:04:24
Edit Download
11.62 KB lrw-r--r-- 2025-03-05 22:17:24
Edit Download
2.50 KB lrw-r--r-- 2023-06-27 00:45:38
Edit Download
1.97 KB lrw-r--r-- 2024-09-20 01:55:36
Edit Download
11.26 KB lrw-r--r-- 2024-05-02 20:09:16
Edit Download
5.25 KB lrw-r--r-- 2022-09-12 15:47:14
Edit Download
10.92 KB lrw-r--r-- 2026-03-11 04:33:05
Edit Download
6.25 KB lrw-r--r-- 2025-02-04 08:42:26
Edit Download
5.49 KB lrw-r--r-- 2025-03-04 13:06:28
Edit Download
1.99 KB lrw-r--r-- 2024-09-20 02:07:12
Edit Download
7.06 KB lrw-r--r-- 2025-01-30 21:19:26
Edit Download
4.90 KB lrw-r--r-- 2023-10-12 12:34:34
Edit Download
16.86 KB lrw-r--r-- 2024-05-02 00:01:10
Edit Download
22.50 KB lrw-r--r-- 2025-02-14 18:38:22
Edit Download
3.99 KB lrw-r--r-- 2023-08-21 17:51:20
Edit Download
47.26 KB lrw-r--r-- 2024-06-21 17:26:14
Edit Download
9.22 KB lrw-r--r-- 2025-02-11 13:40:30
Edit Download
25.25 KB lrw-r--r-- 2025-02-08 12:00:20
Edit Download
197.84 KB lrw-r--r-- 2025-02-08 16:00:20
Edit Download
56.31 KB lrw-r--r-- 2025-09-30 16:56:24
Edit Download
10.46 KB lrw-r--r-- 2025-01-22 19:48:26
Edit Download
10.95 KB lrw-r--r-- 2024-10-13 19:09:12
Edit Download
29.26 KB lrw-r--r-- 2025-01-22 19:48:26
Edit Download
70.52 KB lrw-r--r-- 2025-01-21 22:38:24
Edit Download
34.89 KB lrw-r--r-- 2024-11-27 11:40:18
Edit Download
14.78 KB lrw-r--r-- 2024-08-25 23:48:14
Edit Download
2.57 KB lrw-r--r-- 2022-11-25 15:12:16
Edit Download
39.83 KB lrw-r--r-- 2024-06-14 12:18:12
Edit Download
70.64 KB lrw-r--r-- 2025-04-25 18:28:30
Edit Download
15.56 KB lrw-r--r-- 2025-04-14 14:31:24
Edit Download
7.33 KB lrw-r--r-- 2023-02-21 16:39:20
Edit Download
253 B lrw-r--r-- 2024-09-27 19:28:14
Edit Download
7.96 KB lrw-r--r-- 2024-10-22 10:16:16
Edit Download
3.10 KB lrw-r--r-- 2024-09-30 22:50:20
Edit Download
969 B lrw-r--r-- 2024-09-30 22:50:20
Edit Download
15.63 KB lrw-r--r-- 2023-09-18 12:41:18
Edit Download
7.22 KB lrw-r--r-- 2023-06-24 17:17:24
Edit Download
12.25 KB lrw-r--r-- 2023-09-21 18:29:12
Edit Download
6.53 KB lrw-r--r-- 2023-06-22 14:57:24
Edit Download
3.42 KB lrw-r--r-- 2026-03-11 04:33:05
Edit Download
5.84 KB lrw-r--r-- 2023-06-22 14:36:26
Edit Download
1.97 KB lrw-r--r-- 2022-12-15 21:32:18
Edit Download
4.30 KB lrw-r--r-- 2023-10-11 07:05:26
Edit Download
2.91 KB lrw-r--r-- 2022-09-12 15:47:14
Edit Download
16.46 KB lrw-r--r-- 2023-09-21 18:29:12
Edit Download
40.60 KB lrw-r--r-- 2025-01-22 19:48:26
Edit Download
19.69 KB lrw-r--r-- 2024-11-29 23:48:16
Edit Download
33.92 KB lrw-r--r-- 2025-03-18 23:25:32
Edit Download
17.12 KB lrw-r--r-- 2025-02-21 20:25:24
Edit Download
7.27 KB lrw-r--r-- 2024-02-27 22:38:16
Edit Download
6.62 KB lrw-r--r-- 2025-01-08 12:54:18
Edit Download
16.49 KB lrw-r--r-- 2025-02-25 22:40:22
Edit Download
1.79 KB lrw-r--r-- 2024-02-06 01:25:14
Edit Download
29.82 KB lrw-r--r-- 2024-04-22 20:25:08
Edit Download
6.67 KB lrw-r--r-- 2023-05-11 11:15:24
Edit Download
9.00 KB lrw-r--r-- 2023-10-06 14:06:22
Edit Download
19.39 KB lrw-r--r-- 2024-06-21 17:26:14
Edit Download
12.01 KB lrw-r--r-- 2024-09-13 22:12:16
Edit Download
17.11 KB lrw-r--r-- 2024-09-19 12:12:16
Edit Download
6.74 KB lrw-r--r-- 2024-03-06 05:05:12
Edit Download
30.87 KB lrw-r--r-- 2025-06-26 19:06:34
Edit Download
4.99 KB lrw-r--r-- 2024-09-03 18:19:14
Edit Download
3.71 KB lrw-r--r-- 2025-01-08 12:54:18
Edit Download
24.72 KB lrw-r--r-- 2025-03-17 22:40:26
Edit Download
29.96 KB lrw-r--r-- 2025-02-09 11:09:22
Edit Download
6.34 KB lrw-r--r-- 2025-02-12 18:11:26
Edit Download
154.32 KB lrw-r--r-- 2025-03-18 23:34:26
Edit Download
6.72 KB lrw-r--r-- 2022-10-04 03:59:14
Edit Download
10.92 KB lrw-r--r-- 2023-05-02 15:45:22
Edit Download
4.77 KB lrw-r--r-- 2025-02-17 11:24:22
Edit Download
3.38 KB lrw-r--r-- 2022-09-12 15:47:14
Edit Download
11.18 KB lrw-r--r-- 2025-02-23 11:11:22
Edit Download
62.20 KB lrw-r--r-- 2024-10-19 23:54:18
Edit Download
2.46 KB lrw-r--r-- 2023-09-08 09:32:24
Edit Download
8.38 KB lrw-r--r-- 2024-09-03 18:19:14
Edit Download
19.01 KB lrw-r--r-- 2024-12-11 15:20:18
Edit Download
27.68 KB lrw-r--r-- 2024-08-10 23:00:14
Edit Download
7.15 KB lrw-r--r-- 2025-02-11 11:14:22
Edit Download
3.33 KB lrw-r--r-- 2024-09-30 22:50:20
Edit Download
1.87 KB lrw-r--r-- 2025-01-22 19:48:26
Edit Download
30.88 KB lrw-r--r-- 2024-09-11 12:08:20
Edit Download
7.28 KB lrw-r--r-- 2022-09-12 15:47:14
Edit Download
7.35 KB lrw-r--r-- 2025-02-18 22:32:22
Edit Download
10.75 KB lrw-r--r-- 2024-08-10 23:00:14
Edit Download
19.10 KB lrw-r--r-- 2024-02-16 21:47:12
Edit Download
18.12 KB lrw-r--r-- 2025-03-26 22:07:28
Edit Download
39.91 KB lrw-r--r-- 2024-10-30 22:34:20
Edit Download
5.17 KB lrw-r--r-- 2022-09-12 15:47:14
Edit Download
979 B lrw-r--r-- 2024-02-14 19:27:10
Edit Download
18.44 KB lrw-r--r-- 2025-01-22 19:48:26
Edit Download
10.24 KB lrw-r--r-- 2024-11-20 02:50:24
Edit Download
1.77 KB lrw-r--r-- 2024-06-04 11:55:14
Edit Download
34.90 KB lrw-r--r-- 2024-11-04 02:34:16
Edit Download
7.19 KB lrw-r--r-- 2024-06-06 08:02:16
Edit Download
159.71 KB lrw-r--r-- 2025-03-19 18:46:30
Edit Download
64.27 KB lrw-r--r-- 2025-04-08 14:18:28
Edit Download
27.95 KB lrw-r--r-- 2024-07-19 23:44:16
Edit Download
4.69 KB lrw-r--r-- 2025-02-18 22:32:22
Edit Download
2.92 KB lrw-r--r-- 2019-01-09 05:04:50
Edit Download
42.63 KB lrw-r--r-- 2024-12-19 10:24:24
Edit Download
2.25 KB lrw-r--r-- 2025-02-17 11:24:22
Edit Download
22.46 KB lrw-r--r-- 2025-03-04 14:19:22
Edit Download
13.01 KB lrw-r--r-- 2024-07-26 07:56:14
Edit Download
3.27 KB lrw-r--r-- 2022-09-12 15:47:14
Edit Download
18.00 KB lrw-r--r-- 2024-11-02 15:01:20
Edit Download
210.39 KB lrw-r--r-- 2025-02-08 16:00:20
Edit Download
25.70 KB lrw-r--r-- 2025-01-29 18:12:26
Edit Download
115.51 KB lrw-r--r-- 2025-02-11 11:14:22
Edit Download
373 B lrw-r--r-- 2022-09-20 14:17:12
Edit Download
343 B lrw-r--r-- 2022-09-20 14:17:12
Edit Download
338 B lrw-r--r-- 2022-09-20 14:17:12
Edit Download
100.69 KB lrw-r--r-- 2025-07-05 06:53:38
Edit Download
128.46 KB lrw-r--r-- 2025-03-11 21:58:24
Edit Download
15.99 KB lrw-r--r-- 2025-02-11 11:14:22
Edit Download
41.66 KB lrw-r--r-- 2025-02-14 19:37:24
Edit Download
400 B lrw-r--r-- 2022-06-17 11:20:14
Edit Download
11.10 KB lrw-r--r-- 2024-09-30 23:58:16
Edit Download
35.84 KB lrw-r--r-- 2025-03-25 06:45:28
Edit Download
2.24 KB lrw-r--r-- 2025-01-22 19:48:26
Edit Download
187.07 KB lrw-r--r-- 2025-03-13 23:00:32
Edit Download
338 B lrw-r--r-- 2022-06-17 11:20:14
Edit Download
37.28 KB lrw-r--r-- 2025-01-24 13:32:22
Edit Download
4.02 KB lrw-r--r-- 2023-05-02 15:45:22
Edit Download
62.77 KB lrw-r--r-- 2026-03-28 23:54:41
Edit Download
5.38 KB lrw-r--r-- 2024-03-04 12:41:10
Edit Download
3.05 KB lrw-r--r-- 2025-01-22 19:48:26
Edit Download
2.61 KB lrw-r--r-- 2020-01-29 00:45:18
Edit Download
1.16 KB lrw-r--r-- 2020-01-29 00:45:18
Edit Download
4.04 KB lrw-r--r-- 2024-03-04 12:41:10
Edit Download
3.71 KB lrw-r--r-- 2020-01-29 00:45:18
Edit Download
22.86 KB lrw-r--r-- 2024-11-11 17:50:18
Edit Download
9.52 KB lrw-r--r-- 2024-10-23 22:39:18
Edit Download
334.88 KB lrw-r--r-- 2025-07-05 06:35:32
Edit Download
280.81 KB lrw-r--r-- 2025-04-06 22:29:28
Edit Download
14.22 KB lrw-r--r-- 2024-05-26 20:51:14
Edit Download
8.38 KB lrw-r--r-- 2024-05-26 20:51:14
Edit Download
168.46 KB lrw-r--r-- 2025-04-08 02:01:30
Edit Download
20.76 KB lrw-r--r-- 2025-02-14 18:38:22
Edit Download
24.72 KB lrw-r--r-- 2024-10-27 19:05:18
Edit Download
5.72 KB lrw-r--r-- 2025-02-24 13:43:24
Edit Download
4.63 KB lrw-r--r-- 2023-07-10 22:38:26
Edit Download
44 B lrw-r--r-- 2026-10-02 10:08:36
Edit Download
72.74 KB lrw-r--r-- 2026-03-11 04:33:05
Edit Download
66.92 KB lrw-r--r-- 2025-01-28 09:46:30
Edit Download
154.10 KB lrw-r--r-- 2025-02-24 13:43:24
Edit Download
55.12 KB lrw-r--r-- 2025-02-11 11:14:22
Edit Download
162 B lrw-r--r-- 2019-10-08 17:19:04
Edit Download
61.58 KB lrw-r--r-- 2025-02-17 22:58:24
Edit Download
215.39 KB lrw-r--r-- 2026-03-11 04:33:04
Edit Download
63.71 KB lrw-r--r-- 2025-02-23 21:53:26
Edit Download
25.24 KB lrw-r--r-- 2025-01-22 19:48:26
Edit Download
4.81 KB lrw-r--r-- 2024-06-13 20:50:14
Edit Download
6.48 KB lrw-r--r-- 2023-02-24 01:23:20
Edit Download
21.25 KB lrw-r--r-- 2024-04-12 17:47:14
Edit Download
2.68 KB lrw-r--r-- 2025-04-16 22:23:30
Edit Download
89.44 KB lrw-r--r-- 2025-02-03 19:52:24
Edit Download
19.42 KB lrw-r--r-- 2024-03-25 17:19:18
Edit Download
3.69 KB lrw-r--r-- 2023-05-02 11:26:24
Edit Download
4.10 KB lrw-r--r-- 2025-01-22 19:48:26
Edit Download
40.35 KB lrw-r--r-- 2025-01-17 00:12:26
Edit Download
25.38 KB lrw-r--r-- 2025-01-22 19:48:26
Edit Download
43.31 KB lrw-r--r-- 2026-03-11 04:33:04
Edit Download
100.65 KB lrw-r--r-- 2025-03-05 22:59:22
Edit Download
6.18 KB lrw-r--r-- 2025-02-03 19:52:24
Edit Download
119.82 KB lrw-r--r-- 2025-02-28 18:53:24
Edit Download
34.63 KB lrw-r--r-- 2023-06-08 07:54:22
Edit Download
6.94 KB lrw-r--r-- 2024-05-27 16:29:16
Edit Download
67.04 KB lrw-r--r-- 2025-02-04 00:32:24
Edit Download
10.62 KB lrw-r--r-- 2024-12-20 23:35:24
Edit Download
284.88 KB lrw-r--r-- 2025-03-25 06:45:28
Edit Download
36.17 KB lrw-r--r-- 2023-08-24 09:01:16
Edit Download
200 B lrw-r--r-- 2020-11-12 11:17:08
Edit Download
200 B lrw-r--r-- 2020-11-12 11:17:08
Edit Download
97.91 KB lrw-r--r-- 2025-03-28 22:44:30
Edit Download
30.02 KB lrw-r--r-- 2025-01-27 23:07:24
Edit Download
19.08 KB lrw-r--r-- 2024-09-18 19:08:12
Edit Download
5.06 KB lrw-r--r-- 2022-04-06 15:33:04
Edit Download
255 B lrw-r--r-- 2020-11-16 22:52:06
Edit Download
22.57 KB lrw-r--r-- 2024-09-18 21:40:12
Edit Download
130.14 KB lrw-r--r-- 2025-04-25 18:38:30
Edit Download
7.53 KB lrw-r--r-- 2024-10-13 18:49:16
Edit Download
258 B lrw-r--r-- 2020-02-06 06:33:12
Edit Download
23.49 KB lrw-r--r-- 2024-05-25 03:04:12
Edit Download
3.16 KB lrw-r--r-- 2021-05-15 17:38:06
Edit Download
8.36 KB lrw-r--r-- 2025-02-27 22:14:26
Edit Download
441 B lrw-r--r-- 2020-11-12 11:17:08
Edit Download
7.39 KB lrw-r--r-- 2024-05-03 04:47:12
Edit Download
172.10 KB lrw-r--r-- 2025-02-08 11:44:24
Edit Download
544 B lrw-r--r-- 2023-10-01 00:22:28
Edit Download
3.27 KB lrw-r--r-- 2026-03-11 04:33:05
Edit Download
23.59 KB lrw-r--r-- 2024-02-21 19:26:08
Edit Download
1.49 KB lrw-r--r-- 2025-01-08 12:36:24
Edit Download
2.77 KB lrw-r--r-- 2023-12-08 06:32:24
Edit Download
6.09 KB lrw-r--r-- 2025-02-17 17:49:20
Edit Download
8.50 KB lrw-r--r-- 2024-06-12 06:11:14
Edit Download
131.16 KB lrw-r--r-- 2025-03-18 12:30:26
Edit Download
36.62 KB lrw-r--r-- 2025-03-17 22:40:26
Edit Download
171.70 KB lrw-r--r-- 2025-03-04 14:19:22
Edit Download
6.41 KB lrw-r--r-- 2025-01-22 19:48:26
Edit Download
1.06 KB lrw-r--r-- 2026-03-11 04:33:05
Edit Download
69.06 KB lrw-r--r-- 2025-01-24 21:20:24
Edit Download
445 B lrw-r--r-- 2022-07-21 22:45:12
Edit Download
799 B lrw-r--r-- 2025-01-22 19:48:26
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).