Skip to content

Commit 163836d

Browse files
Docs: Correct filter name in wp_get_inline_script_tag() DocBlock.
Follow-up to [50167], [50409]. Props petitphp. Fixes #63398. git-svn-id: https://develop.svn.wordpress.org/trunk@60225 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 0f53147 commit 163836d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wp-includes/script-loader.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2900,7 +2900,7 @@ function wp_get_script_tag( $attributes ) {
29002900
/**
29012901
* Prints formatted `<script>` loader tag.
29022902
*
2903-
* It is possible to inject attributes in the `<script>` tag via the {@see 'wp_script_attributes'} filter.
2903+
* It is possible to inject attributes in the `<script>` tag via the {@see 'wp_script_attributes'} filter.
29042904
* Automatically injects type attribute if needed.
29052905
*
29062906
* @since 5.7.0
@@ -2914,7 +2914,7 @@ function wp_print_script_tag( $attributes ) {
29142914
/**
29152915
* Constructs an inline script tag.
29162916
*
2917-
* It is possible to inject attributes in the `<script>` tag via the {@see 'wp_script_attributes'} filter.
2917+
* It is possible to inject attributes in the `<script>` tag via the {@see 'wp_inline_script_attributes'} filter.
29182918
* Automatically injects type attribute if needed.
29192919
*
29202920
* @since 5.7.0
@@ -3003,7 +3003,7 @@ function wp_get_inline_script_tag( $data, $attributes = array() ) {
30033003
/**
30043004
* Prints an inline script tag.
30053005
*
3006-
* It is possible to inject attributes in the `<script>` tag via the {@see 'wp_script_attributes'} filter.
3006+
* It is possible to inject attributes in the `<script>` tag via the {@see 'wp_inline_script_attributes'} filter.
30073007
* Automatically injects type attribute if needed.
30083008
*
30093009
* @since 5.7.0

0 commit comments

Comments
 (0)