[wp-trac] [WordPress Trac] #45210: Fix an @see notation in the DocBlock for wp_script_add_data()

WordPress Trac noreply at wordpress.org
Sat Oct 27 21:04:53 UTC 2018


#45210: Fix an @see notation in the DocBlock for wp_script_add_data()
----------------------------+------------------------------
 Reporter:  DrewAPicture    |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Script Loader   |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  good-first-bug  |     Focuses:  docs
----------------------------+------------------------------
Description changed by DrewAPicture:

Old description:

> The DocBlock for `wp_script_add_data()` contains a reference to
> `WP_Dependency::add_data()`, which unfortunately does not exist. :-)
>
> {{{#!php
> <?php
>  *
>  * @see WP_Dependency::add_data()
>  *
> }}}
>
> We need to update the reference to `WP_Dependencies::add_data()`

New description:

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

 {{{#!php
 <?php
  *
  * @see WP_Dependency::add_data()
  *
 }}}

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

 Reported by @architchandra.

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45210#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list