Docs: Switch to typed array notation for the docs for asset dependency functions.
Props marekdedic See #48303 Built from https://develop.svn.wordpress.org/trunk@46595 git-svn-id: http://core.svn.wordpress.org/trunk@46392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7c2b9f2a2e
commit
9890e68661
|
@ -142,7 +142,7 @@ function wp_add_inline_script( $handle, $data, $position = 'after' ) {
|
||||||
* @param string $handle Name of the script. Should be unique.
|
* @param string $handle Name of the script. Should be unique.
|
||||||
* @param string|bool $src Full URL of the script, or path of the script relative to the WordPress root directory.
|
* @param string|bool $src Full URL of the script, or path of the script relative to the WordPress root directory.
|
||||||
* If source is set to false, script is an alias of other scripts it depends on.
|
* If source is set to false, script is an alias of other scripts it depends on.
|
||||||
* @param array $deps Optional. An array of registered script handles this script depends on. Default empty array.
|
* @param string[] $deps Optional. An array of registered script handles this script depends on. Default empty array.
|
||||||
* @param string|bool|null $ver Optional. String specifying script version number, if it has one, which is added to the URL
|
* @param string|bool|null $ver Optional. String specifying script version number, if it has one, which is added to the URL
|
||||||
* as a query string for cache busting purposes. If version is set to false, a version
|
* as a query string for cache busting purposes. If version is set to false, a version
|
||||||
* number is automatically added equal to current installed WordPress version.
|
* number is automatically added equal to current installed WordPress version.
|
||||||
|
@ -306,7 +306,7 @@ function wp_deregister_script( $handle ) {
|
||||||
* @param string $handle Name of the script. Should be unique.
|
* @param string $handle Name of the script. Should be unique.
|
||||||
* @param string $src Full URL of the script, or path of the script relative to the WordPress root directory.
|
* @param string $src Full URL of the script, or path of the script relative to the WordPress root directory.
|
||||||
* Default empty.
|
* Default empty.
|
||||||
* @param array $deps Optional. An array of registered script handles this script depends on. Default empty array.
|
* @param string[] $deps Optional. An array of registered script handles this script depends on. Default empty array.
|
||||||
* @param string|bool|null $ver Optional. String specifying script version number, if it has one, which is added to the URL
|
* @param string|bool|null $ver Optional. String specifying script version number, if it has one, which is added to the URL
|
||||||
* as a query string for cache busting purposes. If version is set to false, a version
|
* as a query string for cache busting purposes. If version is set to false, a version
|
||||||
* number is automatically added equal to current installed WordPress version.
|
* number is automatically added equal to current installed WordPress version.
|
||||||
|
|
|
@ -112,7 +112,7 @@ function wp_add_inline_style( $handle, $data ) {
|
||||||
* @param string $handle Name of the stylesheet. Should be unique.
|
* @param string $handle Name of the stylesheet. Should be unique.
|
||||||
* @param string|bool $src Full URL of the stylesheet, or path of the stylesheet relative to the WordPress root directory.
|
* @param string|bool $src Full URL of the stylesheet, or path of the stylesheet relative to the WordPress root directory.
|
||||||
* If source is set to false, stylesheet is an alias of other stylesheets it depends on.
|
* If source is set to false, stylesheet is an alias of other stylesheets it depends on.
|
||||||
* @param array $deps Optional. An array of registered stylesheet handles this stylesheet depends on. Default empty array.
|
* @param string[] $deps Optional. An array of registered stylesheet handles this stylesheet depends on. Default empty array.
|
||||||
* @param string|bool|null $ver Optional. String specifying stylesheet version number, if it has one, which is added to the URL
|
* @param string|bool|null $ver Optional. String specifying stylesheet version number, if it has one, which is added to the URL
|
||||||
* as a query string for cache busting purposes. If version is set to false, a version
|
* as a query string for cache busting purposes. If version is set to false, a version
|
||||||
* number is automatically added equal to current installed WordPress version.
|
* number is automatically added equal to current installed WordPress version.
|
||||||
|
@ -157,7 +157,7 @@ function wp_deregister_style( $handle ) {
|
||||||
* @param string $handle Name of the stylesheet. Should be unique.
|
* @param string $handle Name of the stylesheet. Should be unique.
|
||||||
* @param string $src Full URL of the stylesheet, or path of the stylesheet relative to the WordPress root directory.
|
* @param string $src Full URL of the stylesheet, or path of the stylesheet relative to the WordPress root directory.
|
||||||
* Default empty.
|
* Default empty.
|
||||||
* @param array $deps Optional. An array of registered stylesheet handles this stylesheet depends on. Default empty array.
|
* @param string[] $deps Optional. An array of registered stylesheet handles this stylesheet depends on. Default empty array.
|
||||||
* @param string|bool|null $ver Optional. String specifying stylesheet version number, if it has one, which is added to the URL
|
* @param string|bool|null $ver Optional. String specifying stylesheet version number, if it has one, which is added to the URL
|
||||||
* as a query string for cache busting purposes. If version is set to false, a version
|
* as a query string for cache busting purposes. If version is set to false, a version
|
||||||
* number is automatically added equal to current installed WordPress version.
|
* number is automatically added equal to current installed WordPress version.
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.4-alpha-46594';
|
$wp_version = '5.4-alpha-46595';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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