Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#34171 closed defect (bug) (fixed)

Update parameter docs for post_submit_meta_box()

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

Description

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 11 years ago.

Download all attachments as: .zip

Change History (5)

#1 @DrewAPicture
11 years ago

  • Keywords needs-patch added
  • Owner set to drebbitsweb
  • Status newassigned
  • Type enhancementdefect (bug)

@drebbits.web
11 years ago

#2 @drebbits.web
11 years ago

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

Added patch for the parameters docs.

#3 @DrewAPicture
11 years ago

  • Resolutionfixed
  • Status assignedclosed

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
11 years ago

  • Milestone Awaiting Review4.4
Note: See TracTickets for help on using tickets.