[ Index ]

WordPress Cross Reference

title

Body

[close]

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

WordPress Administration Update API

File Size: 435 lines (16 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 1 file
 wp-admin/includes/class-wp-upgrader.php

Defines 17 functions

  get_preferred_from_update_core()
  get_core_updates()
  find_core_auto_update()
  get_core_checksums()
  dismiss_core_update()
  undismiss_core_update()
  find_core_update()
  core_update_footer()
  update_nag()
  update_right_now_message()
  get_plugin_updates()
  wp_plugin_update_rows()
  wp_plugin_update_row()
  get_theme_updates()
  wp_theme_update_rows()
  wp_theme_update_row()
  maintenance_nag()

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 the response from the API

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

param: array $options Set $options['dismissed'] to true to show dismissed upgrades too,
return: array Array of the update objects

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 install allows it, else, 1.2.3

return: bool|array 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.

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

dismiss_core_update( $update )   X-Ref
No description

undismiss_core_update( $version, $locale )   X-Ref
No description

find_core_update( $version, $locale )   X-Ref
No description

core_update_footer( $msg = '' )   X-Ref
No description

update_nag()   X-Ref
No description

update_right_now_message()   X-Ref
No description

get_plugin_updates()   X-Ref
No description

wp_plugin_update_rows()   X-Ref
No description

wp_plugin_update_row( $file, $plugin_data )   X-Ref
No description

get_theme_updates()   X-Ref
No description

wp_theme_update_rows()   X-Ref
No description

wp_theme_update_row( $theme_key, $theme )   X-Ref
No description

maintenance_nag()   X-Ref
No description



Generated: Tue Mar 25 01:41:18 2014 WordPress honlapkészítés: online1.hu