Make WordPress Core

Changeset 58149


Ignore:
Timestamp:
05/14/2024 10:15:24 PM (6 months ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/file.php

    r58130 r58149  
    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>
Note: See TracChangeset for help on using the changeset viewer.