| [ Index ] |
PHP Cross Reference of Wordpress 2.9.1 |
[Source view] [Print] [Project Stats]
A simple set of functions to check our version 1.0 update service.
| File Size: | 335 lines (11 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 2 files wp-includes/theme.php wp-admin/includes/plugin.php |
| wp_version_check() X-Ref |
| Check WordPress version against the newest version. The WordPress version, PHP version, and Locale is sent. Checks against the WordPress server at api.wordpress.org server. Will only check if WordPress isn't installing. return: mixed Returns null if update is unsupported. Returns false if check is too soon. |
| wp_update_plugins() X-Ref |
| Check plugin versions against the latest versions hosted on WordPress.org. The WordPress version, PHP version, and Locale is sent along with a list of all plugins installed. Checks against the WordPress server at api.wordpress.org. Will only check if WordPress isn't installing. return: mixed Returns null if update is unsupported. Returns false if check is too soon. |
| wp_update_themes( ) X-Ref |
| Check theme versions against the latest versions hosted on WordPress.org. A list of all themes installed in sent to WP. Checks against the WordPress server at api.wordpress.org. Will only check if WordPress isn't installing. return: mixed Returns null if update is unsupported. Returns false if check is too soon. |
| _maybe_update_core() X-Ref |
| No description |
| _maybe_update_plugins() X-Ref |
| Check the last time plugins were run before checking plugin versions. This might have been backported to WordPress 2.6.1 for performance reasons. This is used for the wp-admin to check only so often instead of every page load. |
| _maybe_update_themes( ) X-Ref |
| Check themes versions only after a duration of time. This is for performance reasons to make sure that on the theme version checker is not run on every page load. |
| Generated: Fri Jan 8 00:19:48 2010 | Cross-referenced by PHPXref 0.7 |