Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#26707 closed enhancement (fixed)

Document the `show_admin_column` argument

Reported by: johnbillion Owned by: DrewAPicture
Milestone: 3.9 Priority: normal
Severity: normal Version: 3.5
Component: Taxonomy Keywords: has-patch commit
Focuses: docs Cc:


The show_admin_column argument which was added to register_taxonomy() in 3.5 is not documented and does not have a default value.

Attachments (1)

26707.diff (1.1 KB) - added by johnbillion 8 years ago.

Download all attachments as: .zip

Change History (9)

8 years ago

#1 @johnbillion
8 years ago

  • Keywords has-patch added


#2 @DrewAPicture
8 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.9

This and many other functions are in line for converting the $args array docs to a hash notation, 26707.diff looks good for now though. Thanks.

#3 @DrewAPicture
8 years ago

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

In 26912:

Add inline documentation for the 'show_admin_column' argument added to register_taxonomy() in 3.5.

Also adds a 'show_admin_column' value to the defaults array.

Props johnbillion.
Fixes #26707.

#4 @DrewAPicture
8 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened


Reflecting on [26912], adding the default is obviously very "codey" and not so much on the "documenting-ey", just want to make sure that that value is indeed supposed to default to false, as we obviously enable it for both categories and tags out of the box.

#5 @johnbillion
8 years ago

Correct, the show_admin_column argument is false by default.

It's set to `true` for categories and tags and then only taxonomies which set it to true are displayed on post listing screens and media listing screens.

#6 @DrewAPicture
8 years ago

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

#7 @DrewAPicture
8 years ago

  • Focuses docs added

#8 @DrewAPicture
8 years ago

  • Component changed from Inline Docs to Taxonomy
Note: See TracTickets for help on using tickets.