after creating a custom post type with custom post type UI plugin, and after creating the capabilities for a new role to edit, delete and publish it's own custom posts with User Role Editor plugin, i've encountered this issue.
if two or more of the users published content in the custom post type, the system will show a new filter link called "Mine" for each of the users, and it will be the default filter for this page: http://www.mysite.com/wp-admin/edit.php?post_type=custom
the problem is that it echo's "no item found.", although the user clearly have published content in this custom post type.
when i switch to the "all" filter it will show also the user's content, but not in the "mine" filter. it's very frustrating!
can figure it out after several hours. can somebody help with that?
I don't have code actually, it is more of a Plugin / core capabilities misusing, that I don't really understand. the flow was like this (and i'm sorry but the images will be in Hebrew. i tried to translate all of the important stuff that are problem related):
I have created a custom post type with "custom post type UI". Up until now I have never had any problems with this plugin (it's my first multi users / different roles kind of site).
I added to the Subscriber Role this list of capabilities and (message is the name of the custom type), without the capability "edit_others_messages as in
and when i'm using as subscriber, the default url of the "all messages" menu button is the "mine" link, and it's empty! - no messages found!
but when i'm clicking the "all" tab, it does show me the list of all messages and knows what post is of that subscriber user, and which of them isn't.
so what i want is to understand how to give the user role the permission only to manage it's own custom post types, but to aliminate the "not found" query at the "mine" link (that is - the primary query of the "all messages" page "wp-admin/edit.php?post_type=messages"