WordPress.org

Make WordPress Core

Opened 12 months ago

Closed 12 months ago

Last modified 12 months ago

#48141 closed defect (bug) (fixed)

Docs: Typo in `wp_print_scripts` reference to `WP_Scripts::do_item()`

Reported by: peterwilsoncc Owned by: peterwilsoncc
Milestone: 5.3 Priority: normal
Severity: normal Version:
Component: Script Loader Keywords: has-patch
Focuses: docs Cc:

Description

The @see tag in the wp_print_scripts() function currently references WP_Scripts::do_items(). The plural is in fact the singular, WP_Scripts::do_item().

Placing on the 5.3 milestone as this is a documentation only change.

Attachments (1)

48141.diff (619 bytes) - added by peterwilsoncc 12 months ago.

Download all attachments as: .zip

Change History (3)

#1 @peterwilsoncc
12 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 46311:

Docs: Fix typo in wp_print_scripts()' reference to WP_Scripts::do_item().

Fixes #48141.

#2 @johnbillion
12 months ago

@peterwilsoncc For future reference, these sort of documentation typos can be fixed as part of the docblocks improvement ticket that we have for each milestone. For 5.3 it's #47110.

Note: See TracTickets for help on using tickets.