Changeset 61594 for trunk/src/wp-admin/includes/update.php
- Timestamp:
- 02/07/2026 06:05:09 AM (4 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/update.php (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update.php
r61455 r61594 35 35 * @param array $options Set $options['dismissed'] to true to show dismissed upgrades too, 36 36 * set $options['available'] to false to skip not-dismissed updates. 37 * @return array |false Array of the update objects on success, false on failure.37 * @return array<object>|false Array of the update objects on success, false on failure. 38 38 */ 39 39 function get_core_updates( $options = array() ) { … … 127 127 * @param string $version Version string to query. 128 128 * @param string $locale Locale to query. 129 * @return array |false An array of checksums on success, false on failure.129 * @return array<string, string>|false An array of checksums on success, false on failure. 130 130 */ 131 131 function get_core_checksums( $version, $locale ) { … … 179 179 * 180 180 * @param object $update 181 * @return bool 181 * @return bool True if the option was updated, false otherwise. 182 182 */ 183 183 function dismiss_core_update( $update ) { … … 195 195 * @param string $version 196 196 * @param string $locale 197 * @return bool 197 * @return bool True if the option was updated, false otherwise. 198 198 */ 199 199 function undismiss_core_update( $version, $locale ) { … … 243 243 * 244 244 * @param string $msg 245 * @return string 245 * @return string The core update footer message. 246 246 */ 247 247 function core_update_footer( $msg = '' ) { … … 298 298 * 299 299 * @global string $pagenow The filename of the current screen. 300 * @return void|false 300 * @return void|false Void on success, false if the update nag should not be displayed. 301 301 */ 302 302 function update_nag() { … … 402 402 * @since 2.9.0 403 403 * 404 * @return object[]404 * @return array<string, object> Array of plugin objects with available updates. 405 405 */ 406 406 function get_plugin_updates() { … … 447 447 * @param string $file Plugin basename. 448 448 * @param array $plugin_data Plugin information. 449 * @return void|false 449 * @return void|false Void on success, false if the plugin update is not available. 450 450 */ 451 451 function wp_plugin_update_row( $file, $plugin_data ) { … … 625 625 * @since 2.9.0 626 626 * 627 * @return WP_Theme[]627 * @return array<string, WP_Theme> Array of theme objects with available updates. 628 628 */ 629 629 function get_theme_updates() { … … 672 672 * @param string $theme_key Theme stylesheet. 673 673 * @param WP_Theme $theme Theme object. 674 * @return void|false 674 * @return void|false Void on success, false if the theme update is not available. 675 675 */ 676 676 function wp_theme_update_row( $theme_key, $theme ) { … … 849 849 * @global int $upgrading 850 850 * 851 * @return void|false 851 * @return void|false Void on success, false if the maintenance nag should not be displayed. 852 852 */ 853 853 function maintenance_nag() {
Note: See TracChangeset
for help on using the changeset viewer.