[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 20:42:54 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         |   Keywords:  good-first-bug
  Focuses:  docs           |
---------------------------+-----------------------------
 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()`

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


More information about the wp-trac mailing list