CoreFiles by mySites.guru
navigation-overlay.php19 lines, 1,378 bytes, from wordpress-7.2-beta1.zip
Raw History Compare with 7.1-beta4
md5
b7b3a8e011131feaf07fce89a4401ad3
sha1
e5c8c0f36e6eb082647b684121278387f4992b45
sha256
df918f3b9678a4c2283f4116d42337e937ac36387a233807b1e8d168a150aec8
<?php
/**
 * Navigation: Overlay.
 *
 * @package WordPress
 */

return array(
	'title'      => _x( 'Navigation Overlay', 'Block pattern title' ),
	'blockTypes' => array( 'core/template-part/navigation-overlay' ),
	'categories' => array( 'navigation' ),
	'content'    => '<!-- wp:group {"metadata":{"name":"' . esc_attr( __( 'Navigation Overlay' ) ) . '"},"style":{"spacing":{"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40","top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"dimensions":{"minHeight":"100vh"},"elements":{"link":{"color":{"text":"var:preset|color|black"}}}},"backgroundColor":"white","textColor":"black","layout":{"type":"default"}} -->
<div class="wp-block-group has-black-color has-white-background-color has-text-color has-background has-link-color" style="min-height:100vh;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"><!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"right"}} -->
<div class="wp-block-group alignwide"><!-- wp:navigation-overlay-close /--></div>
<!-- /wp:group -->

<!-- wp:navigation {"layout":{"type":"flex","orientation":"vertical"},"showSubmenuIcon":false,"submenuVisibility":"always"} /--></div>
<!-- /wp:group -->',
);

The same content is in 37 releases, WordPress 7.0-RC2 to 7.2-RC2. See them all, or every version of this file.