HEX
Server: nginx/1.28.1
System: Linux VM-0-12-opencloudos 6.6.117-45.oc9.x86_64 #1 SMP Thu Dec 4 10:26:39 CST 2025 x86_64
User: www (1000)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.waciwang.com/wp-content/plugins/gutenberg/build/styles.php
<?php
/**
 * Style registration - Auto-generated by build process.
 * Do not edit this file manually.
 *
 * Note: These styles can be overridden by calling gutenberg_override_style()
 * in lib/client-assets.php for complex cases (multiple files, conditional deps, etc.)
 *
 * @package gutenberg
 */

if ( ! function_exists( 'gutenberg_override_style' ) ) {
	/**
	 * Registers a style according to `wp_register_style`. Honors this request by
	 * deregistering any style by the same handler before registration.
	 *
	 * @param WP_Styles        $styles WP_Styles instance.
	 * @param string           $handle Name of the stylesheet. Should be unique.
	 * @param string           $src    Full URL of the stylesheet, or path of the stylesheet relative to the WordPress root directory.
	 * @param array            $deps   Optional. An array of registered stylesheet handles this stylesheet depends on. Default empty array.
	 * @param string|bool|null $ver    Optional. String specifying stylesheet version number, if it has one, which is added to the URL
	 *                                 as a query string for cache busting purposes. If version is set to false, a version
	 *                                 number is automatically added equal to current installed WordPress version.
	 *                                 If set to null, no version is added.
	 * @param string           $media  Optional. The media for which this stylesheet has been defined.
	 *                                 Default 'all'. Accepts media types like 'all', 'print' and 'screen', or media queries like
	 *                                 '(orientation: portrait)' and '(max-width: 640px)'.
	 */
	function gutenberg_override_style( $styles, $handle, $src, $deps = array(), $ver = false, $media = 'all' ) {
		$style = $styles->query( $handle, 'registered' );
		if ( $style ) {
			$styles->remove( $handle );
		}
		$styles->add( $handle, $src, $deps, $ver, $media );
	}
}

if ( ! function_exists( 'gutenberg_register_package_styles' ) ) {
	/**
	 * Register all package styles (simple cases only).
	 * Complex cases should be manually registered in lib/client-assets.php.
	 *
	 * @param WP_Styles $styles WP_Styles instance.
	 */
	function gutenberg_register_package_styles( $styles ) {
		// Load build constants
		$build_constants = require __DIR__ . '/constants.php';
		$default_version = ! SCRIPT_DEBUG ? $build_constants['version'] : time();
		$suffix          = SCRIPT_DEBUG ? '' : '.min';

		$styles_dir  = __DIR__ . '/styles';
		$styles_file = $styles_dir . '/registry.php';

		if ( ! file_exists( $styles_file ) ) {
			return;
		}

		$styles_data = require $styles_file;
		$plugin_dir  = dirname( __FILE__ );

		foreach ( $styles_data as $style_data ) {
			gutenberg_override_style(
				$styles,
				$style_data['handle'],
				$build_constants['build_url'] . 'styles/' . $style_data['path'] . $suffix . '.css',
				$style_data['dependencies'],
				$default_version
			);

			// Enable RTL support (WordPress automatically loads -rtl.css variant)
			$styles->add_data( $style_data['handle'], 'rtl', 'replace' );
			$styles->add_data( $style_data['handle'], 'suffix', $suffix );
		}
	}

	add_action( 'wp_default_styles', 'gutenberg_register_package_styles' );
}