Make WordPress Core


Ignore:
Timestamp:
05/06/2025 09:42:29 PM (9 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct filter name in wp_get_inline_script_tag() DocBlock.

Follow-up to [50167], [50409].

Props petitphp.
Fixes #63398.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r60186 r60225  
    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 *
     
    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 *
     
    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 *
Note: See TracChangeset for help on using the changeset viewer.