WordPress.org

Make WordPress Core

Ticket #13596: 13596.patch

File 13596.patch, 944 bytes (added by ocean90, 8 years ago)
  • wp-admin/includes/class-wp-upgrader.php

     
    12811281                        $install_actions['plugins_page'] = '<a href="' . admin_url('plugins.php') . '" title="' . esc_attr__('Return to Plugins page') . '" target="_parent">' . __('Return to Plugins page') . '</a>';
    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) )
    12891290                        $this->feedback('<strong>' . __('Actions:') . '</strong> ' . implode(' | ', (array)$install_actions));