[wp-trac] [WordPress Trac] #55785: Docs: Wrong `@property-read` notation type in `WP_Post`.

WordPress Trac noreply at wordpress.org
Sat May 21 12:06:05 UTC 2022


#55785: Docs: Wrong `@property-read` notation type in `WP_Post`.
-------------------------------+-----------------------------
 Reporter:  omaeyusuke         |       Owner:  SergeyBiryukov
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  6.1
Component:  Posts, Post Types  |     Version:  4.2
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  docs
-------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53428" 53428]:
 {{{
 #!CommitTicketReference repository="" revision="53428"
 Docs: Correct the type for `WP_Post::$post_category` and `::$tags_input`.

 These properties are arrays of category IDs and tag names, respectively,
 not a single integer or string.

 Follow-up to [21651], [31127], [32729], [48941].

 Props omaeyusuke.
 Fixes #55785.
 }}}

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


More information about the wp-trac mailing list