WP Scheduled Posts causes wrong sample-permalink
-
I ran into a strange bug where WP Scheduled Posts is causing new posts to automatically generate the wrong permalink when you create them.
This happens when you create a new post and enter a title, it hits admin-ajax.php with action: sample-permalink and passes in the title.
The problem is the output it receives for the permalink is the furthest in the future scheduled post permalink (with a number eg. post-title-2).
I was able to reproduce this on 4 different installs. Rolling back to version 1.4.4 removed this issue, it was something introduced in version 2.
You can update the permalink manually hitting the admin-ajax (using edit button) and that works fine. But when it first generates a permalink, it’s passing the proper data and somewhere along the way it’s getting corrupted by this plugin and returning the wrong data.
- The topic ‘WP Scheduled Posts causes wrong sample-permalink’ is closed to new replies.