Opened 19 months ago
Closed 8 months ago
#18972 closed defect (bug) (fixed)
register_post_status() fixes
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | General | Version: | |
| Severity: | minor | Keywords: | has-patch |
| Cc: |
Description
Found some minor bugs related to register_post_status():
- doc says it registers a post type
- statuses can't be hierarchical and don't have capability types
Attachments (3)
Change History (9)
- Owner set to duck_
- Resolution set to fixed
- Status changed from new to closed
In [21302]:
- Resolution fixed deleted
- Status changed from closed to reopened
Also unused are show_in_admin_all and single_view_cap. Both added in [13172]. It looks like show_in_admin_all might be from an early version of a patch, but didn't get removed. Not sure about single_view_cap.
See 18972.3.diff.
Instead of 'single_view_cap', WP_Query uses 'internal', 'protected' etc.
Note: See
TracTickets for help on using
tickets.

'_edit_link' isn't used either.