Skip to content

Commit 6f7cd05

Browse files
committed
Administration: Add primary class to the FTP credentials modal submit button.
This helps differentiate the two buttons available in the FTP credentials modal by setting a `primary` class to the submit button. Props mapk, curdin, audrasjb, shailu25. Fixes #37647. git-svn-id: https://develop.svn.wordpress.org/trunk@58149 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 7a031a9 commit 6f7cd05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-admin/includes/file.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2664,7 +2664,7 @@ function request_filesystem_credentials( $form_post, $type = '', $error = false,
26642664
<p class="request-filesystem-credentials-action-buttons">
26652665
<?php wp_nonce_field( 'filesystem-credentials', '_fs_nonce', false, true ); ?>
26662666
<button class="button cancel-button" data-js-action="close" type="button"><?php _e( 'Cancel' ); ?></button>
2667-
<?php submit_button( __( 'Proceed' ), '', 'upgrade', false ); ?>
2667+
<?php submit_button( __( 'Proceed' ), 'primary', 'upgrade', false ); ?>
26682668
</p>
26692669
</div>
26702670
</form>

0 commit comments

Comments
 (0)