diff --git src/wp-admin/css/common.css src/wp-admin/css/common.css
index 9db4f52..960a691 100644
|
|
div.action-links { |
2815 | 2815 | font-size: 13px; |
2816 | 2816 | } |
2817 | 2817 | |
| 2818 | /* button spacing for non-js plugin screen #36430 */ |
| 2819 | .update-php .button.button-primary { |
| 2820 | margin-right: 1em; |
| 2821 | } |
| 2822 | |
2818 | 2823 | @media screen and ( max-width: 771px ) { |
2819 | 2824 | #plugin-information-title.with-banner { |
2820 | 2825 | height: 100px; |
diff --git src/wp-admin/includes/class-plugin-installer-skin.php src/wp-admin/includes/class-plugin-installer-skin.php
index 34b2020..09dc1be 100644
|
|
class Plugin_Installer_Skin extends WP_Upgrader_Skin { |
52 | 52 | $from = isset($_GET['from']) ? wp_unslash( $_GET['from'] ) : 'plugins'; |
53 | 53 | |
54 | 54 | if ( 'import' == $from ) |
55 | | $install_actions['activate_plugin'] = '<a href="' . wp_nonce_url( 'plugins.php?action=activate&from=import&plugin=' . urlencode( $plugin_file ), 'activate-plugin_' . $plugin_file ) . '" target="_parent">' . __( 'Activate Plugin & Run Importer' ) . '</a>'; |
| 55 | $install_actions['activate_plugin'] = '<a class="button button-primary" href="' . wp_nonce_url( 'plugins.php?action=activate&from=import&plugin=' . urlencode( $plugin_file ), 'activate-plugin_' . $plugin_file ) . '" target="_parent">' . __( 'Activate Plugin & Run Importer' ) . '</a>'; |
56 | 56 | else |
57 | | $install_actions['activate_plugin'] = '<a href="' . wp_nonce_url( 'plugins.php?action=activate&plugin=' . urlencode( $plugin_file ), 'activate-plugin_' . $plugin_file ) . '" target="_parent">' . __( 'Activate Plugin' ) . '</a>'; |
| 57 | $install_actions['activate_plugin'] = '<a class="button button-primary" href="' . wp_nonce_url( 'plugins.php?action=activate&plugin=' . urlencode( $plugin_file ), 'activate-plugin_' . $plugin_file ) . '" target="_parent">' . __( 'Activate Plugin' ) . '</a>'; |
58 | 58 | |
59 | 59 | if ( is_multisite() && current_user_can( 'manage_network_plugins' ) ) { |
60 | | $install_actions['network_activate'] = '<a href="' . wp_nonce_url( 'plugins.php?action=activate&networkwide=1&plugin=' . urlencode( $plugin_file ), 'activate-plugin_' . $plugin_file ) . '" target="_parent">' . __( 'Network Activate' ) . '</a>'; |
| 60 | $install_actions['network_activate'] = '<a class="button button-primary" href="' . wp_nonce_url( 'plugins.php?action=activate&networkwide=1&plugin=' . urlencode( $plugin_file ), 'activate-plugin_' . $plugin_file ) . '" target="_parent">' . __( 'Network Activate' ) . '</a>'; |
61 | 61 | unset( $install_actions['activate_plugin'] ); |
62 | 62 | } |
63 | 63 | |
… |
… |
class Plugin_Installer_Skin extends WP_Upgrader_Skin { |
91 | 91 | $install_actions = apply_filters( 'install_plugin_complete_actions', $install_actions, $this->api, $plugin_file ); |
92 | 92 | |
93 | 93 | if ( ! empty($install_actions) ) |
94 | | $this->feedback(implode(' | ', (array)$install_actions)); |
| 94 | $this->feedback(implode(' ', (array)$install_actions)); |
95 | 95 | } |
96 | 96 | } |