mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 13:44:21 +01:00
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:
parent
5781b8c80e
commit
62fc5121f2
@ -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 );
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user