wordpress-post-modal
wordpress-post-modal copied to clipboard
Errors with wrong slug
Helo,
Above all, great plugins as compared to other similar plugins which loads page via ajax instead of embed it at the beginning of the main page.
I have face problems because the slugname has different value to link.
E.g. slugname = general-conditions link = confidentials
The modal was loading indefinitely. I thus modif js to display the errors returned and I have also correct the variable $slug in case there are query to url. ex. < a class="modal-link" href="general-conditions?customize_changeset_uuid=xxx" / >
(You can get this type of url when you customize your themes)
I have also correct some PHP Notice shown in Admin page.
I was not able to pull my request. Here is a patch version: Errors with wrong slug.patch
Regards, NV