Skip to content
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

Interactivity API: Backport fixes from Core #59903

Merged
merged 6 commits into from Mar 15, 2024
Merged

Conversation

@cbravobernal cbravobernal added [Type] Bug An existing feature does not function as intended [Packages] Interactivity /packages/interactivity labels Mar 15, 2024
@cbravobernal cbravobernal self-assigned this Mar 15, 2024
Copy link

github-actions bot commented Mar 15, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: c4rl0sbr4v0 <cbravobernal@git.wordpress.org>
Co-authored-by: SantosGuillamot <santosguillamot@git.wordpress.org>
Co-authored-by: sirreal <jonsurrell@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Copy link
Contributor

@SantosGuillamot SantosGuillamot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for taking care of that 🙂

Copy link
Member

@sirreal sirreal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines 605 to 606
false !== $result ||
( strlen( $bound_attribute ) > 5 && '-' === $bound_attribute[4] )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
false !== $result ||
( strlen( $bound_attribute ) > 5 && '-' === $bound_attribute[4] )
false !== $result ||
( strlen( $bound_attribute ) > 5 && '-' === $bound_attribute[4] )

Comment on lines 616 to 617
is_bool( $result ) &&
( strlen( $bound_attribute ) > 5 && '-' === $bound_attribute[4] )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
is_bool( $result ) &&
( strlen( $bound_attribute ) > 5 && '-' === $bound_attribute[4] )
is_bool( $result ) &&
( strlen( $bound_attribute ) > 5 && '-' === $bound_attribute[4] )

@sirreal sirreal added Backport from WordPress Core Pull request that needs to be backported to the a Gutenberg release from WordPress Core and removed [Type] Bug An existing feature does not function as intended labels Mar 15, 2024
@cbravobernal cbravobernal removed the Backport from WordPress Core Pull request that needs to be backported to the a Gutenberg release from WordPress Core label Mar 15, 2024
@cbravobernal
Copy link
Contributor Author

@sirreal I'm removing the backport label as is used to indicate that the backport is needed, not done. 😄

@cbravobernal cbravobernal added the [Type] Bug An existing feature does not function as intended label Mar 15, 2024
@cbravobernal cbravobernal enabled auto-merge (squash) March 15, 2024 14:23
@cbravobernal cbravobernal merged commit fca6dc1 into trunk Mar 15, 2024
56 checks passed
@cbravobernal cbravobernal deleted the fix/ssr-void-tags branch March 15, 2024 14:56
@github-actions github-actions bot added this to the Gutenberg 18.0 milestone Mar 15, 2024
@gziolo gziolo added the Backported to WP Core Pull request that has been successfully merged into WP Core label Mar 15, 2024
@bph bph added [Feature] Interactivity API API to add frontend interactivity to blocks. and removed [Packages] Interactivity /packages/interactivity labels Mar 21, 2024
carstingaxion pushed a commit to carstingaxion/gutenberg that referenced this pull request Mar 27, 2024
* Add mode to directive processing

* Add WordPress#59886 wp-develop fix

* Add WordPress#6251 fix

* Fix linter

* Include WordPress#6261 wp-develop

* Fix spacing

Co-authored-by: c4rl0sbr4v0 <cbravobernal@git.wordpress.org>
Co-authored-by: SantosGuillamot <santosguillamot@git.wordpress.org>
Co-authored-by: sirreal <jonsurrell@git.wordpress.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backported to WP Core Pull request that has been successfully merged into WP Core [Feature] Interactivity API API to add frontend interactivity to blocks. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants