Add gettext. Props Latz. fixes #18173
git-svn-id: http://svn.automattic.com/wordpress/trunk@18509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f5762a2aab
commit
1cf9dfacbf
|
@ -629,7 +629,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>
|
||||||
function step_2() {
|
function step_2() {
|
||||||
check_admin_referer('custom-header-upload', '_wpnonce-custom-header-upload');
|
check_admin_referer('custom-header-upload', '_wpnonce-custom-header-upload');
|
||||||
if ( ! current_theme_supports( 'custom-header-uploads' ) )
|
if ( ! current_theme_supports( 'custom-header-uploads' ) )
|
||||||
wp_die( 'Cheatin’ uh?' );
|
wp_die( __( 'Cheatin’ uh?' ) );
|
||||||
|
|
||||||
$overrides = array('test_form' => false);
|
$overrides = array('test_form' => false);
|
||||||
$file = wp_handle_upload($_FILES['import'], $overrides);
|
$file = wp_handle_upload($_FILES['import'], $overrides);
|
||||||
|
@ -715,7 +715,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>
|
||||||
function step_3() {
|
function step_3() {
|
||||||
check_admin_referer('custom-header-crop-image');
|
check_admin_referer('custom-header-crop-image');
|
||||||
if ( ! current_theme_supports( 'custom-header-uploads' ) )
|
if ( ! current_theme_supports( 'custom-header-uploads' ) )
|
||||||
wp_die( 'Cheatin’ uh?' );
|
wp_die( __( 'Cheatin’ uh?' ) );
|
||||||
|
|
||||||
if ( $_POST['oitar'] > 1 ) {
|
if ( $_POST['oitar'] > 1 ) {
|
||||||
$_POST['x1'] = $_POST['x1'] * $_POST['oitar'];
|
$_POST['x1'] = $_POST['x1'] * $_POST['oitar'];
|
||||||
|
|
Loading…
Reference in New Issue