Edit listing error
I see in single-default.php (this may be in other files, too) the following code creates the 'Edit Listing' link which we are used to in a Page or Post in a regular WordPress installation but it was obviously modified for ClassiPress because it reads like this:
Code:
<p class="edit"><?php edit_post_link(__('Edit Listing','cp'), '', ''); ?></p>
with the telltale 'cp' addition.
When the Poster is logged in and looking at their listings which display using the single-default.php this Edit Listing link will show at the bottom which is really the standard
WP default Edit the Post reference. It is a dead end link for the ClassiPress Poster...leading to the Error Denied Permissions message.
So that code is producing the wrong link: ""/
wp-admin/post.php?post=78&action=edit" which leads to the Admin edit function. This is not going to work for the standard role permissions that a ClassiPress site should be running in, which is to deny the
WP Admin edit dashboard or even Author or Contributor
WP Admin dashboard functions.
This code in single-default.php ought to produce the ClassiPress Edit form link instead... "/edit-item/?aid=78".