Edit-post-link seems broken
-
Recently switched to the Componentz theme.
Went to edit a previous post when logged in as user and viewing the post itself. When I select the “Edit button” it links to and then allows you to edit the latest published post no matter which post I try to edit.
So if I have post 1 with title A and then post 2 with title B, when I inspect the edit button on post 1 I see:
<svg class=”cz-icon cz-icon-pencil” aria-hidden=”true” role=”img”><use xlink:href=”https://www.example.com/wp-content/themes/componentz/assets/img/icons/front.svg#cz-icon-pencil”></use></svg> Edit <span class=”screen-reader-text”>B</span>
When I would expect the link to be “href=”https://www.example.com/wp-admin/post.php?post=1&action=edit” with the title “A”
As this didn’t happen before switching to theme (and couldn’t see in preview mode) I assume it’s an issue in the theme rather than the latest WP code?
- The topic ‘Edit-post-link seems broken’ is closed to new replies.