Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#26683 closed defect (bug) (fixed)

Improve Documentation of add_post_type_support()

Reported by: philiparthurmoore Owned by: DrewAPicture
Milestone: 3.9 Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: has-patch commit
Focuses: docs Cc:


The DocBlocks for add_post_type_support do not mention post-formats; Codex does. The attached patch fixes this discrepancy.

Attachments (3)

improve-add_post_type_support-documentation.diff (742 bytes) - added by philiparthurmoore 8 years ago.
26683.diff (1.7 KB) - added by DrewAPicture 8 years ago.
moar phpdoc fixes
26683.2.diff (1.7 KB) - added by DrewAPicture 8 years ago.
Add 'core' keyword

Download all attachments as: .zip

Change History (11)

#1 @philiparthurmoore
8 years ago

  • Cc philip@… added

#2 @kpdesign
8 years ago

  • Component changed from Post Types to Inline Docs

#3 @SergeyBiryukov
8 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 3.9

8 years ago

moar phpdoc fixes

#4 @DrewAPicture
8 years ago

Normally I would be in favor of moving the list of possible values into the parameter description they belong to, but I think in this instance the placement in the long description is better as it allows for more detailed explanation.

In 26683.diff I fixed a few other things in the phpdoc since we're in there.

8 years ago

Add 'core' keyword

#5 @DrewAPicture
8 years ago

  • Keywords commit added

26683.2.diff adds the 'core' keyword to the description. It's possible to add non-core features to post types and themes, though not directly supported.

#6 @DrewAPicture
8 years ago

  • Owner set to DrewAPicture
  • Resolution set to fixed
  • Status changed from new to closed

In 26911:

Improve inline documentation for add_post_type_support().

Props philiparthurmoore.
Fixes #26683.

#7 @DrewAPicture
8 years ago

  • Focuses docs added

#8 @DrewAPicture
8 years ago

  • Component changed from Inline Docs to Posts, Post Types
Note: See TracTickets for help on using tickets.