[wp-trac] [WordPress Trac] #54786: Typo in attribute name in `wp_enqueue_block_style` function
WordPress Trac
noreply at wordpress.org
Tue Jan 11 01:58:23 UTC 2022
#54786: Typo in attribute name in `wp_enqueue_block_style` function
----------------------------------------+---------------------
Reporter: omaeyusuke | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.9
Component: Script Loader | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses: rtl
----------------------------------------+---------------------
Comment (by davidbaumwald):
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?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54786#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list