Ticket #13596: 13596.patch
| File 13596.patch, 944 bytes (added by , 16 years ago) |
|---|
-
wp-admin/includes/class-wp-upgrader.php
1281 1281 $install_actions['plugins_page'] = '<a href="' . admin_url('plugins.php') . '" title="' . esc_attr__('Return to Plugins page') . '" target="_parent">' . __('Return to Plugins page') . '</a>'; 1282 1282 1283 1283 1284 if ( ! $this->result || is_wp_error($this->result) ) 1284 if ( ! $this->result || is_wp_error($this->result) ) { 1285 1285 unset( $install_actions['activate_plugin'] ); 1286 1286 unset( $install_actions['network_activate'] ); 1287 } 1287 1288 $install_actions = apply_filters('install_plugin_complete_actions', $install_actions, $this->api, $plugin_file); 1288 1289 if ( ! empty($install_actions) ) 1289 1290 $this->feedback('<strong>' . __('Actions:') . '</strong> ' . implode(' | ', (array)$install_actions));