[wp-trac] [WordPress Trac] #37002: Documentation: update wp_get_post_categories @return description
WordPress Trac
noreply at wordpress.org
Thu Jun 2 14:39:28 UTC 2016
#37002: Documentation: update wp_get_post_categories @return description
-------------------------------+------------------------------
Reporter: jeherve | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 4.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs
-------------------------------+------------------------------
Comment (by rachelbaker):
@jeherve I agree that the return description should signal the default
behavior, but it isn't absolute. If you use `array( 'fields' => 'all' )`
as the `$args` parameter you no longer are returned just an array of IDs.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37002#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list