WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/13/2019 04:45:05 AM (9 months ago)
Author:
SergeyBiryukov
Message:

Bootstrap/Load: Remove duplicate leading slashes on inclusion of various files under ABSPATH.

Props dmsnell, birgire, szepe.viktor.
Fixes #46327.

File:
1 edited

Legend:

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

    r44609 r45190  
    596596 */
    597597function wp_maybe_auto_update() {
    598     include_once( ABSPATH . '/wp-admin/includes/admin.php' );
    599     include_once( ABSPATH . '/wp-admin/includes/class-wp-upgrader.php' );
     598    include_once( ABSPATH . 'wp-admin/includes/admin.php' );
     599    include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    600600
    601601    $upgrader = new WP_Automatic_Updater;
Note: See TracChangeset for help on using the changeset viewer.