Changeset 6297 for trunk/wp-includes/update.php
- Timestamp:
- 10/30/2007 09:40:30 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/update.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/update.php
r6151 r6297 1 1 <?php 2 /** 3 * A simple set of functions to check our version 1.0 update service 4 * 5 * @package WordPress 6 * @since 2.3 7 */ 2 8 3 // A simple set of functions to check our version 1.0 update service 4 9 /** 10 * wp_version_check() - Check WordPress version against the newest version. 11 * 12 * The WordPress version, PHP version, and Locale is sent. Checks against the WordPress server at 13 * api.wordpress.org server. Will only check if PHP has fsockopen enabled and WordPress isn't installing. 14 * 15 * @package WordPress 16 * @since 2.3 17 * @uses $wp_version Used to check against the newest WordPress version. 18 * 19 * @return mixed Returns null if update is unsupported. Returns false if check is too soon. 20 */ 5 21 function wp_version_check() { 6 22 if ( !function_exists('fsockopen') || strpos($_SERVER['PHP_SELF'], 'install.php') !== false || defined('WP_INSTALLING') )
Note: See TracChangeset
for help on using the changeset viewer.