Make WordPress Core

#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)

This ticket was mentioned in PR #8773 on WordPress/wordpress-develop by @petitphp.


16 months ago
#1

  • Keywords has-patch added

#2 @SergeyBiryukov
16 months ago

  • Milestone Awaiting Review6.9

#3 @SergeyBiryukov
16 months ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 60225:

Docs: Correct filter name in wp_get_inline_script_tag() DocBlock.

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

Props petitphp.
Fixes #63398.

Note: See TracTickets for help on using tickets.