Opened 6 years ago
Closed 6 years ago
#47104 closed defect (bug) (fixed)
Fix incorrect @see notation in the DocBlock for wp_localize_script()
Reported by: | coffee2code | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.3 | Priority: | low |
Severity: | trivial | Version: | |
Component: | Script Loader | Keywords: | has-patch commit |
Focuses: | docs | Cc: |
Description
The function wp_localize_script()
defines a @see
reference in its DocBlock as such:
* @see WP_Dependencies::localize()
That referenced method has since apparently been moved into another class, so the line should be changed to:
* @see WP_Scripts::localize()
This was originally reported by @shamim51 in #meta4416 because the @see
caused DevHub to generate a link to a nonexistent method (see the link in question, though it may get corrected manually on DevHub at some point)`.
Patch attached.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Patch mentioned in ticket.