Make WordPress Core


Ignore:
Timestamp:
10/28/2010 09:56:43 PM (14 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/network/themes.php

    r15481 r16061  
    4141        <h2><?php _e( 'Network Themes' ) ?></h2>
    4242        <p><?php _e( 'Themes must be enabled for your network before they will be available to individual sites.' ) ?></p>
    43         <p class="submit">
    44             <input type="submit" value="<?php _e( 'Apply Changes' ) ?>" /></p>
     43        <?php submit_button( __( 'Apply Changes' ), '', '' ); ?>
    4544        <table class="widefat">
    4645            <thead>
     
    8483            </tbody>
    8584        </table>
    86 
    87         <p class="submit">
    88             <input type="submit" value="<?php _e( 'Apply Changes' ) ?>" /></p>
     85       
     86        <?php submit_button( __( 'Apply Changes' ), '', '' ); ?>
    8987    </form>
    9088
Note: See TracChangeset for help on using the changeset viewer.