Skip to content

Commit

Permalink
Add doc comment to help 6.1 release maintainer
Browse files Browse the repository at this point in the history
  • Loading branch information
Glen Davies committed May 13, 2022
1 parent 7618bec commit 57cda04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/compat/wordpress-6.1/script-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
* This function takes care of adding inline styles
* in the proper place, depending on the theme in use.
*
* The method was added to core in 5.9.1, but with with a single param ($style). The second param ($priority) was
* added post 6.0 so the 6.1 release needs to have wp_enqueue_block_support_styles update to include this param.
*
* For block themes, it's loaded in the head.
* For classic ones, it's loaded in the body
* because the wp_head action happens before
Expand Down

0 comments on commit 57cda04

Please sign in to comment.