WordPress permalinks incorrect for future posts

WordPress 4.2 isn’t displaying future posts with their pretty permalink. But add this function to your theme, and you’ll be cruising the mountains again.

Add this to functions.php:


Thanks to keesiemeijer at https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts#post-7047628, and a link to the trac ticket: https://core.trac.wordpress.org/ticket/30910

Need help getting the code onto your site? Let me know!

Her work on our website took it from simple to extraordinary!

Mike in MI – Website Design