Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-admin-bar.php

    r19644 r20417  
    322322
    323323        final protected function _render( $root ) {
    324                 global $is_IE, $is_iphone;
     324                global $is_IE;
    325325
    326326                // Add browser classes.
    … …  
    334334                        elseif ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 9' ) )
    335335                                $class .= ' ie9';
    336                 } elseif ( $is_iphone ) {
     336                } elseif ( wp_is_mobile() ) {
    337337                        $class .= ' mobile';
    338338                }
    … …  
    472472        }
    473473}
    474 ?>
Note: See TracChangeset for help on using the changeset viewer.