The SEO Framework

★︎ My account
  • Extensions
  • Documentation
  • Pricing
  1. Home
  2. Plugin Changelog
  3. 4.0.1

4.0.1

September 11, 2019 by Sybre Waaijer
Updated September 12, 2019

Thank you for trusting us by upgrading to TSF 4.0.0 earlier! We’ve received many warm and welcoming responses, and we’re very grateful.

Even though we churned 40% of the code, we only confirmed two bugs in that update. This minor update addresses those bugs.

Our users reported some admin scripting issues when updating from v3.2.4 to v4.0. These issues are out of our reach, and we provided several solutions in this post.

Haven’t caught up with the v4.0 major release yet? Check out the 4.0.0 changelog, and read our foreword on v4.0.

Detailed log

> View code changes.
> View closed issues.

For everyone

  • Fixed:
    • Page-as-archive (confirmed: WooCommerce shop pages) pages no longer take SEO post-meta from the last post listed.
      • This wasn’t an issue with the blog-as-page page, because the code trickles down differently there.

For developers

  • Changed:
    • the_seo_framework()->get_post_meta_item() will now fall back using the_seo_framework()->get_the_real_ID() when an empty ID is supplied.
    • the_seo_framework()->fetch_excerpt() will no longer trust WordPress to get the right post. Instead, it fetches the real post ID for the query.
    • the_seo_framework()->get_current_term_meta() now uses the filterable the_seo_framework()->get_the_real_ID() function.
    • the_seo_framework()->get_excerpt_by_id() second parameter $id now defaults to int 0, instead of an empty string. This affects nothing.
  • Fixed:
    • the_seo_framework_sitemap_additional_urls filter now works again as intended. Note that our API example uses deprecated functions. We’ll update the API documentation soon™.
Filed Under: The SEO Framework Changelog

About Sybre Waaijer

Developer of The SEO Framework plugins.
Twitter  GitHub  WordPress

Looking for something?

Do more with extensions

Title Fix

View extension
Running an outdated theme? Use this.

Honeypot

View extension
Super-lightweight hyper-effective anti-spam.

Get Extension Manager

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
Press

Rational

Blog
Privacy Policy
Terms and Conditions
Refund Policy

Practical

Documentation
TSF on WordPress
TSF on GitHub
TSFEM on here
TSFEM on GitHub
Feature Highlights

Connected in 2025 › The SEO Framework