Custom background UI updates. props ocean90 for initial patch, see #12186.

git-svn-id: https://develop.svn.wordpress.org/trunk@14684 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-05-16 05:17:57 +00:00
parent d7130b8341
commit ae5af53f10
5 changed files with 42 additions and 51 deletions

View File

@@ -1553,7 +1553,7 @@ function _custom_background_cb() {
$repeat = 'background-repeat: repeat;';
}
switch ( get_theme_mod('background_position', 'left') ) {
switch ( get_theme_mod('background_position_x', 'left') ) {
case 'center':
$position = 'background-position: top center;';
break;