Make WordPress Core


Ignore:
Timestamp:
08/31/2016 04:30:48 PM (8 years ago)
Author:
wonderboymusic
Message:

Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389.

See #36335.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r38465 r38470  
    14961496    $args['pagenum'] = ! empty( $_POST['page'] ) ? absint( $_POST['page'] ) : 1;
    14971497
     1498    require(ABSPATH . WPINC . '/class-wp-editor.php');
    14981499    $results = _WP_Editors::wp_link_query( $args );
    14991500
     
    31163117 */
    31173118function wp_ajax_press_this_save_post() {
     3119    include( ABSPATH . 'wp-admin/includes/class-wp-press-this.php' );
    31183120    $wp_press_this = new WP_Press_This();
    31193121    $wp_press_this->save_post();
     
    31263128 */
    31273129function wp_ajax_press_this_add_category() {
     3130    include( ABSPATH . 'wp-admin/includes/class-wp-press-this.php' );
    31283131    $wp_press_this = new WP_Press_This();
    31293132    $wp_press_this->add_category();
     
    31533156    switch ( $context ) {
    31543157        case 'site-icon':
     3158            require_once ABSPATH . '/wp-admin/includes/class-wp-site-icon.php';
    31553159            $wp_site_icon = new WP_Site_Icon();
    31563160
     
    33013305    }
    33023306
     3307    include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    33033308    include_once( ABSPATH . 'wp-admin/includes/theme.php' );
    33043309
     
    34073412    }
    34083413
     3414    include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
     3415
    34093416    $current = get_site_transient( 'update_themes' );
    34103417    if ( empty( $current ) ) {
     
    35563563    }
    35573564
     3565    include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    35583566    include_once( ABSPATH . 'wp-admin/includes/plugin-install.php' );
    35593567
     
    36633671    }
    36643672
     3673    include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
     3674
    36653675    wp_update_plugins();
    36663676
Note: See TracChangeset for help on using the changeset viewer.