[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)




/wp-admin/includes/ -> update.php (summary)

WordPress Administration Update API

File Size: 902 lines (29 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 1 file

Defines 20 functions


Functions that are not part of a class:

get_preferred_from_update_core()   X-Ref
Selects the first update version from the update_core option.

return: object|array|false The response from the API on success, false on failure.

get_core_updates( $options = array()   X-Ref
Get available core updates.

return: array|false Array of the update objects on success, false on failure.
param: array $options Set $options['dismissed'] to true to show dismissed upgrades too,

find_core_auto_update()   X-Ref
Gets the best available (and enabled) Auto-Update for WordPress Core.

If there's 1.2.3 and 1.3 on offer, it'll choose 1.3 if the installation allows it, else, 1.2.3

return: array|false False on failure, otherwise the core update offering.

get_core_checksums( $version, $locale )   X-Ref
Gets and caches the checksums for the given version of WordPress.

return: bool|array False on failure. An array of checksums on success.
param: string $version Version string to query.
param: string $locale  Locale to query.

dismiss_core_update( $update )   X-Ref

return: bool
param: object $update

undismiss_core_update( $version, $locale )   X-Ref

return: bool
param: string $version
param: string $locale

find_core_update( $version, $locale )   X-Ref

return: object|false
param: string $version
param: string $locale

core_update_footer( $msg = '' )   X-Ref

return: string
param: string $msg

update_nag()   X-Ref

return: false|void

update_right_now_message()   X-Ref
No description

get_plugin_updates()   X-Ref

return: array

wp_plugin_update_rows()   X-Ref

wp_plugin_update_row( $file, $plugin_data )   X-Ref
Displays update information for a plugin.

return: false|void
param: string $file        Plugin basename.
param: array  $plugin_data Plugin information.

get_theme_updates()   X-Ref

return: array

wp_theme_update_rows()   X-Ref

wp_theme_update_row( $theme_key, $theme )   X-Ref
Displays update information for a theme.

return: false|void
param: string   $theme_key Theme stylesheet.
param: WP_Theme $theme     Theme object.

maintenance_nag()   X-Ref

return: false|void

wp_print_admin_notice_templates()   X-Ref
Prints the JavaScript templates for update admin notices.

Template takes one argument with four values:

param {object} data {
Arguments for admin notice.

wp_print_update_row_templates()   X-Ref
Prints the JavaScript templates for update and deletion rows in list tables.

The update template takes one argument with four values:

param {object} data {
Arguments for the update row

wp_recovery_mode_nag()   X-Ref
Displays a notice when the user is in recovery mode.

Generated: Sun Sep 22 08:20:01 2019 Cross-referenced by PHPXref 0.7