#54786 closed defect (bug) (fixed)
Typo in attribute name in `wp_enqueue_block_style` function
Reported by: | omaeyusuke | Owned by: | davidbaumwald |
---|---|---|---|
Milestone: | 5.9 | Priority: | normal |
Severity: | normal | Version: | 5.9 |
Component: | Script Loader | Keywords: | good-first-bug has-patch fixed-major commit dev-reviewed |
Focuses: | rtl | Cc: |
Change History (14)
#1
@
3 years ago
- Component changed from General to Script Loader
- Keywords needs-patch good-first-bug added
- Milestone changed from Awaiting Review to 5.9
- Summary changed from typo attribute name from wp_enqueue_block_style() to Typo in attribute name in `wp_enqueue_block_style` function
#2
@
3 years ago
Tagged as good-first-bug
as well. Looks like the fix here is just to change
wp_style_add_data( $args['hanle'], 'rtl', 'replace' );
to...
wp_style_add_data( $args['handle'], 'rtl', 'replace' );
@omaeyusuke Do you want to work up a quick patch?
This ticket was mentioned in PR #2135 on WordPress/wordpress-develop by yusuke-omae.
3 years ago
#4
- Keywords has-patch added; needs-patch removed
Trac ticket: https://core.trac.wordpress.org/ticket/54786
#5
@
3 years ago
- Owner set to davidbaumwald
- Status changed from new to accepted
Thanks @omaeyusuke! Looks good to me. I’ll get this merged in tomorrow.
#7
@
3 years ago
There is also a fix in the Gutenberg Project: https://github.com/WordPress/gutenberg/pull/37849
#8
@
3 years ago
- Keywords commit added
Great find @omaeyusuke 👏 The patch looks ready. Marking for commit
.
Thanks @Soean for linking the Core fix to Gutenberg fix.
#10
@
3 years ago
- Keywords fixed-major dev-feedback added
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening for backport to the 5.9 branch.
This ticket was mentioned in Slack in #core by david.baumwald. View the logs.
3 years ago
#12
@
3 years ago
- Keywords dev-reviewed added; dev-feedback removed
LGTM. Ready for backport to 5.9-branch
dream-encode commented on PR #2135:
3 years ago
#14
Merged into core in https://core.trac.wordpress.org/changeset/52558 and backported to the 5.9 branch in https://core.trac.wordpress.org/changeset/52560.
Great job @yusuke-omae!
@omaeyusuke Thanks for the ticket and welcome to WordPress Core Trac! I'm updating this ticket to 5.9 so it can be fixed before the final release.