-
Notifications
You must be signed in to change notification settings - Fork 58
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
Enable reusable block only in WP.com sites #3490
Conversation
Wanna run full suite of Android and iOS UI tests? Click here and 'Approve' CI job! |
# Conflicts: # gutenberg
# Conflicts: # bundle/ios/App.js # bundle/ios/App.js.map # bundle/ios/assets/gutenberg/packages/react-native-editor/i18n-cache/data/en-gb.json # bundle/ios/assets/gutenberg/packages/react-native-editor/i18n-cache/data/nl.json # bundle/ios/assets/gutenberg/packages/react-native-editor/i18n-cache/data/ro.json # bundle/ios/assets/gutenberg/packages/react-native-editor/i18n-cache/data/sv.json
# Conflicts: # bundle/ios/App.js # bundle/ios/App.js.map
Hey there @fluiddot 👋 We'll be cutting the 1.53.0 release some time soon today. I'm bumping this PR to 1.54.0 milestone, please let us know if it needs to make it into 1.53.0 instead. |
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.
Approved via WordPress/gutenberg#31744 (review)
# Conflicts: # bundle/android/strings.xml # bundle/ios/App.js # bundle/ios/App.js.map # bundle/ios/GutenbergNativeTranslations.swift # bundle/ios/assets/gutenberg/packages/react-native-editor/i18n-cache/data/en-za.json # bundle/ios/assets/gutenberg/packages/react-native-editor/i18n-cache/data/it.json # bundle/ios/assets/gutenberg/packages/react-native-editor/i18n-cache/data/sq.json
guteberg
PR: WordPress/gutenberg#31744WordPress-iOS
PR: wordpress-mobile/WordPress-iOS#16475WordPress-Android
PR: wordpress-mobile/WordPress-Android#14623Why reusable block is disabled in self-hosted sites
Related issue: #3457
The main reason for disabling this block in self-hosted sites is related to the case of having a reusable block that contains a self-reference (a reference to the same reusable block). While in WP.com sites this is working properly, in self-hosted sites, fetching data from the endpoint that holds the data for reusable blocks (
/wp-json/wp/v2/blocks
) in this case, the site returns a bad response so we don't have data for displaying them.NOTE: This is reproducible on self-hosted sites with and without Jetpack, although the error response is different.
To test:
Follow the testing instructions from
gutenberg
PR.PR submission checklist: