WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#36601 closed defect (bug) (fixed)

Missing parameter in DocBlock in wp_insert_post

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

Description

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

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

@Latz
4 years ago

#1 @Latz
4 years ago

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

#2 @Latz
4 years ago

  • Keywords has-patch added

#3 @boonebgorges
4 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
4 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.