When the FediPress plugin is activated the edit post link does not work
As in the title. When the FediPress plugin is active it is not possible to edit posts because the “edit post” link redirects to the post on the frontend. I don't see any errors in the logs from the Frends plug-in series.
Is this the "edit post" link you had in mind, in the WordPress admin bar?
I assume the FediPress plugin you use on your site is this one? https://github.com/alquimidia/fedipress
Yes, I use the plugin from this link. The non-working button is available in two places: the admin bar - your screenshot and next to each post item - the highlighted item in the screenshot.
Glossary: wpisy - posts
P.S. Sory I have the Polish language set. I hope this is not a problem.
Thanks for explaining, where does the link go exactly? to a /friends/1234/ like URL?
No. The link goes to /category/slug-post.
I can't see a clear reason why this should be caused by the FediPress theme plugin. Can you confirm that the links work again if you deactivate FediPress (but keep the Friends plugin)?
Yes, I confirm that with FediPress disabled and the Friends plugin enabled, everything works fine. I disabled all other plugins to make sure that there are no interactions between all plugins.
I myself do not see a correlation of the bug with the FediPress code. Need some information on WP configuration, debug.log (Friends and FediPress do not report any error, warning)?
Hi @amelciaao and @jeherve I solved this problem in the V1.0.2 Fedpress version. I'll send a PR to Friends plugins.json ok, @akirk ?
Oh, great find, @liviacarolgouvea . I've merged the PR. The fix that you made seems I should rather make inside the Friends plugin. I just still cannot reproduce it or understand why your fix helps, do you have further steps to reproduce?
Hi @akirk
The Fedpress friends_frontend_post_types filter is used to display blog posts on friends' timeline.
Before this commit, the filter was impacting the edition of other pages. This condition is therefore added to apply only to the Friends page.
It was a problem with the Fedipress plugin, I think there is no need to correct it in Friends.