Title: Adding a Capability?
Last modified: August 18, 2016

---

# Adding a Capability?

 *  [simonkittle](https://wordpress.org/support/users/simonkittle/)
 * (@simonkittle)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/adding-a-capability/)
 * Hey,
 * I’m setting up WordPress as a business blog and one thing I’ve found would be
   useful is to have users who can create and edit their own Pages, but not others.
   Unless I’ve missed something there is just the ‘edit_pages’ Capability – how 
   would one go about adding a new capability like this but just for the owners 
   Pages, akin to ‘edit_posts’ and ‘edit_others_posts’.
 * Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/adding-a-capability/#post-495979)
 * Maybe this?
    [http://trac.wordpress.org/attachment/ticket/2301/restrict_pages.php](http://trac.wordpress.org/attachment/ticket/2301/restrict_pages.php)
 *  Thread Starter [simonkittle](https://wordpress.org/support/users/simonkittle/)
 * (@simonkittle)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/adding-a-capability/#post-496484)
 * Perhaps, do you know how to use that file? I’ve tried installing it as a plugin
   but it doesn’t seem to work.
 * Also, going up a level to the incident report where that file is an attachment,
   there is also attached a diff file which seems to fix the core of WP. However,
   this diff was added over a year ago to that thread – but I’m using 2.0.5 to which
   it obviously hasn’t been included.
 * Does anyone know if I can patch my WP code with that diff ?
 *  Thread Starter [simonkittle](https://wordpress.org/support/users/simonkittle/)
 * (@simonkittle)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/adding-a-capability/#post-496485)
 * Hmmmm, I looked into applying the patch that is listed here:
 * [http://trac.wordpress.org/ticket/2301](http://trac.wordpress.org/ticket/2301)
 * This seems to imply that the patch fixes the problem (“Brings page caps to parity
   with posts.”) – i.e. we should now have a n edit_others_pages like we do with
   edit_others_posts – but obviously we don’t, at least in 2.0.5.
 * I looked at the code in my 2.0.5 and I found that about half of that patch has
   been applied, and half hasn’t.
 * Does anyone know what the official status of this is? (or what it should be?)
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/adding-a-capability/#post-496486)
 * The code from the link I posted above should be used as any “normal” plugin.
 *  Thread Starter [simonkittle](https://wordpress.org/support/users/simonkittle/)
 * (@simonkittle)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/adding-a-capability/#post-496487)
 * And that’s just uploading it to the plugins directory right? cos i’ve done that
   how I have with the other plugins I’ve installed, but it doesn’t appear in the
   plugins list for me to activate it.
 * I’ve looked at the code and can’t see anything wrong with it, but I’m not really
   sure what to look for that would stop this working. (WP 2.0.5)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Adding a Capability?’ is closed to new replies.

## Tags

 * [capabilities](https://wordpress.org/support/topic-tag/capabilities/)
 * [users](https://wordpress.org/support/topic-tag/users/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [simonkittle](https://wordpress.org/support/users/simonkittle/)
 * Last activity: [19 years, 3 months ago](https://wordpress.org/support/topic/adding-a-capability/#post-496487)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
