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!

She always comes up with fresh ideas for us – even when we don’t provide much guidance.

Jean in MA – Vector Art & digital design