Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/12/2011 02:04:48 PM (13 years ago)
Author:
djpaul
Message:

Move hidden form field to top of form to make sure last-child selector works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/members/single/profile/change-avatar.php

    r4136 r4495  
    1111        <?php if ( 'upload-image' == bp_get_avatar_admin_step() ) : ?>
    1212
     13            <?php wp_nonce_field( 'bp_avatar_upload' ) ?>
    1314            <p><?php _e( 'Click below to select a JPG, GIF or PNG format photo from your computer and then click \'Upload Image\' to proceed.', 'buddypress' ) ?></p>
    1415
     
    2324                <p><a class="button edit" href="<?php bp_avatar_delete_link() ?>" title="<?php _e( 'Delete Avatar', 'buddypress' ) ?>"><?php _e( 'Delete My Avatar', 'buddypress' ) ?></a></p>
    2425            <?php endif; ?>
    25 
    26             <?php wp_nonce_field( 'bp_avatar_upload' ) ?>
    2726
    2827        <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.