[wp-trac] [WordPress Trac] #49572: Docblock improvements for 5.5
WordPress Trac
noreply at wordpress.org
Tue Mar 24 23:41:04 UTC 2020
#49572: Docblock improvements for 5.5
----------------------------+---------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.5
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses: docs
----------------------------+---------------------
Comment (by SergeyBiryukov):
Related: [47170], [47502].
As noted in comment:103:ticket:48303, the `$value` parameter of
`WP_Dependencies::add_data()` has a `mixed` type, but is described as a
string in several places:
* "Extra item data (''string'')" in `WP_Dependencies::get_data()`.
* "''String'' containing the data to be added" in `wp_script_add_data()`.
* "''String'' containing the CSS data to be added" in
`wp_style_add_data()`.
Would be great to clean up this inconsistency one way or another.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49572#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list