WordPress.org

Make WordPress Core

Changeset 15038


Ignore:
Timestamp:
05/28/2010 04:42:09 PM (10 years ago)
Author:
ryan
Message:

Do not show 'Network Activate' link if update fails. Props ocean90. fixes #13596

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-upgrader.php

    r14985 r15038  
    12821282
    12831283
    1284         if ( ! $this->result || is_wp_error($this->result) )
     1284        if ( ! $this->result || is_wp_error($this->result) ) {
    12851285            unset( $install_actions['activate_plugin'] );
    1286 
     1286            unset( $install_actions['network_activate'] );
     1287        }
    12871288        $install_actions = apply_filters('install_plugin_complete_actions', $install_actions, $this->api, $plugin_file);
    12881289        if ( ! empty($install_actions) )
Note: See TracChangeset for help on using the changeset viewer.