Changeset 8929 for trunk/wp-includes/update.php
- Timestamp:
- 09/18/2008 05:32:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/update.php
r8891 r8929 4 4 * 5 5 * @package WordPress 6 * @since 2.3 6 * @since 2.3.0 7 7 */ 8 8 … … 85 85 * The WordPress version, PHP version, and Locale is sent along with a list of 86 86 * all plugins installed. Checks against the WordPress server at 87 * api.wordpress.org. Will only check if PHP has fsockopen enabled and WordPress 88 * isn't installing. 87 * api.wordpress.org. Will only check if WordPress isn't installing. 89 88 * 90 89 * @package WordPress … … 170 169 * 171 170 * A list of all themes installed in sent to WP. Checks against the 172 * WordPress server at api.wordpress.org. Will only check if PHP has173 * fsockopen enabled and WordPress isn'tinstalling.171 * WordPress server at api.wordpress.org. Will only check if WordPress isn't 172 * installing. 174 173 * 175 174 * @package WordPress … … 234 233 } 235 234 235 /** 236 * Check the last time plugins were run before checking plugin versions. 237 * 238 * This might have been backported to WordPress 2.6.1 for performance reasons. 239 * This is used for the wp-admin to check only so often instead of every page 240 * load. 241 * 242 * @since 2.7.0 243 * @access private 244 */ 236 245 function _maybe_update_plugins() { 237 246 $current = get_option( 'update_plugins' ); … … 241 250 } 242 251 252 /** 253 * Check themes versions only after a duration of time. 254 * 255 * This is for performance reasons to make sure that on the theme version 256 * checker is not run on every page load. 257 * 258 * @since 2.7.0 259 * @access private 260 */ 243 261 function _maybe_update_themes( ) { 244 262 $current = get_option( 'update_themes' );
Note: See TracChangeset
for help on using the changeset viewer.