Opened 15 years ago
Closed 15 years ago
#13358 closed defect (bug) (fixed)
Switch post type and tax capabilities to a single 'cap' property
Reported by: | nacin | Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Role/Capability | Keywords: | |
Focuses: | Cc: |
Description
Like what we're doing in #12968 and #13357 with labels.
Thus:
$pt->cap->edit_post $pt->cap->edit_posts $pt->cap->edit_others_posts
Etc.
By basing them off what they are called for posts, we reduce confusion significantly (it's also the default) and we prevent errors like [13955] which caused quite a headache, and MarkJaquith and I spent maybe an hour tracking that down.
Patches welcome, otherwise I'll get to it.
Note: See
TracTickets for help on using
tickets.
(In [14584]) Use correct cap check. see #13358.