Make WordPress Core


Ignore:
Timestamp:
10/15/2015 03:07:48 AM (10 years ago)
Author:
helen
Message:

Make some primary action buttons look primary.

  • User deletion/removal
  • Site status change (multisite)
  • Network upgrade
  • Import file upload
  • Media browser upload

props Dezzy for the initial patch.
fixes #23738.

File:
1 edited

Legend:

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

    r35170 r35182  
    19281928        <label class="screen-reader-text" for="async-upload"><?php _e('Upload'); ?></label>
    19291929        <input type="file" name="async-upload" id="async-upload" />
    1930         <?php submit_button( __( 'Upload' ), 'button', 'html-upload', false ); ?>
     1930        <?php submit_button( __( 'Upload' ), 'primary', 'html-upload', false ); ?>
    19311931        <a href="#" onclick="try{top.tb_remove();}catch(e){}; return false;"><?php _e('Cancel'); ?></a>
    19321932    </p>
Note: See TracChangeset for help on using the changeset viewer.