Version Description
Download this release
Release Info
Developer | gutenbergplugin |
Plugin | Gutenberg |
Version | 9.7.4 |
Comparing to | |
See all releases |
Code changes from version 9.7.3 to 9.7.4
- changelog.txt +7 -0
- gutenberg.php +3 -3
- lib/client-assets.php +5 -0
- readme.txt +2 -2
changelog.txt
CHANGED
@@ -1,5 +1,12 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
= 9.7.3 =
|
4 |
|
5 |
### Bug Fixes
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 9.7.4 =
|
4 |
+
|
5 |
+
### Bug Fixes
|
6 |
+
|
7 |
+
- Fix isRTL check by loading the ltr string explicitely.
|
8 |
+
|
9 |
+
|
10 |
= 9.7.3 =
|
11 |
|
12 |
### Bug Fixes
|
gutenberg.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Printing since 1440. This is the development plugin for the new block editor in core.
|
6 |
* Requires at least: 5.3
|
7 |
* Requires PHP: 5.6
|
8 |
-
* Version: 9.7.
|
9 |
* Author: Gutenberg Team
|
10 |
* Text Domain: gutenberg
|
11 |
*
|
@@ -13,8 +13,8 @@
|
|
13 |
*/
|
14 |
|
15 |
### BEGIN AUTO-GENERATED DEFINES
|
16 |
-
define( 'GUTENBERG_VERSION', '9.7.
|
17 |
-
define( 'GUTENBERG_GIT_COMMIT', '
|
18 |
### END AUTO-GENERATED DEFINES
|
19 |
|
20 |
gutenberg_pre_init();
|
5 |
* Description: Printing since 1440. This is the development plugin for the new block editor in core.
|
6 |
* Requires at least: 5.3
|
7 |
* Requires PHP: 5.6
|
8 |
+
* Version: 9.7.4
|
9 |
* Author: Gutenberg Team
|
10 |
* Text Domain: gutenberg
|
11 |
*
|
13 |
*/
|
14 |
|
15 |
### BEGIN AUTO-GENERATED DEFINES
|
16 |
+
define( 'GUTENBERG_VERSION', '9.7.4' );
|
17 |
+
define( 'GUTENBERG_GIT_COMMIT', '5d9eea33a2df2b11c7e963e6043300df883f0d96' );
|
18 |
### END AUTO-GENERATED DEFINES
|
19 |
|
20 |
gutenberg_pre_init();
|
lib/client-assets.php
CHANGED
@@ -95,6 +95,11 @@ function gutenberg_override_script( $scripts, $handle, $src, $deps = array(), $v
|
|
95 |
if ( 'wp-i18n' !== $handle && 'wp-polyfill' !== $handle ) {
|
96 |
$scripts->set_translations( $handle, 'default' );
|
97 |
}
|
|
|
|
|
|
|
|
|
|
|
98 |
}
|
99 |
|
100 |
/**
|
95 |
if ( 'wp-i18n' !== $handle && 'wp-polyfill' !== $handle ) {
|
96 |
$scripts->set_translations( $handle, 'default' );
|
97 |
}
|
98 |
+
if ( 'wp-i18n' === $handle ) {
|
99 |
+
$ltr = 'rtl' === _x( 'ltr', 'text direction', 'default' ) ? 'rtl' : 'ltr';
|
100 |
+
$output = sprintf( "wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ '%s' ] }, 'default' );", $ltr );
|
101 |
+
$scripts->add_inline_script( 'wp-i18n', $output, 'after' );
|
102 |
+
}
|
103 |
}
|
104 |
|
105 |
/**
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: matveb, joen, karmatosed
|
|
3 |
Requires at least: 5.5.0
|
4 |
Tested up to: 5.6
|
5 |
Requires PHP: 5.6
|
6 |
-
Stable tag: 9.7.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -57,4 +57,4 @@ View <a href="https://developer.wordpress.org/block-editor/principles/versions-i
|
|
57 |
|
58 |
== Changelog ==
|
59 |
|
60 |
-
To read the changelog for Gutenberg 9.7.
|
3 |
Requires at least: 5.5.0
|
4 |
Tested up to: 5.6
|
5 |
Requires PHP: 5.6
|
6 |
+
Stable tag: 9.7.3
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
57 |
|
58 |
== Changelog ==
|
59 |
|
60 |
+
To read the changelog for Gutenberg 9.7.4, please navigate to the <a href="https://github.com/WordPress/gutenberg/releases/tag/v9.7.4">release page</a>.
|