- Timestamp:
- 05/30/2018 04:55:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/template-tags.php
r12146 r12148 2424 2424 } 2425 2425 2426 // Output the submit button. 2427 printf( 2428 '<div class="submit"> 2429 <input type="submit" %s/> 2430 </div>', 2426 $submit_input = sprintf( '<input type="submit" %s/>', 2431 2427 bp_get_form_field_attributes( 'submit', $submit_data['attributes'] ) // Safe. 2432 2428 ); 2433 2429 2434 wp_nonce_field( $submit_data['nonce'] ); 2430 // Output the submit button. 2431 if ( isset( $submit_data['wrapper'] ) && false === $submit_data['wrapper'] ) { 2432 echo $submit_input; 2433 2434 // Output the submit button into a wrapper. 2435 } else { 2436 printf( '<div class="submit">%s</div>', $submit_input ); 2437 } 2438 2439 if ( empty( $submit_data['nonce_key'] ) ) { 2440 wp_nonce_field( $submit_data['nonce'] ); 2441 } else { 2442 wp_nonce_field( $submit_data['nonce'], $submit_data['nonce_key'] ); 2443 } 2435 2444 2436 2445 if ( ! empty( $submit_data['after'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.