Version Description
- Gutenberg: Support new line height setting (https://github.com/Automattic/wp-calypso/pull/46792)
- Gutenberg: Make line-height setting more robust. (https://github.com/Automattic/wp-calypso/pull/46873)
Download this release
Release Info
Developer | fullofcaffeine |
Plugin | Full Site Editing |
Version | 2.8.2 |
Comparing to | |
See all releases |
Code changes from version 2.8.1 to 2.8.2
- common/index.php +4 -12
- full-site-editing-plugin.php +2 -2
- readme.txt +5 -1
common/index.php
CHANGED
@@ -128,19 +128,11 @@ add_action( 'enqueue_block_editor_assets', __NAMESPACE__ . '\enqueue_script_and_
|
|
128 |
* users had been utilizing the feature. With the 8.6 release, though, line-height
|
129 |
* was turned off by default unless the theme supported it. As a result, users
|
130 |
* suddenly were no longer able to access the settings they previously had access
|
131 |
-
* to. This
|
132 |
-
*
|
133 |
-
* Note: we use a priority of 11 so that this filter runs after the one which
|
134 |
-
* turns off custom line height depending on theme support.
|
135 |
*
|
136 |
* @see https://github.com/WordPress/gutenberg/pull/23904
|
137 |
-
*
|
138 |
-
* @param array $settings The associative array of Gutenberg editor settings with
|
139 |
-
* line-height sometimes disabled based on theme support.
|
140 |
-
* @return array Gutenberg editor settings with line-height setting always enabled.
|
141 |
**/
|
142 |
-
function wpcom_gutenberg_enable_custom_line_height(
|
143 |
-
|
144 |
-
return $settings;
|
145 |
}
|
146 |
-
|
128 |
* users had been utilizing the feature. With the 8.6 release, though, line-height
|
129 |
* was turned off by default unless the theme supported it. As a result, users
|
130 |
* suddenly were no longer able to access the settings they previously had access
|
131 |
+
* to. This turns the setting on for all wpcom users regardless of theme.
|
|
|
|
|
|
|
132 |
*
|
133 |
* @see https://github.com/WordPress/gutenberg/pull/23904
|
|
|
|
|
|
|
|
|
134 |
**/
|
135 |
+
function wpcom_gutenberg_enable_custom_line_height() {
|
136 |
+
add_theme_support( 'custom-line-height' );
|
|
|
137 |
}
|
138 |
+
add_action( 'after_setup_theme', __NAMESPACE__ . '\wpcom_gutenberg_enable_custom_line_height' );
|
full-site-editing-plugin.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: WordPress.com Editing Toolkit
|
4 |
* Description: Enhances your page creation workflow within the Block Editor.
|
5 |
-
* Version: 2.8.
|
6 |
* Author: Automattic
|
7 |
* Author URI: https://automattic.com/wordpress-plugins/
|
8 |
* License: GPLv2 or later
|
@@ -35,7 +35,7 @@ namespace A8C\FSE;
|
|
35 |
*
|
36 |
* @var string
|
37 |
*/
|
38 |
-
define( 'PLUGIN_VERSION', '2.8.
|
39 |
|
40 |
// Always include these helper files for dotcom FSE.
|
41 |
require_once __DIR__ . '/dotcom-fse/helpers.php';
|
2 |
/**
|
3 |
* Plugin Name: WordPress.com Editing Toolkit
|
4 |
* Description: Enhances your page creation workflow within the Block Editor.
|
5 |
+
* Version: 2.8.2
|
6 |
* Author: Automattic
|
7 |
* Author URI: https://automattic.com/wordpress-plugins/
|
8 |
* License: GPLv2 or later
|
35 |
*
|
36 |
* @var string
|
37 |
*/
|
38 |
+
define( 'PLUGIN_VERSION', '2.8.2' );
|
39 |
|
40 |
// Always include these helper files for dotcom FSE.
|
41 |
require_once __DIR__ . '/dotcom-fse/helpers.php';
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: alexislloyd, allancole, automattic, bartkalisz, codebykat, copons,
|
|
3 |
Tags: block, blocks, editor, gutenberg, page
|
4 |
Requires at least: 5.0
|
5 |
Tested up to: 5.5
|
6 |
-
Stable tag: 2.8.
|
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,10 @@ This plugin is experimental, so we don't provide any support for it outside of w
|
|
40 |
|
41 |
== Changelog ==
|
42 |
|
|
|
|
|
|
|
|
|
43 |
= 2.8.1 =
|
44 |
* Launch: Added persistent launch button. (https://github.com/Automattic/wp-calypso/pull/46558)
|
45 |
|
3 |
Tags: block, blocks, editor, gutenberg, page
|
4 |
Requires at least: 5.0
|
5 |
Tested up to: 5.5
|
6 |
+
Stable tag: 2.8.2
|
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 |
+
= 2.8.2 =
|
44 |
+
* Gutenberg: Support new line height setting (https://github.com/Automattic/wp-calypso/pull/46792)
|
45 |
+
* Gutenberg: Make line-height setting more robust. (https://github.com/Automattic/wp-calypso/pull/46873)
|
46 |
+
|
47 |
= 2.8.1 =
|
48 |
* Launch: Added persistent launch button. (https://github.com/Automattic/wp-calypso/pull/46558)
|
49 |
|