[wp-trac] [WordPress Trac] #54786: Typo in attribute name in `wp_enqueue_block_style` function

WordPress Trac noreply at wordpress.org
Tue Jan 11 17:15:09 UTC 2022


#54786: Typo in attribute name in `wp_enqueue_block_style` function
---------------------------------------------+----------------------------
 Reporter:  omaeyusuke                       |       Owner:  davidbaumwald
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  5.9
Component:  Script Loader                    |     Version:  trunk
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  good-first-bug has-patch commit  |     Focuses:  rtl
---------------------------------------------+----------------------------
Changes (by davidbaumwald):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52558" 52558]:
 {{{
 #!CommitTicketReference repository="" revision="52558"
 Script Loader: Fix a variable typo in `wp_enqueue_block_style`.

 In `wp_enqueue_block_style` when `rtl` versions of CSS files are detected,
 `wp_style_add_data` is called to add the metadata to the registered sheet.
 However, the stylesheet `handle` argument is misspelled as `hanle`.  This
 change corrects the argument name.

 Props omaeyusuke.
 Fixes #54786.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54786#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list