Make WordPress Core


Ignore:
Timestamp:
05/09/2012 09:13:22 PM (12 years ago)
Author:
ryan
Message:

Use correct translation function. Props kobenland, SergeyBiryukov. fixes #20646

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/custom-background.php

    r20358 r20757  
    384384        if ( isset( $_REQUEST['context'] ) && $_REQUEST['context'] == 'custom-background' ) {
    385385            $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>' );
    387387            $form_fields['context'] = array( 'input' => 'hidden', 'value' => 'custom-background' );
    388388        }
Note: See TracChangeset for help on using the changeset viewer.