Docs: Fix typo in `wp_add_inline_script()` and `wp_add_inline_style()` description.
Props jankimoradiya. Fixes #45705. Built from https://develop.svn.wordpress.org/trunk@44350 git-svn-id: http://core.svn.wordpress.org/trunk@44180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c0e076c517
commit
b99aa8682c
|
@ -93,7 +93,7 @@ function wp_print_scripts( $handles = false ) {
|
||||||
/**
|
/**
|
||||||
* Adds extra code to a registered script.
|
* 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
|
* 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
|
* 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.
|
* 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.
|
* 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
|
* 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
|
* 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.
|
* they were added, i.e. the latter added styles can redeclare the previous.
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.1-alpha-44349';
|
$wp_version = '5.1-alpha-44350';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue