Opened 9 months ago
Closed 9 months ago
#63398 closed defect (bug) (fixed)
Incorrect filter in "wp_get_inline_script_tag()" / "wp_print_inline_script_tag()" phpdoc
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.9 | Priority: | normal |
| Severity: | minor | Version: | 5.7 |
| Component: | Script Loader | Keywords: | has-patch |
| Focuses: | docs | Cc: |
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)
This ticket was mentioned in PR #8773 on WordPress/wordpress-develop by @petitphp.
9 months ago
#1
- Keywords has-patch added
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/63398