mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 11:14:36 +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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user