| 3 | | // A simple set of functions to check our version 1.0 update service |
| 4 | | |
| | 9 | /** |
| | 10 | * Check WordPress version against the newest version at api.wordpress.org server. |
| | 11 | * |
| | 12 | * The WordPress version, PHP version, and Locale. If you do not want this behavior, there |
| | 13 | * exists a plugin called {@link http://wordpress.org/extend/plugins/tinfoil-hat/ Tin Foil Hat} |
| | 14 | * that will disable this behavior. |
| | 15 | * |
| | 16 | * This will also disable the behavior. |
| | 17 | * <code> |
| | 18 | * remove_action('init', 'wp_version_check'); |
| | 19 | * </code> |
| | 20 | * |
| | 21 | * @package WordPress |
| | 22 | * @since 2.3 |
| | 23 | * @uses $wp_version Used to check against the newest WordPress version. |
| | 24 | * |
| | 25 | * @return mixed Returns null if server doesn't support fsockopen or if WordPress is installing. |
| | 26 | * Returns false if the time between last check and current check is too short. |
| | 27 | */ |