The SEO Framework

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

5.0.2

December 6, 2023 by Sybre Waaijer

This minor update fixes more issues our community found after the release of TSF v5.0.0. We also improved the calculation of primary terms with child terms and how breadcrumbs handle post type archives. And again, we improved the performance.

Detailed log

> View code changes.
> No GitHub issues closed.

For everyone

  • Changed:
    • The fallback primary term now determines the last child of a hierarchical term if its parent has the lowest term ID. Props @robbybobble for reporting this.
      • This is unlike how WordPress determines this for Categories, but like how WooCommerce does for Product Categories.
      • Caveat: But only if its parents are in the selected term chain. We could calculate this more accurately, but we’d have to bypass the term cache. We now perform inexpensive operations to determine the correct primary term.
  • Improved:
    • The breadcrumb shortcode now tries to remove the inline margin in front of its text. Props @hathaihaojp for reporting this.
      • Although we increased specificity, this may still be overwritten by the theme styles, which is intended behavior: enforcing styles makes theming difficult.
    • Breadcrumbs now include a registered post type archive before the terms. Props @touchdowntech for detailing this.
      • This will become togglable in a future update. Stay tuned!
      • If you went out of your way implementing TSF’s breadcrumbs, you may need to rethink and tweak that. Sorry about that! — This is a new feature, and we’re still learning how to improve it.
  • Removed:
    • We temporarily removed support for the GitHub Updater because of unforeseen quirks, such as it renaming the plugin folder and updating from our development branch. Props @eusebiuoprinoiu for reporting this.
      • In a future update, we’ll reintroduce this with the quirks resolved.
  • Fixed:
    • Resolved an issue where breadcrumbs included non-public taxonomies for their trail.
    • Resolved an issue where term sitemaps wouldn’t load when using the “not optimized” WordPress Core sitemaps.
    • Resolved a fatal error when bbPress is selectively unloaded. Props @technologypoet for reporting this.
    • Resolved a fatal error when TSF options disappear or have failed to be registered. Now, the plugin falls back to its default values.
    • Resolved an issue where the primary term cache was bypassed when no primary term could be determined (zero terms assigned to a post).
  • Other:
    • Verified support for PHP 8.3.

For developers

  • Changed:
    • We changed all indexes for filter the_seo_framework_breadcrumb_shortcode_css in order to resolve issues with displaying the breadcrumb.
      • Now, all indexes are prefixed with nav to increase specificity.
      • .$class ol li:not(:last-child) :where(a,span) is gone altogether.
  • Fixed:
    • Resolved a deprecation notice when bbPress was active.
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

Incognito

View extension
Hide our markings from plain sight.

Transport

View extension
Let's start moving.

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

Compatible in 2025 › The SEO Framework