WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/28/2010 09:56:43 PM (9 years ago)
Author:
markjaquith
Message:

Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064

File:
1 edited

Legend:

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

    r15834 r16061  
    9191    <?php wp_nonce_field('media-form'); ?>
    9292    <div id="media-items" class="hide-if-no-js"> </div>
    93     <p>
    94     <input type="submit" class="button savebutton hide-if-no-js" name="save" value="<?php esc_attr_e( 'Save all changes' ); ?>" />
    95     </p>
     93    <?php submit_button( __( 'Save all changes' ), 'button savebutton hide-if-no-js', 'save' ); ?>
    9694    </form>
    9795    </div>
Note: See TracChangeset for help on using the changeset viewer.