Skip to content

Commit d354b6c

Browse files
committed
Multisite: Use "Network Activate" button on network plugin install screen.
The "Activate" button label should be "Network Activate" after clicking the "Install Now" button in Network Admin > Plugins > Add Plugin. Props pmbaldha, shailu25, rollybueno. Fixes #63954. git-svn-id: https://develop.svn.wordpress.org/trunk@61016 602fd350-edb4-49c9-b593-d223f7449a82
1 parent cb2a8c1 commit d354b6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/_enqueues/wp/updates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@
965965
wp.a11y.speak( __( 'Plugin dependencies check completed successfully.' ) );
966966
$document.trigger( 'wp-check-plugin-dependencies-success', response );
967967

968-
if ( 'plugins-network' === pagenow ) {
968+
if ( 'plugins-network' === pagenow || 'plugin-install-network' === pagenow ) {
969969
buttonText = _x( 'Network Activate', 'plugin' );
970970
ariaLabel = sprintf(
971971
/* translators: %s: Plugin name. */

0 commit comments

Comments
 (0)