WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Map Cap] Taking an array into account

[Resolved] [Plugin: Map Cap] Taking an array into account

  • Hey there, I was checking out your source on github and noticed that it makes the assumption that the capability type is being passed in this format:
    'capability_type' => 'story'
    Have you considered putting in a conditional check to see if it is being passed this way:
    'capability_type' => array( 'story', 'stories' ) ?
    That would be really swell … 😉

    http://wordpress.org/extend/plugins/map-cap/

Viewing 1 replies (of 1 total)
  • Plugin Author thenbrent

    @thenbrent

    Version 2.0 (just released) takes this into account.

    If you’d like to make other improvements, you can fork the plugin on GitHub and make a pull request with the changes. I’ll gladly merge them. 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Map Cap] Taking an array into account’ is closed to new replies.