Full Site Editing - Version 3.10498

Version Description

Download this release

Release Info

Developer yansern
Plugin Icon wp plugin Full Site Editing
Version 3.10498
Comparing to
See all releases

Code changes from version 3.10492 to 3.10498

common/dist/common.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => '04ccbd2f32c54fb6e0702e88cca0465c');
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => '41f0d03a1b76a69fbbdbd6a47cd202d1');
common/dist/common.css CHANGED
@@ -1 +1 @@
1
- body.hide-homepage-title .editor-post-title{opacity:.4}body.slider-width-workaround .interface-interface-skeleton__editor{max-width:100%}body.font-smoothing-antialiased,body.font-smoothing-antialiased #wpadminbar *,body.font-smoothing-antialiased #wpwrap{text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}
1
+ body.hide-homepage-title .editor-post-title{opacity:.4}body.slider-width-workaround .interface-interface-skeleton__editor{max-width:100%}@media(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){body.font-smoothing-antialiased,body.font-smoothing-antialiased #wpadminbar *,body.font-smoothing-antialiased #wpwrap{text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}}
common/dist/common.rtl.css CHANGED
@@ -1 +1 @@
1
- body.hide-homepage-title .editor-post-title{opacity:.4}body.slider-width-workaround .interface-interface-skeleton__editor{max-width:100%}body.font-smoothing-antialiased,body.font-smoothing-antialiased #wpadminbar *,body.font-smoothing-antialiased #wpwrap{text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}
1
+ body.hide-homepage-title .editor-post-title{opacity:.4}body.slider-width-workaround .interface-interface-skeleton__editor{max-width:100%}@media(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){body.font-smoothing-antialiased,body.font-smoothing-antialiased #wpadminbar *,body.font-smoothing-antialiased #wpwrap{text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}}
common/index.php CHANGED
@@ -87,11 +87,11 @@ function needs_slider_width_workaround() {
87
  * @return bool True if antialiased font-smoothing rule should be applied.
88
  */
89
  function use_font_smooth_antialiased() {
90
- if ( defined( 'A8C_USE_FONT_SMOOTHING_ANTIALIASED' ) && A8C_USE_FONT_SMOOTHING_ANTIALIASED ) {
91
- return true;
92
  }
93
 
94
- return apply_filters( 'a8c_use_font_smoothing_antialiased', false );
95
  }
96
 
97
  /**
@@ -124,7 +124,7 @@ function admin_body_classes( $classes ) {
124
  $classes .= ' slider-width-workaround';
125
  }
126
 
127
- if ( use_font_smooth_antialiased() ) {
128
  // Extra space needed because the `legacy-color-*` class isn't adding
129
  // a leading space and breaking this class string.
130
  $classes .= ' font-smoothing-antialiased ';
87
  * @return bool True if antialiased font-smoothing rule should be applied.
88
  */
89
  function use_font_smooth_antialiased() {
90
+ if ( defined( 'A8C_USE_FONT_SMOOTHING_ANTIALIASED' ) ) {
91
+ return (bool) A8C_USE_FONT_SMOOTHING_ANTIALIASED;
92
  }
93
 
94
+ return true;
95
  }
96
 
97
  /**
124
  $classes .= ' slider-width-workaround';
125
  }
126
 
127
+ if ( use_font_smooth_antialiased() && ! is_network_admin() ) {
128
  // Extra space needed because the `legacy-color-*` class isn't adding
129
  // a leading space and breaking this class string.
130
  $classes .= ' font-smoothing-antialiased ';
common/index.scss CHANGED
@@ -12,23 +12,25 @@ body.slider-width-workaround {
12
  }
13
  }
14
 
15
- %font-smoothing-antialiased {
16
  text-rendering: optimizeLegibility;
17
  -moz-osx-font-smoothing: grayscale;
18
  -webkit-font-smoothing: antialiased;
19
  }
20
 
21
- body.font-smoothing-antialiased {
22
- @extend %font-smoothing-antialiased;
 
23
 
24
- // Overriding an existing core WP rule so the ID selector is necessary
25
- // stylelint-disable-next-line selector-max-id
26
- #wpwrap {
27
- @extend %font-smoothing-antialiased;
28
- }
29
 
30
- // stylelint-disable-next-line selector-max-id
31
- #wpadminbar * {
32
- @extend %font-smoothing-antialiased;
 
33
  }
34
  }
12
  }
13
  }
14
 
15
+ @mixin font-smoothing-antialiased {
16
  text-rendering: optimizeLegibility;
17
  -moz-osx-font-smoothing: grayscale;
18
  -webkit-font-smoothing: antialiased;
19
  }
20
 
21
+ @media ( -webkit-min-device-pixel-ratio: 1.25 ), ( min-resolution: 120dpi ) {
22
+ body.font-smoothing-antialiased {
23
+ @include font-smoothing-antialiased;
24
 
25
+ // Overriding an existing core WP rule so the ID selector is necessary
26
+ // stylelint-disable-next-line selector-max-id
27
+ #wpwrap {
28
+ @include font-smoothing-antialiased;
29
+ }
30
 
31
+ // stylelint-disable-next-line selector-max-id
32
+ #wpadminbar * {
33
+ @include font-smoothing-antialiased;
34
+ }
35
  }
36
  }
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: 3.10492
6
  * Author: Automattic
7
  * Author URI: https://automattic.com/wordpress-plugins/
8
  * License: GPLv2 or later
@@ -42,7 +42,7 @@ namespace A8C\FSE;
42
  *
43
  * @var string
44
  */
45
- define( 'A8C_ETK_PLUGIN_VERSION', '3.10492' );
46
 
47
  // Always include these helper files for dotcom FSE.
48
  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: 3.10498
6
  * Author: Automattic
7
  * Author URI: https://automattic.com/wordpress-plugins/
8
  * License: GPLv2 or later
42
  *
43
  * @var string
44
  */
45
+ define( 'A8C_ETK_PLUGIN_VERSION', '3.10498' );
46
 
47
  // Always include these helper files for dotcom FSE.
48
  require_once __DIR__ . '/dotcom-fse/helpers.php';
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: automattic
3
  Tags: block, blocks, editor, gutenberg, page
4
  Requires at least: 5.5
5
  Tested up to: 5.6
6
- Stable tag: 3.10492
7
  Requires PHP: 5.6.20
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
3
  Tags: block, blocks, editor, gutenberg, page
4
  Requires at least: 5.5
5
  Tested up to: 5.6
6
+ Stable tag: 3.10498
7
  Requires PHP: 5.6.20
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html