Opened 16 years ago
Closed 16 years ago
#13358 closed defect (bug) (fixed)
Switch post type and tax capabilities to a single 'cap' property
| Reported by: | nacin | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Role/Capability | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [14584]) Use correct cap check. see #13358.