Make WordPress Core

Changeset 19693


Ignore:
Timestamp:
01/05/2012 10:46:32 PM (13 years ago)
Author:
ryan
Message:

Don't fire update checks for ajax requests. Props mitchoyoshitaka. fixes #13732

File:
1 edited

Legend:

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

    r19683 r19693  
    432432}
    433433
    434 if ( ! is_main_site() && ! is_network_admin() )
     434if ( ( ! is_main_site() && ! is_network_admin() ) || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) )
    435435    return;
    436436
Note: See TracChangeset for help on using the changeset viewer.