The SEO Framework

★︎ My account
  • Extensions
  • Documentation
  • Pricing
  1. Home
  2. Release Notes
  3. TSF 4.0.4 - Release Notes

The SEO Framework 4.0.4 — Contents

  • Detailed log
    • For everyone
    • For developers

The SEO Framework 4.0.4

Released on November 21, 2019

WordPress 5.3 has a bug where the timezone set in PHP is taken into account when creating permalinks. Since this bug can cause canonical URLs with dates to point to a nonexistent page, we’re sending out this patch where TSF sets the timezone to flat UTC for its front-end generation.

The proper fix in WordPress 5.3.1 is due in about three weeks from now, after which we’ll consider reverting these changes.

Detailed log

Code changesIssues closed

For everyone

  • Changed:
    • The plugin now handles the UTC timezone in its sitemap and front-end generation.
  • Fixed:
    • Patched a bug that causes permalinks with dates to point to a wrong URL.

For developers

  • the_seo_framework()->set_timezone() now also unsets the stored timezone string on reset.
  • the_seo_framework()->gmt2date() now uses gmdate() instead of date().
  • the_seo_framework()->html_output() now always sets the timezone regardless of settings, enforcing UTC.

Commercial

The SEO Framework
Trademark of CyberWire B.V.
Leidse Schouw 2
2408 AE Alphen a/d Rijn
The Netherlands
KvK: 83230076
BTW/VAT: NL862781322B01

Twitter  GitHub

Professional

Pricing
About
Support
Terms and Conditions
Refund Policy

Editorial

Knowledge Base
Release Notes
Blog
Feature Highlights
Privacy Policy

Practical

TSF on WordPress
TSF on GitHub
TSFEM on here
TSFEM on GitHub
Deploy Troy

Deploy Troy in 2026 › The SEO Framework