-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Second batch of backports for WP 5.8 beta 1 #32484
Conversation
…32352) Other than making sure that the class doesn't contain spaces we no longer do any processing in the client (camelCase to kebab-case, separate numbers as a different kebab word, etc).
* Update the appearance of the template details popover * Tweaks * use secondary variant for delete button
…32341) * Prevent saving the post before previewing in locked/read-only mode. * Fix nit, remove extra comment.
Co-authored-by: ntsekouras <ntsekouras@outlook.com>
* fixes #24710 * Additional test * typo * fix failing tests * update test description * update docs
Squashed commits: [ce2c0f8856] Update lib/block-supports/typography.php Co-authored-by: André <nosolosw@users.noreply.github.com> [a27fe6e2c7] Update: Typography supports shape.
* change site-logo sync hook * Don't pollute the global variables Co-authored-by: Weston Ruter <westonruter@google.com> * cs * Hook in setup_theme Co-authored-by: Weston Ruter <westonruter@google.com>
* add `value` to dependencies * Add the variables used in setRecordFromProps to dependencies. * use _value.current instead of value * revert change * add tagName to __unstableDependencies * add e2e test. * format * fix snapshot
Size Change: +667 B (0%) Total Size: 1.04 MB
ℹ️ View Unchanged
|
* Avoid keeping the same client ID when transforming blocks * Fix unit tests
*/ | ||
function gutenberg_migrate_old_typography_shape( $metadata ) { | ||
// Temporarily disable migrations from core blocks until core block.json are updated. | ||
if ( isset( $metadata['supports'] ) && false === strpos( $metadata['file'], '/wp-includes/blocks/' ) ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After core json files are updared we should remove this check && false === strpos( $metadata['file'], '/wp-includes/blocks/'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jorgefilipecosta mind doing a follow-up commit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mmm, was perhaps something wrong with the merging? I remember having removed that check and actually the function had a different name wp_migrate_old_typography_sahpe
youknowriad/wordpress-develop@4fb3e5a#diff-8c99af92e4ec0fdb307ddd9b42be1e1ef1efe4a9f31287c23f346244dddd1ce9R959
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, sorry, this is the gutenberg repo 😅 So many places to check that I was confused for a moment.
this includes the following:
Backport 2
Widgets Editor:
Widget blocks in the customizer:
Global Styles:
typography
key #32252 Update: Skip typography serialization #32444 Letter spacing should also respect skip serialization flag #32459theme.json
visible to users #32404Template Editor:
Miscellaneous:
Performance: