From fe7d612b97c391bef2a3aee30f346c0c9f88c47c Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 9 May 2012 21:13:22 +0000 Subject: [PATCH] Use correct translation function. Props kobenland, SergeyBiryukov. fixes #20646 git-svn-id: https://develop.svn.wordpress.org/trunk@20757 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/custom-background.php | 2 +- wp-admin/custom-header.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/custom-background.php b/wp-admin/custom-background.php index c4517d4176..4e3cbc0bac 100644 --- a/wp-admin/custom-background.php +++ b/wp-admin/custom-background.php @@ -383,7 +383,7 @@ if ( get_background_image() ) { function attachment_fields_to_edit( $form_fields, $post ) { if ( isset( $_REQUEST['context'] ) && $_REQUEST['context'] == 'custom-background' ) { $form_fields = array( 'image-size' => $form_fields['image-size'] ); - $form_fields['buttons'] = array( 'tr' => '' . _( 'Set as background' ) . '' ); + $form_fields['buttons'] = array( 'tr' => '' . __( 'Set as background' ) . '' ); $form_fields['context'] = array( 'input' => 'hidden', 'value' => 'custom-background' ); } diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php index 7b59453af1..aa50b9bf05 100644 --- a/wp-admin/custom-header.php +++ b/wp-admin/custom-header.php @@ -955,7 +955,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> 'file' => $post->ID ), admin_url('themes.php'))); - $form_fields['buttons'] = array( 'tr' => '' . _( 'Set as header' ) . '' ); + $form_fields['buttons'] = array( 'tr' => '' . __( 'Set as header' ) . '' ); $form_fields['context'] = array( 'input' => 'hidden', 'value' => 'custom-header' ); }