Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#26683 closed defect (bug) (fixed)

Improve Documentation of add_post_type_support()

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

Description

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 13 years ago.
26683.diff (1.7 KB ) - added by DrewAPicture 13 years ago.
moar phpdoc fixes
26683.2.diff (1.7 KB ) - added by DrewAPicture 13 years ago.
Add 'core' keyword

Download all attachments as: .zip

Change History (11)

#1 @philiparthurmoore
13 years ago

  • Cc philip@… added

#2 @kpdesign
13 years ago

  • Component Post TypesInline Docs

#3 @SergeyBiryukov
13 years ago

  • Keywords has-patch added
  • Milestone Awaiting Review3.9

@DrewAPicture
13 years ago

moar phpdoc fixes

#4 @DrewAPicture
13 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.

@DrewAPicture
13 years ago

Add 'core' keyword

#5 @DrewAPicture
13 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
13 years ago

  • Owner set to DrewAPicture
  • Resolutionfixed
  • Status newclosed

In 26911:

Improve inline documentation for add_post_type_support().

Props philiparthurmoore.
Fixes #26683.

#7 @DrewAPicture
12 years ago

  • Focuses docs added

#8 @DrewAPicture
12 years ago

  • Component Inline DocsPosts, Post Types
Note: See TracTickets for help on using tickets.