Make WordPress Core

Changeset 57682


Ignore:
Timestamp:
02/21/2024 06:37:29 PM (10 months ago)
Author:
swissspidy
Message:

Script Loader: Fix small typo in wp_remove_surrounding_empty_script_tags docblock.

Props shailu25.
Fixes #60591.

File:
1 edited

Legend:

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

    r57654 r57682  
    33543354 * within `wp_get_inline_script_tag()` or `wp_print_inline_script_tag()`.
    33553355 * It removes the literal values of "<script>" and "</script>" from
    3356  * around an inline script after trimming whitespace. Typlically this
     3356 * around an inline script after trimming whitespace. Typically this
    33573357 * is used in conjunction with output buffering, where `ob_get_clean()`
    33583358 * is passed as the `$contents` argument.
Note: See TracChangeset for help on using the changeset viewer.