Make WordPress Core

Changeset 31394


Ignore:
Timestamp:
02/10/2015 12:55:44 AM (10 years ago)
Author:
dd32
Message:

Revert [30696] pending further investigation.

Props johnbillion.
Merges [31390] to the 4.1 branch.
See #13071. Fixes #31011.

Location:
branches/4.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.1

  • branches/4.1/src/wp-includes/update.php

    r30870 r31394  
    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.