WordPress.org

Make WordPress Core

Ticket #41092: 41092 patch.patch

File 41092 patch.patch, 1010 bytes (added by shazdeh, 3 years ago)

Fix fatal error in WP when using RTL

  • wp-includes/load.php

     
    948948                return;
    949949        }
    950950
     951        require_once ABSPATH . WPINC . '/general-template.php';
     952
    951953        // We need $wp_local_package
    952954        require ABSPATH . WPINC . '/version.php';
    953955
  • wp-settings.php

     
    161161require( ABSPATH . WPINC . '/class-wp-session-tokens.php' );
    162162require( ABSPATH . WPINC . '/class-wp-user-meta-session-tokens.php' );
    163163require( ABSPATH . WPINC . '/class-wp-metadata-lazyloader.php' );
    164 require( ABSPATH . WPINC . '/general-template.php' );
     164require_once( ABSPATH . WPINC . '/general-template.php' );
    165165require( ABSPATH . WPINC . '/link-template.php' );
    166166require( ABSPATH . WPINC . '/author-template.php' );
    167167require( ABSPATH . WPINC . '/post.php' );