mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Docs: Fix typo in wp_add_inline_script() and wp_add_inline_style() description.
Props jankimoradiya. Fixes #45705. git-svn-id: https://develop.svn.wordpress.org/trunk@44350 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ed9d1c8252
commit
36f615eac6
@ -93,7 +93,7 @@ function wp_print_scripts( $handles = false ) {
|
||||
/**
|
||||
* Adds extra code to a registered script.
|
||||
*
|
||||
* Code will only be added if the script in already in the queue.
|
||||
* Code will only be added if the script is already in the queue.
|
||||
* Accepts a string $data containing the Code. If two or more code blocks
|
||||
* are added to the same script $handle, they will be printed in the order
|
||||
* they were added, i.e. the latter added code can redeclare the previous.
|
||||
|
||||
@ -67,7 +67,7 @@ function wp_print_styles( $handles = false ) {
|
||||
/**
|
||||
* Add extra CSS styles to a registered stylesheet.
|
||||
*
|
||||
* Styles will only be added if the stylesheet in already in the queue.
|
||||
* Styles will only be added if the stylesheet is already in the queue.
|
||||
* Accepts a string $data containing the CSS. If two or more CSS code blocks
|
||||
* are added to the same stylesheet $handle, they will be printed in the order
|
||||
* they were added, i.e. the latter added styles can redeclare the previous.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user