Changeset 45190
- Timestamp:
- 04/13/2019 04:45:05 AM (6 years ago)
- Location:
- trunk/src
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/index.php
r44664 r45190 13 13 14 14 if ( file_exists( ABSPATH . 'wp-includes/js/dist/edit-post.js' ) ) { 15 require_once ABSPATH . ' /_index.php';15 require_once ABSPATH . '_index.php'; 16 16 return; 17 17 } -
trunk/src/wp-admin/includes/ajax-actions.php
r45176 r45190 3621 3621 switch ( $context ) { 3622 3622 case 'site-icon': 3623 require_once ABSPATH . ' /wp-admin/includes/class-wp-site-icon.php';3623 require_once ABSPATH . 'wp-admin/includes/class-wp-site-icon.php'; 3624 3624 $wp_site_icon = new WP_Site_Icon(); 3625 3625 -
trunk/src/wp-admin/includes/class-wp-debug-data.php
r45176 r45190 667 667 668 668 // Check if a .htaccess file exists. 669 if ( is_file( ABSPATH . ' /.htaccess' ) ) {669 if ( is_file( ABSPATH . '.htaccess' ) ) { 670 670 // If the file exists, grab the content of it. 671 $htaccess_content = file_get_contents( ABSPATH . ' /.htaccess' );671 $htaccess_content = file_get_contents( ABSPATH . '.htaccess' ); 672 672 673 673 // Filter away the core WordPress rules. -
trunk/src/wp-admin/includes/class-wp-site-health-auto-updates.php
r45118 r45190 351 351 continue; 352 352 } 353 if ( ! file_exists( ABSPATH . '/' .$file ) ) {353 if ( ! file_exists( ABSPATH . $file ) ) { 354 354 continue; 355 355 } 356 if ( ! is_writable( ABSPATH . '/' .$file ) ) {356 if ( ! is_writable( ABSPATH . $file ) ) { 357 357 $unwritable_files[] = $file; 358 358 } -
trunk/src/wp-includes/class-wp-customize-manager.php
r44975 r45190 403 403 // Add theme update notices. 404 404 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'; 406 406 add_action( 'customize_controls_print_footer_scripts', 'wp_print_admin_notice_templates' ); 407 407 } -
trunk/src/wp-includes/class-wp-customize-widgets.php
r44825 r45190 950 950 951 951 global $wp_registered_widgets, $wp_registered_widget_controls; 952 require_once ABSPATH . ' /wp-admin/includes/widgets.php'; // for next_widget_id_number()952 require_once ABSPATH . 'wp-admin/includes/widgets.php'; // for next_widget_id_number() 953 953 954 954 $sort = $wp_registered_widgets; -
trunk/src/wp-includes/customize/class-wp-widget-form-customize-control.php
r44498 r45190 97 97 98 98 // Get the widget_control and widget_content. 99 require_once ABSPATH . ' /wp-admin/includes/widgets.php';99 require_once ABSPATH . 'wp-admin/includes/widgets.php'; 100 100 101 101 $widget = $wp_registered_widgets[ $this->widget_id ]; -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r44225 r45190 1615 1615 1616 1616 if ( ! function_exists( 'get_sample_permalink' ) ) { 1617 require_once ABSPATH . ' /wp-admin/includes/post.php';1617 require_once ABSPATH . 'wp-admin/includes/post.php'; 1618 1618 } 1619 1619 -
trunk/src/wp-includes/update.php
r44609 r45190 596 596 */ 597 597 function 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' ); 600 600 601 601 $upgrader = new WP_Automatic_Updater;
Note: See TracChangeset
for help on using the changeset viewer.