WordPress.org

Make WordPress Core

#45210 closed defect (bug) (duplicate)

Fix an @see notation in the DocBlock for wp_script_add_data()

Reported by: DrewAPicture Owned by: kakomap
Milestone: Priority: normal
Severity: normal Version:
Component: Script Loader Keywords: good-first-bug has-patch
Focuses: docs Cc:
PR Number:

Description (last modified by DrewAPicture)

The DocBlock for wp_script_add_data() contains a reference to WP_Dependency::add_data(), which unfortunately does not exist. :-)

<?php
 *
 * @see WP_Dependency::add_data()
 *

We need to update the reference to WP_Dependencies::add_data()

Reported by @architchandra.

Attachments (1)

45210.diff (483 bytes) - added by kakomap 13 months ago.

Download all attachments as: .zip

Change History (8)

#1 @DrewAPicture
13 months ago

Introduced in [31223].

#2 @DrewAPicture
13 months ago

  • Description modified (diff)

#3 @DrewAPicture
13 months ago

  • Milestone changed from Awaiting Review to Future Release

@kakomap
13 months ago

#4 @kakomap
13 months ago

  • Keywords has-patch added

Hey @DrewAPicture I've submitted something for this

#5 @DrewAPicture
12 months ago

  • Milestone changed from Future Release to 5.1
  • Owner set to kakomap
  • Status changed from new to assigned

Assigning to mark the good-first-bug as "claimed".

Hi @kakomap, thanks for the patch! Everything looks good here.

Trunk development is still closed pending the 5.0 release, but we should be able to get this in with 5.1.

#6 @kakomap
12 months ago

Awesome! Looking forward to it...on to more patches it is

#7 @desrosj
10 months ago

  • Milestone 5.1 deleted
  • Resolution set to duplicate
  • Status changed from assigned to closed

Looks like this was fixed in #42505 via [44332].

Note: See TracTickets for help on using tickets.