--- a/wp/wp-admin/load-styles.php Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-admin/load-styles.php Tue Sep 27 16:37:53 2022 +0200
@@ -1,13 +1,13 @@
<?php
-/**
- * Disable error reporting
+/*
+ * Disable error reporting.
*
- * Set this to error_reporting( -1 ) for debugging
+ * Set this to error_reporting( -1 ) for debugging.
*/
error_reporting( 0 );
-/** Set ABSPATH for execution */
+// Set ABSPATH for execution.
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', dirname( __DIR__ ) . '/' );
}
@@ -18,11 +18,12 @@
require ABSPATH . 'wp-admin/includes/noop.php';
require ABSPATH . WPINC . '/theme.php';
require ABSPATH . WPINC . '/class-wp-theme-json-resolver.php';
+require ABSPATH . WPINC . '/global-styles-and-settings.php';
require ABSPATH . WPINC . '/script-loader.php';
require ABSPATH . WPINC . '/version.php';
$protocol = $_SERVER['SERVER_PROTOCOL'];
-if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0' ), true ) ) {
+if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0', 'HTTP/3' ), true ) ) {
$protocol = 'HTTP/1.0';
}