Docs: Add missing documentation for the $javascript parameter of the wp_inline_script_attributes filter.

See #53399

Built from https://develop.svn.wordpress.org/trunk@52127


git-svn-id: http://core.svn.wordpress.org/trunk@51719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2021-11-10 18:41:03 +00:00
parent 5781b8c80e
commit 62fc5121f2
2 changed files with 6 additions and 5 deletions

View File

@ -2639,6 +2639,7 @@ function wp_get_inline_script_tag( $javascript, $attributes = array() ) {
* @param array $attributes Key-value pairs representing `<script>` tag attributes.
* Only the attribute name is added to the `<script>` tag for
* entries with a boolean value, and that are true.
* @param string $javascript Inline JavaScript code.
*/
$attributes = apply_filters( 'wp_inline_script_attributes', $attributes, $javascript );

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.9-alpha-52111';
$wp_version = '5.9-alpha-52127';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.