C:\xampp\htdocs\landing\wp-content\updraft\plugins-old\gutenberg\lib\widget-preview-template.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
 * Start: Include for phase 2
 * Template used to render widget previews.
 *
 * @package gutenberg
 * @since 5.4.0
 */

if ( ! function_exists'wp_head' ) ) {
    exit;
}
?>
<!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 {
            background: #FFF !important;
            padding: 0 !important;
            margin: 0 !important;
        }
    </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['widget-preview'] );
        
?>
    </div><!-- #content -->
</div><!-- #page -->

<?php wp_footer(); ?>
</body>
</html>
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586