WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20014, comment 4


Ignore:
Timestamp:
02/24/2012 05:28:09 AM (6 years ago)
Author:
georgestephanis
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20014, comment 4

    initial v1  
    22
    33`
     4
    45function wp_check_for_touch_ui(){
    56        if( isset( $_COOKIE['wp_ui_touch'] ) && ( 'true' == $_COOKIE['wp_ui_touch'] ) ) return;
     
    2324// this will catch future touch events if they somehow make it past the login page without touching ...
    2425add_action( 'admin_footer', 'wp_check_for_touch_ui' );
     26
    2527`
    2628