Make WordPress Core

Changeset 14809


Ignore:
Timestamp:
05/23/2010 12:26:13 AM (15 years ago)
Author:
dd32
Message:

Correct the no-shake iphone check. See #13495

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r14806 r14809  
    117117} // End of login_header()
    118118function wp_shake_js() {
    119     if ( !$is_iphone ) :
     119    global $is_iphone;
     120    if ( $is_iphone )
     121        return;
    120122?>
    121123<script type="text/javascript">
     
    127129</script>
    128130<?php
    129     endif;
    130131}
    131132
Note: See TracChangeset for help on using the changeset viewer.