#48503 closed defect (bug) (fixed)
Docblock: WP_Dependency::add_data() results in 404
| Reported by: |  | Owned by: |  | 
|---|---|---|---|
| Milestone: | 5.4 | Priority: | normal | 
| Severity: | normal | Version: | |
| Component: | Script Loader | Keywords: | has-patch | 
| Focuses: | docs | Cc: | |
| PR Number: | 
Description
This page 
https://developer.wordpress.org/reference/functions/wp_style_add_data/
has a link to WP_Dependency::add_data() as 
https://developer.wordpress.org/reference/classes/WP_Dependency/add_data
which gets a 404.
Is it because it has a leading _ or the upper case letters?
https://developer.wordpress.org/reference/classes/_wp_dependency/add_data/
Attachments (1)
Change History (6)
Note: See
        TracTickets for help on using
        tickets.
    


 
			 
                
48503.diff corrects the
@seereference in the DocBlock ofwp_style_add_data()to be the same as that used in the DocBlock ofwp_script_add_data(), which will alleviate the problem of the 404 when parsed.