Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#34171 closed defect (bug) (fixed)

Update parameter docs for post_submit_meta_box()

Reported by: drebbits.web Owned by: drebbitsweb
Milestone: 4.4 Priority: normal
Severity: normal Version: 4.3.1
Component: Posts, Post Types Keywords: has-patch dev-feedback
Focuses: docs Cc:


Update doc block of post_submit_meta_box for proper type and add docs for the$args parameter.

Attachments (1)

34171.patch (702 bytes) - added by drebbits.web 6 years ago.

Download all attachments as: .zip

Change History (5)

#1 @DrewAPicture
6 years ago

  • Keywords needs-patch added
  • Owner set to drebbitsweb
  • Status changed from new to assigned
  • Type changed from enhancement to defect (bug)

6 years ago

#2 @drebbits.web
6 years ago

  • Keywords has-patch dev-feedback added; needs-patch removed

Added patch for the parameters docs.

#3 @DrewAPicture
6 years ago

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

In 34911:

Docs: Improve documentation for post_submit_meta_box(), which serves as the display callback for the 'Publish' meta box.

  • $post is now correctly defined as being of the WP_Post type
  • Adds a hash notation for the $args array
  • Other minor fixes.

Props drebbitsweb.
Fixes #34171.

#4 @DrewAPicture
6 years ago

  • Milestone changed from Awaiting Review to 4.4
Note: See TracTickets for help on using tickets.