Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#45210 closed defect (bug) (duplicate)

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

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

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 8 years ago.

Download all attachments as: .zip

Change History (8)

#1 @DrewAPicture
8 years ago

Introduced in [31223].

#2 @DrewAPicture
8 years ago

  • Description modified (diff)

#3 @DrewAPicture
8 years ago

  • Milestone Awaiting Review → Future Release

#4 @kakomap
8 years ago

  • Keywords has-patch added

Hey @DrewAPicture I've submitted something for this

#5 @DrewAPicture
8 years ago

  • Milestone Future Release → 5.1
  • Owner set to kakomap
  • Status new → 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
8 years ago

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

#7 @desrosj
8 years ago

  • Milestone 5.1
  • Resolution → duplicate
  • Status assigned → closed

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

Note: See TracTickets for help on using tickets.