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:
Sergey Biryukov 2018-12-20 02:41:47 +00:00
parent ed9d1c8252
commit 36f615eac6
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.