WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #48303, comment 103


Ignore:
Timestamp:
03/24/2020 11:37:41 PM (8 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48303, comment 103

    v1 v2  
    1010
    1111Thanks for catching that! I guess I was confused by the fact that while the parameter indeed has a `mixed` type, it's described as a string in several places:
    12 * "Extra item data (''string'')" in WP_Dependencies::get_data().
     12* "Extra item data (''string'')" in `WP_Dependencies::get_data()`.
    1313* "''String'' containing the data to be added" in `wp_script_add_data()`.
    1414* "''String'' containing the CSS data to be added" in `wp_style_add_data()`.