WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/20/2010 04:38:00 PM (9 years ago)
Author:
ryan
Message:

Add update-core to network admin. Props PeteMall. see #15162

File:
1 edited

Legend:

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

    r15473 r15871  
    393393if ( 'upgrade-core' == $action ) {
    394394    wp_version_check();
    395     require_once('./admin-header.php');
     395    require_once(ABSPATH . 'wp-admin/admin-header.php');
    396396    core_upgrade_preamble();
    397397} elseif ( 'do-core-upgrade' == $action || 'do-core-reinstall' == $action ) {
     
    405405        do_undismiss_core_update();
    406406
    407     require_once('./admin-header.php');
     407    require_once(ABSPATH . 'wp-admin/admin-header.php');
    408408    if ( 'do-core-reinstall' == $action )
    409409        $reinstall = true;
     
    431431    $title = __('Update Plugins');
    432432
    433     require_once('./admin-header.php');
     433    require_once(ABSPATH . 'wp-admin/admin-header.php');
    434434    echo '<div class="wrap">';
    435435    screen_icon('plugins');
     
    454454    $title = __('Update Themes');
    455455
    456     require_once('./admin-header.php');
     456    require_once(ABSPATH . 'wp-admin/admin-header.php');
    457457    echo '<div class="wrap">';
    458458    screen_icon('themes');
     
    462462}
    463463
    464 include('./admin-footer.php');
     464include(ABSPATH . 'wp-admin/admin-footer.php');
Note: See TracChangeset for help on using the changeset viewer.