#49572 closed task (blessed) (fixed)
Docblock improvements for 5.5
Reported by: | SergeyBiryukov | Owned by: | |
---|---|---|---|
Milestone: | 5.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | docs | Cc: |
Attachments (4)
Change History (108)
#4
@
5 years ago
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.
#6
@
5 years ago
Related: [47394]
Per comment:97:ticket:48303, image_downsize
filter description could use a clarification about when the value can be an array (if another filter is filtering the value and returning an array intended as the short-circuited return value).
#7
@
4 years ago
WP_Customize_Partial::$settings
can be string[]
instead of just array
.
WP_Customize_Partial::__construct()
parameter $args
should be something like
@param array $args { @type string $type @type string $selector @type string[] $settings @type string $primary_setting @type string $capability @type callable $render_callback @type bool $container_inclusive @type bool $fallback_refresh }
WP_Customize_Selective_Refresh::add_partial()
argument $args
should just reference WP_Customize_Partial::__construct()
instead of being explicit.
Thanks,
Marek
@
4 years ago
Add 'term_order' to the description of the $orderby
parameter of WP_Term_Query::__construct()
#21
@
4 years ago
props to @joyously for pointing out the need for 49572-bulk-actions-screen-id.diff.
https://wordpress.slack.com/archives/C02RP4WU5/p1592256736420400
This ticket was mentioned in Slack in #docs by pbiron. View the logs.
4 years ago
#47
@
4 years ago
See comment:58:ticket:16557 for some context on 49572.returning-from-filter.diff.
@
4 years ago
Correct @see references in DocBlocks for wp_privacy_process_personal_data_export_page() and wp_privacy_process_personal_data_erasure_page().
In 47428: