Docs: Various improvements to inline docblocks.

See #55646


git-svn-id: https://develop.svn.wordpress.org/trunk@54470 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2022-10-11 09:00:33 +00:00
parent c8a7216896
commit a99a48c3b9
6 changed files with 14 additions and 18 deletions

View File

@@ -159,7 +159,7 @@ function wp_add_inline_script( $handle, $data, $position = 'after' ) {
* @since 4.3.0 A return value was added.
*
* @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|false $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.
* @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