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

WordPress Trac noreply at wordpress.org
Tue Jan 11 18:13:49 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 fixed-      |     Focuses:  rtl
  major commit dev-reviewed                      |
-------------------------------------------------+-------------------------
Changes (by davidbaumwald):

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


Comment:

 In [changeset:"52560" 52560]:
 {{{
 #!CommitTicketReference repository="" revision="52560"
 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.
 Merges [52558] to the 5.9 branch.
 Fixes #54786.
 }}}

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


More information about the wp-trac mailing list