Make WordPress Core

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#18578 closed defect (bug) (fixed)

Remove unused (?) 'hierarchical' arg from register_post_status defaults

Reported by: simonwheatley's profile simonwheatley Owned by: duck_'s profile duck_
Milestone: 3.5 Priority: normal
Severity: minor Version: 3.2.1
Component: Posts, Post Types Keywords: has-patch dev-feedback
Focuses: Cc:

Description

Looks like the hierarchical arg, set to false by the defaults in register_post_status is unnecessary. The attached patch removes the arg from the defaults. Other args look like they're OK, I think.

Attachments (1)

18578.diff (1.2 KB) - added by simonwheatley 13 years ago.
Remove unnecessary hierarchical arg from defaults in register_post_status

Download all attachments as: .zip

Change History (5)

@simonwheatley
13 years ago

Remove unnecessary hierarchical arg from defaults in register_post_status

#3 @duck_
12 years ago

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

In [21302]:

Remove unused arguments (hierarchical, _edit_link, capability_type) from register_post_status

Props scribu, simonwheatley. Fixes #18578, #18972.

#4 @duck_
12 years ago

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