Full Site Editing - Version 0.15.1

Version Description

  • Always open the layout selector if the ?new-homepage query argument exists.
Download this release

Release Info

Developer Copons
Plugin Icon wp plugin Full Site Editing
Version 0.15.1
Comparing to
See all releases

Code changes from version 0.15 to 0.15.1

full-site-editing-plugin.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Full Site Editing
4
  * Description: Enhances your page creation workflow within the Block Editor.
5
- * Version: 0.15
6
  * Author: Automattic
7
  * Author URI: https://automattic.com/wordpress-plugins/
8
  * License: GPLv2 or later
@@ -20,7 +20,7 @@ namespace A8C\FSE;
20
  *
21
  * @var string
22
  */
23
- define( 'PLUGIN_VERSION', '0.15' );
24
 
25
  // Themes which are supported by Full Site Editing (not the same as the SPT themes).
26
  const SUPPORTED_THEMES = [ 'maywood' ];
2
  /**
3
  * Plugin Name: Full Site Editing
4
  * Description: Enhances your page creation workflow within the Block Editor.
5
+ * Version: 0.15.1
6
  * Author: Automattic
7
  * Author URI: https://automattic.com/wordpress-plugins/
8
  * License: GPLv2 or later
20
  *
21
  * @var string
22
  */
23
+ define( 'PLUGIN_VERSION', '0.15.1' );
24
 
25
  // Themes which are supported by Full Site Editing (not the same as the SPT themes).
26
  const SUPPORTED_THEMES = [ 'maywood' ];
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: alexislloyd, allancole, automattic, codebykat, copons, dmsnell, ge
3
  Tags: block, blocks, editor, gutenberg, page
4
  Requires at least: 5.0
5
  Tested up to: 5.3
6
- Stable tag: 0.15
7
  Requires PHP: 5.6.20
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -42,6 +42,10 @@ This plugin is experimental, so we don't provide any support for it outside of w
42
 
43
  == Changelog ==
44
 
 
 
 
 
45
  = 0.15 =
46
 
47
  * Add ability to change page layout for existing pages.
3
  Tags: block, blocks, editor, gutenberg, page
4
  Requires at least: 5.0
5
  Tested up to: 5.3
6
+ Stable tag: 0.15.1
7
  Requires PHP: 5.6.20
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
42
 
43
  == Changelog ==
44
 
45
+ = 0.15.1 =
46
+
47
+ * Always open the layout selector if the `?new-homepage` query argument exists.
48
+
49
  = 0.15 =
50
 
51
  * Add ability to change page layout for existing pages.
starter-page-templates/class-starter-page-templates.php CHANGED
@@ -176,7 +176,8 @@ class Starter_Page_Templates {
176
  'templates' => array_merge( $default_templates, $vertical_templates ),
177
  'vertical' => $vertical,
178
  'segment' => $segment,
179
- 'screenAction' => $screen->action,
 
180
  'theme' => normalize_theme_slug( get_stylesheet() ),
181
  // phpcs:ignore WordPress.Security.NonceVerification.NoNonceVerification
182
  'isFrontPage' => isset( $_GET['post'] ) && get_option( 'page_on_front' ) === $_GET['post'],
176
  'templates' => array_merge( $default_templates, $vertical_templates ),
177
  'vertical' => $vertical,
178
  'segment' => $segment,
179
+ // phpcs:ignore WordPress.Security.NonceVerification.NoNonceVerification
180
+ 'screenAction' => isset( $_GET['new-homepage'] ) ? 'add' : $screen->action,
181
  'theme' => normalize_theme_slug( get_stylesheet() ),
182
  // phpcs:ignore WordPress.Security.NonceVerification.NoNonceVerification
183
  'isFrontPage' => isset( $_GET['post'] ) && get_option( 'page_on_front' ) === $_GET['post'],