[wp-trac] [WordPress Trac] #60331: Clarify in phpdoc that wp_print_inline_script_tag() and wp_get_inline_script_tag() are not only for JavaScript
WordPress Trac
noreply at wordpress.org
Sat Jan 27 01:02:50 UTC 2024
#60331: Clarify in phpdoc that wp_print_inline_script_tag() and
wp_get_inline_script_tag() are not only for JavaScript
-------------------------------------------------+-------------------------
Reporter: westonruter | Owner:
| westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.5
Component: Script Loader | Version: trunk
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch needs- | Focuses:
testing |
-------------------------------------------------+-------------------------
Changes (by westonruter):
* owner: (none) => westonruter
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"57367" 57367]:
{{{
#!CommitTicketReference repository="" revision="57367"
Script Loader: Clarify in docs that `wp_get_inline_script_tag()` and
`wp_print_inline_script_tag()` can take non-JS data.
Props vladimiraus.
Fixes #60331.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60331#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list