Skip to content

Commit 4419e55

Browse files
committed
Update editor related npm packages for 6.4 RC3.
The npm packages needed update for 6.4 RC3. Patch: WordPress/wordpress-develop#5587. This PR includes the following changes: - Regression: [WordPress/gutenberg#55553 Patterns: fix bug with authors and contributors not seeing user pattern categories]. - Bugfix: [WordPress/gutenberg#55539 Query Loop:Disallow "enhanced pagination" with core blocks that may contain third-party blocks]. - Regression: [WordPress/gutenberg#55667 File: Fix embedded PDF files in Safari]. - Regression: [WordPress/gutenberg#55669 Ensure Term Description block is registered in core] Props DAreRodz, luisherranz, poena, afercia, danieldudzic, hellofromtonya, siobhyb, mikachan, get_dave, scruffian, wildworks, glendaviesnz, ramonopoly, aaronrobertshaw. See #59411. Built from https://develop.svn.wordpress.org/trunk@57034 git-svn-id: https://core.svn.wordpress.org/trunk@56545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 9b5b139 commit 4419e55

31 files changed

+258
-187
lines changed

wp-includes/assets/script-loader-packages.min.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

wp-includes/assets/script-loader-packages.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

wp-includes/blocks/file.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ static function ( $matches ) {
5959
$processor->next_tag();
6060
$processor->set_attribute( 'data-wp-interactive', '' );
6161
$processor->next_tag( 'object' );
62-
$processor->set_attribute( 'data-wp-style--display', 'selectors.core.file.hasPdfPreview' );
62+
$processor->set_attribute( 'data-wp-bind--hidden', '!selectors.core.file.hasPdfPreview' );
63+
$processor->set_attribute( 'hidden', true );
6364
return $processor->get_updated_html();
6465
}
6566

wp-includes/blocks/file/style-rtl.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@
2222
margin-bottom:1em;
2323
}
2424

25-
@media (max-width:768px){
26-
.wp-block-file__embed{
27-
display:none;
28-
}
29-
}
3025
:where(.wp-block-file__button){
3126
border-radius:2em;
3227
display:inline-block;

wp-includes/blocks/file/style-rtl.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/blocks/file/style.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@
2222
margin-bottom:1em;
2323
}
2424

25-
@media (max-width:768px){
26-
.wp-block-file__embed{
27-
display:none;
28-
}
29-
}
3025
:where(.wp-block-file__button){
3126
border-radius:2em;
3227
display:inline-block;

wp-includes/blocks/file/style.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array(), 'version' => 'fb3967e9bafc6e7ca2eb');
1+
<?php return array('dependencies' => array(), 'version' => '3fd0154de23a0ecc28af');

wp-includes/blocks/file/view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const createActiveXObject = type => {
6666
selectors: {
6767
core: {
6868
file: {
69-
hasPdfPreview: browserSupportsPdfs() ? 'inherit' : 'none'
69+
hasPdfPreview: browserSupportsPdfs
7070
}
7171
}
7272
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array(), 'version' => 'cf908645ea0e9c064392');
1+
<?php return array('dependencies' => array(), 'version' => '8a0237493a27c0d781aa');

0 commit comments

Comments
 (0)