Changeset 54115
- Timestamp:
- 09/09/2022 08:56:38 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/update.php
r54113 r54115 1 1 <?php 2 2 /** 3 * A simple set of functions to check our version 1.0 update service.3 * A simple set of functions to check our Version Update service. 4 4 * 5 5 * @package WordPress … … 8 8 9 9 /** 10 * Check WordPress version against the newest version.10 * Checks WordPress version against the newest version. 11 11 * 12 12 * The WordPress version, PHP version, and locale is sent. … … 22 22 * 23 23 * @param array $extra_stats Extra statistics to report to the WordPress.org API. 24 * @param bool $force_check Whether to bypass the transient cache and force a fresh update check. Defaults to false, true if $extra_stats is set. 24 * @param bool $force_check Whether to bypass the transient cache and force a fresh update check. 25 * Defaults to false, true if $extra_stats is set. 25 26 */ 26 27 function wp_version_check( $extra_stats = array(), $force_check = false ) { … … 881 882 882 883 /** 883 * Collect counts and UI strings for available updates884 * Collects counts and UI strings for available updates. 884 885 * 885 886 * @since 3.3.0 … … 999 1000 } 1000 1001 /** 1001 * Check the last time plugins were run before checking plugin versions.1002 * Checks the last time plugins were run before checking plugin versions. 1002 1003 * 1003 1004 * This might have been backported to WordPress 2.6.1 for performance reasons. … … 1021 1022 1022 1023 /** 1023 * Check themes versions only after a duration of time.1024 * Checks themes versions only after a duration of time. 1024 1025 * 1025 1026 * This is for performance reasons to make sure that on the theme version … … 1042 1043 1043 1044 /** 1044 * Schedule core, theme, and plugin update checks.1045 * Schedules core, theme, and plugin update checks. 1045 1046 * 1046 1047 * @since 3.1.0 … … 1061 1062 1062 1063 /** 1063 * Clear existing update caches for plugins, themes, and core.1064 * Clears existing update caches for plugins, themes, and core. 1064 1065 * 1065 1066 * @since 4.1.0
Note: See TracChangeset
for help on using the changeset viewer.