Make WordPress Core

Changeset 31390


Ignore:
Timestamp:
02/09/2015 09:49:18 PM (10 years ago)
Author:
johnbillion
Message:

Revert [30696] pending further investigation.

See #31011, #13071

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/update.php

    r31168 r31390  
    522522
    523523    if ( $plugins = current_user_can( 'update_plugins' ) ) {
    524         wp_update_plugins(); // Check for Plugin updates
    525524        $update_plugins = get_site_transient( 'update_plugins' );
    526525        if ( ! empty( $update_plugins->response ) )
     
    529528
    530529    if ( $themes = current_user_can( 'update_themes' ) ) {
    531         wp_update_themes(); // Check for Theme updates
    532530        $update_themes = get_site_transient( 'update_themes' );
    533531        if ( ! empty( $update_themes->response ) )
Note: See TracChangeset for help on using the changeset viewer.