Before heading into 2021, we wanted to set free four bugs.
Pro tip: If you can no longer switch TSF’s settings tabs, try hitting CMD ⌘+OPTION ⌥+R (Safari Mac), CMD ⌘+SHIFT ⇧+R (Chrome/Firefox Mac) or CTRL ^+SHIFT ⇧+R (Windows); these keyboard shortcuts will force-fetch the latest scripts from your server.
Detailed log
> View code changes.
> No issues were closed.
For everyone
- Fixed:
- The cron pinging now works when TSF sitemaps are deactivated, as was intended since v4.1.2.
- Removed accidentally added horizontal lines (tabs) around the Twitter description input instigated via benevolent PHP code wrapping. The wrapping is now undone.
- This mistake caused Twitter descriptions to appear mutated — this was an admin-area issue affecting UX only. It had no effect on data stored or displayed to Twitter.
- The tabs were transformed to spaces by TSF’s sanitization, which were then trimmed, all before saving the actual value. So, this issue couldn’t affect any of your inputs, new or old.
- The screen no longer bounces when toggling TSF’s settings-tabs using WP 5.6 or later.
- When a notification’s timeout has been met, it won’t output it unintentionally still.
For developers
- Script notes:
- TSF now registers the
tsf-tabs
script. This script is used to register and perform tab-switching gracefully.
- TSF now registers the
- Object notes:
- For object
the_seo_framework()
(\The_SEO_Framework\Load
):register_dismissible_persistent_notice()
now handles timeout values below(int) -1
gracefully, by purging the whole notification gracelessly.
- For object
\The_SEO_Framework\Bridges\Scripts
:- Added method
get_tabs_scripts()
.
- Added method
- For object
- JS Notes:
- Added:
- The
tabs
script. Accessible via objecttsfTabs
, with public methods:toggleToInstant()
toggleTo()
getStack()
initStack()
- The
- Added: