-
Notifications
You must be signed in to change notification settings - Fork 4
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
Apple Maps block gives error in WP 6.4-beta2 if MapKit Credentials is not configured. #182
Comments
Great find on what's causing the issue. Let's see if we can help fix this in core before the 6.4 release. |
@fabiankaegy Based on comment here it needs to be fixed here in
|
Ahh yeah, I had missed that in the comments. That is annoying. Thanks for pointing it out. In that case yeah we will need to precompute all that logic and then only pass in the processed string. |
@fabiankaegy I have raised a fix PR for this with a slightly different approach by dropping the usage of the Thanks |
Describe the bug
While debugging on E2E test failure on the WP trunk (WP 6.4-beta), I found that the Apple Maps block gives
This block has encountered an error and cannot be previewed.
error in WP 6.4-beta2 if MapKit Credentials is not configured.Based on initial findings it seems, the issue is caused due to recent accessibility improvements in placeholder instructions (WordPress/gutenberg#45801), The placeholder component expects raw string in instructions but the plugin passes the
<IsAdmin>
component, which causes the issue with call to speak function and block encounter an error.Steps to Reproduce
This block has encountered an error and cannot be previewed.
errorScreenshots, screen recording, code snippet
Environment information
No response
WordPress information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: