WordPress.org

Make WordPress Core

Opened 4 months ago

Closed 3 weeks ago

Last modified 3 weeks ago

#48503 closed defect (bug) (fixed)

Docblock: WP_Dependency::add_data() results in 404

Reported by: joyously Owned by: johnbillion
Milestone: 5.4 Priority: normal
Severity: normal Version:
Component: Script Loader Keywords: has-patch
Focuses: docs Cc:

Attachments (1)

48503.diff (890 bytes) - added by pbiron 4 months ago.

Download all attachments as: .zip

Change History (6)

@pbiron
4 months ago

#1 @pbiron
4 months ago

  • Keywords has-patch added

#2 @pbiron
4 months ago

48503.diff corrects the @see reference in the DocBlock of wp_style_add_data() to be the same as that used in the DocBlock of wp_script_add_data(), which will alleviate the problem of the 404 when parsed.

#3 @johnbillion
4 months ago

  • Component changed from General to Script Loader
  • Milestone changed from Awaiting Review to 5.4
  • Owner set to johnbillion
  • Status changed from new to reviewing

#4 @johnbillion
3 weeks ago

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

In 47204:

Script Loader: Fix a docblock so it points to the correct page on the developer reference.

Props joyously, pbiron

Fixes #48503

#5 @SergeyBiryukov
3 weeks ago

Previously: [44332] for wp_script_add_data().

Note: See TracTickets for help on using tickets.