Opened 16 months ago
Closed 16 months ago
#63398 closed defect (bug) (fixed)
Incorrect filter in "wp_get_inline_script_tag()" / "wp_print_inline_script_tag()" phpdoc
| Reported by: | petitphp | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.9 |
| Component: | Script Loader | Version: | 5.7 |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: | docs |
Description
The phpdoc for the wp_get_inline_script_tag()/wp_print_inline_script_tag() functions incorrectly states that it is possible to use the wp_script_attributes filter to modify the attributes for inline scripts.
The documentation need to be updated to indicate that wp_inline_script_attributes should be used.
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://core.trac.wordpress.org/ticket/63398