Changeset 31390
- Timestamp:
- 02/09/2015 09:49:18 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/update.php
r31168 r31390 522 522 523 523 if ( $plugins = current_user_can( 'update_plugins' ) ) { 524 wp_update_plugins(); // Check for Plugin updates525 524 $update_plugins = get_site_transient( 'update_plugins' ); 526 525 if ( ! empty( $update_plugins->response ) ) … … 529 528 530 529 if ( $themes = current_user_can( 'update_themes' ) ) { 531 wp_update_themes(); // Check for Theme updates532 530 $update_themes = get_site_transient( 'update_themes' ); 533 531 if ( ! empty( $update_themes->response ) )
Note: See TracChangeset
for help on using the changeset viewer.