Changeset 31394
- Timestamp:
- 02/10/2015 12:55:44 AM (10 years ago)
- Location:
- branches/4.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1
-
branches/4.1/src/wp-includes/update.php
r30870 r31394 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.