WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/09/2010 06:02:54 PM (9 years ago)
Author:
nacin
Message:

Always exit after wp_redirect. props filosofo, fixes #15518.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/update-core.php

    r16747 r16847  
    367367    dismiss_core_update( $update );
    368368    wp_redirect( wp_nonce_url('update-core.php?action=upgrade-core', 'upgrade-core') );
     369    exit;
    369370}
    370371
     
    377378    undismiss_core_update( $version, $locale );
    378379    wp_redirect( wp_nonce_url('update-core.php?action=upgrade-core', 'upgrade-core') );
     380    exit;
    379381}
    380382
Note: See TracChangeset for help on using the changeset viewer.