Make WordPress Core

Changeset 16061 for trunk/wp-signup.php


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

    r16009 r16061  
    192192        <?php do_action( "signup_hidden_fields" ); ?>
    193193        <?php show_blog_form($blogname, $blog_title, $errors); ?>
    194         <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Create Site' ) ?>" /></p>
     194        <?php submit_button( __( 'Create Site' ), 'submit', 'submit' ); ?>
    195195    </form>
    196196    <?php
     
    271271        </p>
    272272
    273         <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e('Next') ?>" /></p>
     273        <?php submit_button( __( 'Next' ), 'submit', 'submit' ); ?>
    274274    </form>
    275275    <?php
     
    327327        <?php do_action( "signup_hidden_fields" ); ?>
    328328        <?php show_blog_form($blogname, $blog_title, $errors); ?>
    329         <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e('Signup') ?>" /></p>
     329        <?php submit_button( __( 'Signup' ), 'submit', 'submit', true ); ?>
    330330    </form>
    331331    <?php
Note: See TracChangeset for help on using the changeset viewer.