Changeset 20757
- Timestamp:
- 05/09/2012 09:13:22 PM (13 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-background.php
r20358 r20757 384 384 if ( isset( $_REQUEST['context'] ) && $_REQUEST['context'] == 'custom-background' ) { 385 385 $form_fields = array( 'image-size' => $form_fields['image-size'] ); 386 $form_fields['buttons'] = array( 'tr' => '<tr class="submit"><td></td><td><a data-attachment-id="' . $post->ID . '" class="wp-set-background">' . _ ( 'Set as background' ) . '</a></td></tr>' );386 $form_fields['buttons'] = array( 'tr' => '<tr class="submit"><td></td><td><a data-attachment-id="' . $post->ID . '" class="wp-set-background">' . __( 'Set as background' ) . '</a></td></tr>' ); 387 387 $form_fields['context'] = array( 'input' => 'hidden', 'value' => 'custom-background' ); 388 388 } -
trunk/wp-admin/custom-header.php
r20719 r20757 956 956 ), admin_url('themes.php'))); 957 957 958 $form_fields['buttons'] = array( 'tr' => '<tr class="submit"><td></td><td><a data-location="' . $href . '" class="wp-set-header">' . _ ( 'Set as header' ) . '</a></td></tr>' );958 $form_fields['buttons'] = array( 'tr' => '<tr class="submit"><td></td><td><a data-location="' . $href . '" class="wp-set-header">' . __( 'Set as header' ) . '</a></td></tr>' ); 959 959 $form_fields['context'] = array( 'input' => 'hidden', 'value' => 'custom-header' ); 960 960 }
Note: See TracChangeset
for help on using the changeset viewer.