Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#36601 closed defect (bug) (fixed)

Missing parameter in DocBlock in wp_insert_post

Reported by: latz's profile Latz Owned by: boonebgorges's profile boonebgorges
Milestone: 4.6 Priority: normal
Severity: normal Version: 4.6
Component: Posts, Post Types Keywords: has-patch
Focuses: docs Cc:


The DocBlock of "wp_insert_post" is missing the parameter "post_category".

Attachments (1)

36601.diff (850 bytes) - added by Latz 8 years ago.

Download all attachments as: .zip

Change History (5)

8 years ago

#1 @Latz
8 years ago

  • Summary changed from Add parameter to DocBlock in wp_insert_post to Missing parameter in DocBlock in wp_insert_post

#2 @Latz
8 years ago

  • Keywords has-patch added

#3 @boonebgorges
8 years ago

  • Milestone changed from Awaiting Review to 4.6
  • Owner set to boonebgorges
  • Status changed from new to accepted

Good catch. Thanks!

#4 @boonebgorges
8 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 37255:

Add parameter documentation for 'post_category' to wp_insert_post().

Props Latz.
Fixes #36601.

Note: See TracTickets for help on using tickets.