WordPress.org

Make WordPress Core

Opened 3 months ago

Closed 5 days ago

Last modified 5 days 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:
PR Number:

Attachments (1)

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

Download all attachments as: .zip

Change History (6)

@pbiron
3 months ago

#1 @pbiron
3 months ago

  • Keywords has-patch added

#2 @pbiron
3 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
3 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
5 days 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
5 days ago

Previously: [44332] for wp_script_add_data().

Note: See TracTickets for help on using tickets.