Kaynağa Gözat

update min required version to 6.1 and few minor fixes

madhusudhand 2 yıl önce
ebeveyn
işleme
7abade8876

+ 6 - 4
hey/patterns/404.php

@@ -5,12 +5,14 @@
  * Inserter: no
  */
 ?>
-<!-- wp:heading {"textAlign":"left","level":1,"fontSize":"large","anchor":"oops-that-page-can-t-be-found"} -->
-<h1 class="wp-block-heading has-text-align-left has-large-font-size" id="oops-that-page-can-t-be-found">
-	<?php echo esc_html__( 'Oops! That page can&rsquo;t be found.', 'hey' ); ?></h1>
-
+<!-- wp:heading {"textAlign":"left","level":1,"fontSize":"large"} -->
+<h1 class="wp-block-heading has-text-align-left has-large-font-size">
+	<?php echo esc_html__( 'Oops! That page can&rsquo;t be found.', 'hey' ); ?>
+</h1>
 <!-- /wp:heading -->
 
 <!-- wp:paragraph -->
 <p><?php echo  esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'hey' ); ?></p>
 <!-- /wp:paragraph -->
+
+<!-- wp:search {"label":"","showLabel":false,"placeholder":"<?php echo esc_attr__( 'Search...', 'hey' ); ?>","buttonUseIcon":true} /-->

+ 1 - 1
hey/patterns/header-commerce.php

@@ -22,7 +22,7 @@
 
 			<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"right"}} -->
 			<div class="wp-block-group">
-				<!-- wp:navigation {"ref":234,"style":{"spacing":{"blockGap":"var:preset|spacing|50"}}} /-->
+				<!-- wp:navigation {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}}} /-->
 
 				<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
 				<div class="wp-block-group">

+ 1 - 1
hey/readme.txt

@@ -1,6 +1,6 @@
 === Hey ===
 Contributors: Automattic
-Requires at least: 6.0
+Requires at least: 6.1
 Tested up to: 6.1.1
 Requires PHP: 5.7
 License: GPLv2 or later

+ 2 - 2
hey/style.css

@@ -4,8 +4,8 @@ Theme URI: https://wordpress.com/theme/hey/
 Author: Automattic
 Author URI: https://automattic.com/
 Description: Hey is a simple personal blog theme.
-Requires at least: 5.8
-Tested up to: 5.9
+Requires at least: 6.1
+Tested up to: 6.1
 Requires PHP: 5.7
 Version: 1.0.0
 License: GNU General Public License v2 or later

+ 0 - 2
hey/templates/404.html

@@ -3,8 +3,6 @@
 <!-- wp:group {"tagName":"main","style":{"spacing":{"blockGap":"var:preset|spacing|50","margin":{"top":"0px","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
 <main class="wp-block-group" style="margin-top:0px;margin-bottom:var(--wp--preset--spacing--80)">
 	<!-- wp:pattern {"slug":"hey/404"} /-->
-
-	<!-- wp:search {"label":"","showLabel":false,"placeholder":"Search...","buttonUseIcon":true} /-->
 </main>
 <!-- /wp:group -->