From 447b0a50dad82d795fd9f9b94bdaf4596403d961 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 18 Feb 2010 03:01:45 +0000 Subject: [PATCH] Use background-position-x. Props iammattthomas. see #12186 git-svn-id: http://svn.automattic.com/wordpress/trunk@13188 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 75551640a4..0dfca9f1c8 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -1404,11 +1404,11 @@ function _custom_background_cb() { $repeat = 'background-repeat: repeat;'; $position = get_theme_mod('background_position'); if ( 'center' == $position ) - $position = 'background-position: center;'; + $position = 'background-position-x: center;'; elseif ( 'right' == $position ) - $position = 'background-position: right;'; + $position = 'background-position-x: right;'; else - $position = 'background-position: left;'; + $position = 'background-position-x: left;'; $attachment = get_theme_mod('background_attachment'); if ( 'scroll' == $attachment ) $attachment = 'background-attachment: scroll;';