WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/13/2019 04:45:05 AM (18 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/class-wp-customize-manager.php

    r44975 r45190  
    403403        // Add theme update notices.
    404404        if ( current_user_can( 'install_themes' ) || current_user_can( 'update_themes' ) ) {
    405             require_once ABSPATH . '/wp-admin/includes/update.php';
     405            require_once ABSPATH . 'wp-admin/includes/update.php';
    406406            add_action( 'customize_controls_print_footer_scripts', 'wp_print_admin_notice_templates' );
    407407        }
Note: See TracChangeset for help on using the changeset viewer.