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!

I respect Sarah’s graphic and web designs as the absolute best I’ve seen as reflecting a person’s character and interests.

Daniel in SC – Real Estate Website Design