WordPress.org

Make WordPress Core

Changeset 13188


Ignore:
Timestamp:
02/18/2010 03:01:45 AM (12 years ago)
Author:
ryan
Message:

Use background-position-x. Props iammattthomas. see #12186

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme.php

    r13186 r13188  
    14051405    $position = get_theme_mod('background_position');
    14061406    if  ( 'center' == $position )
    1407         $position = 'background-position: center;';
     1407        $position = 'background-position-x: center;';
    14081408    elseif ( 'right' == $position )
    1409         $position = 'background-position: right;';
     1409        $position = 'background-position-x: right;';
    14101410    else
    1411         $position = 'background-position: left;';
     1411        $position = 'background-position-x: left;';
    14121412    $attachment = get_theme_mod('background_attachment');
    14131413    if ( 'scroll' == $attachment )
Note: See TracChangeset for help on using the changeset viewer.