[wp-trac] [WordPress Trac] #52628: Docblock improvements for WP 5.8
WordPress Trac
noreply at wordpress.org
Tue May 4 15:48:23 UTC 2021
#52628: Docblock improvements for WP 5.8
----------------------------+---------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.8
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses: docs
----------------------------+---------------------
Comment (by ocean90):
[49597] has limited the return type of `wp_get_object_terms()` to only
arrays of type `WP_Term`. But depending on the `fields` argument other
array types are supported too. For example `int[]` in case of `'fields' =>
'ids'`. Same for the filters in the function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52628#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list