Map Cap
[resolved] Taking an array into account (2 posts)

  1. 10sexyapples
    Posted 5 years ago #

    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 ... ;-)


  2. thenbrent
    Plugin Author

    Posted 5 years ago #

    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. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Map Cap
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic