var
/
www
/
html
/
servotec-doerpen
/
wp-admin
| uid:33
load-styles.php
[X]
<?php /* * The error_reporting() function can be disabled in php.ini. On systems where that is the case, * it's best to add a dummy function to the wp-config.php file, but as this call to the function * is run prior to wp-config.php loading, it is wrapped in a function_exists() check. */ if ( function_exists( 'error_reporting' ) ) { /* * Disable error reporting. * * Set this to error_reporting( -1 ) for debugging. */ error_reporting( 0 ); } // Set ABSPATH for execution. if ( ! defined( 'ABSPATH' ) ) { define( 'ABSPATH', dirname( __DIR__ ) . '/' ); } define( 'WPINC', 'wp-includes' ); define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); 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', 'HTTP/3' ), true ) ) { $protocol = 'HTTP/1.0'; } $load = $_GET['load']; if ( is_array( $load ) ) { ksort( $load ); $load = implode( '', $load ); } $load = preg_replace( '/[^a-z0-9,_-]+/i', '', $load ); $load = array_unique( explode( ',', $load ) ); if ( empty( $load ) ) { header( "$protocol 400 Bad Request" ); exit; } $rtl = ( isset( $_GET['dir'] ) && 'rtl' === $_GET['dir'] ); $expires_offset = 31536000; // 1 year. $out = ''; $wp_styles = new WP_Styles(); wp_default_styles( $wp_styles ); $etag = $wp_styles->get_etag( $load ); if ( isset( $_SERVER['HTTP_IF_NONE_MATCH'] ) && stripslashes( $_SERVER['HTTP_IF_NONE_MATCH'] ) === $etag ) { header( "$protocol 304 Not Modified" ); exit; } foreach ( $load as $handle ) { if ( ! array_key_exists( $handle, $wp_styles->registered ) ) { continue; } $style = $wp_styles->registered[ $handle ]; if ( empty( $style->src ) ) { continue; } $path = ABSPATH . $style->src; if ( $rtl && ! empty( $style->extra['rtl'] ) ) { // All default styles have fully independent RTL files. $path = str_replace( '.min.css', '-rtl.min.css', $path ); } $content = get_file( $path ) . "\n"; // Note: str_starts_with() is not used here, as wp-includes/compat.php is not loaded in this file. if ( 0 === strpos( $style->src, '/' . WPINC . '/css/' ) ) { $content = str_replace( '../images/', '../' . WPINC . '/images/', $content ); $content = str_replace( '../js/tinymce/', '../' . WPINC . '/js/tinymce/', $content ); $content = str_replace( '../fonts/', '../' . WPINC . '/fonts/', $content ); $out .= $content; } else { $out .= str_replace( '../images/', 'images/', $content ); } } header( "Etag: $etag" ); header( 'Content-Type: text/css; charset=UTF-8' ); header( 'Expires: ' . gmdate( 'D, d M Y H:i:s', time() + $expires_offset ) . ' GMT' ); header( "Cache-Control: public, max-age=$expires_offset" ); echo $out; exit;
css/
-
O
R
D
images/
-
O
R
D
includes/
-
O
R
D
js/
-
O
R
D
maint/
-
O
R
D
network/
-
O
R
D
user/
-
O
R
D
admin-ajax.php
5K
V
E
R
D
admin-footer.php
2.7K
V
E
R
D
contribute.php
5.9K
V
E
R
D
credits.php
4.4K
V
E
R
D
custom-background.php
489
V
E
R
D
edit-tag-form.php
10.4K
V
E
R
D
edit-tags.php
22K
V
E
R
D
erase-personal-data.php
7.3K
V
E
R
D
font-library.php
1K
V
E
R
D
freedoms.php
4.8K
V
E
R
D
import.php
7.6K
V
E
R
D
index.php
7.7K
V
E
R
D
install-helper.php
6.8K
V
E
R
D
link-add.php
934
V
E
R
D
link-manager.php
4.3K
V
E
R
D
link.php
2.9K
V
E
R
D
load-styles.php
2.9K
V
E
R
D
media-new.php
3.2K
V
E
R
D
media-upload.php
3.6K
V
E
R
D
media.php
819
V
E
R
D
menu.php
17.7K
V
E
R
D
moderation.php
307
V
E
R
D
ms-delete-site.php
4.5K
V
E
R
D
ms-edit.php
216
V
E
R
D
ms-options.php
229
V
E
R
D
ms-sites.php
215
V
E
R
D
ms-themes.php
217
V
E
R
D
ms-upgrade-network.php
219
V
E
R
D
my-sites.php
4.7K
V
E
R
D
nav-menus.php
49.1K
V
E
R
D
options-connectors.php
195
V
E
R
D
options-discussion.php
15.9K
V
E
R
D
options-general.php
22.3K
V
E
R
D
options-head.php
621
V
E
R
D
options-media.php
6.4K
V
E
R
D
options-privacy.php
9.9K
V
E
R
D
options-reading.php
10K
V
E
R
D
options-writing.php
9.1K
V
E
R
D
options.php
13.9K
V
E
R
D
post-new.php
2.7K
V
E
R
D
post.php
10K
V
E
R
D
press-this.php
2.4K
V
E
R
D
privacy-policy-guide.php
3.7K
V
E
R
D
privacy.php
2.8K
V
E
R
D
profile.php
283
V
E
R
D
revision.php
5.7K
V
E
R
D
site-editor.php
12.1K
V
E
R
D
site-health-info.php
4.1K
V
E
R
D
site-health.php
10.2K
V
E
R
D
themes.php
48.2K
V
E
R
D
update-core.php
45.1K
V
E
R
D
upgrade-functions.php
341
V
E
R
D
upgrade.php
6.2K
V
E
R
D
upload.php
14.9K
V
E
R
D
user-new.php
24.1K
V
E
R
D
widgets-form.php
19.1K
V
E
R
D