Full Site Editing - Version 0.7.1

Version Description

  • Passes stylesheet to templates API to get homepage templates for latest themes.
Download this release

Release Info

Developer obenland
Plugin Icon wp plugin Full Site Editing
Version 0.7.1
Comparing to
See all releases

Code changes from version 0.7 to 0.7.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.7
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.7' );
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.7.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.7.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.2
6
- Stable tag: 0.6
7
  Requires PHP: 5.6.20
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -40,6 +40,9 @@ This plugin is experimental, so we don't provide any support for it outside of w
40
 
41
  == Changelog ==
42
 
 
 
 
43
  = 0.7 =
44
  * Change theme support to Maywood instead of Modern Business.
45
  * Improve style support and UX issues.
3
  Tags: block, blocks, editor, gutenberg, page
4
  Requires at least: 5.0
5
  Tested up to: 5.2
6
+ Stable tag: 0.7.1
7
  Requires PHP: 5.6.20
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
40
 
41
  == Changelog ==
42
 
43
+ = 0.7.1 =
44
+ * Passes stylesheet to templates API to get homepage templates for latest themes.
45
+
46
  = 0.7 =
47
  * Change theme support to Maywood instead of Modern Business.
48
  * Improve style support and UX issues.
starter-page-templates/class-starter-page-templates.php CHANGED
@@ -179,6 +179,7 @@ class Starter_Page_Templates {
179
  $request_url = add_query_arg(
180
  [
181
  '_locale' => $this->get_iso_639_locale(),
 
182
  ],
183
  'https://public-api.wordpress.com/wpcom/v2/verticals/' . $vertical_id . '/templates'
184
  );
179
  $request_url = add_query_arg(
180
  [
181
  '_locale' => $this->get_iso_639_locale(),
182
+ 'theme' => get_stylesheet(),
183
  ],
184
  'https://public-api.wordpress.com/wpcom/v2/verticals/' . $vertical_id . '/templates'
185
  );