From 7e3010ef4607f1beed5c8387d0821e6c601d8c67 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 9 May 2012 21:13:22 +0000 Subject: [PATCH] Use correct translation function. Props kobenland, SergeyBiryukov. fixes #20646 git-svn-id: http://core.svn.wordpress.org/trunk@20757 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 c4517d417..4e3cbc0ba 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 7b59453af..aa50b9bf0 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' ); }