[wp-trac] [WordPress Trac] #37002: Documentation: update wp_get_post_categories @return description

WordPress Trac noreply at wordpress.org
Wed Jun 8 05:00:48 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):

 Replying to [comment:4 jeherve]:
 > That makes sense, I didn't think of that. Should that be mentioned in
 the @return value somehow? Something along the lines of
 >
 > {{{#!php
 > @return array List of categories. Default to category IDs, can return
 additional data when specifying category arguments.
 > }}}
 @DrewAPicture care to wordsmith something here?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37002#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list