Changelog
Release date:
- January 28th 2017
If you haven’t read the 2.8.0 upgrade notes yet, please do.
Summarized:
- The 2.8.0 release didn’t contain everything I wanted. So, two new features in a minor release? Certainly!
- First, there’s now a fallback Social Image uploader.
- Second, when scheduled posts are published they now trigger a sitemap cache flush and Search Engine pinging.
- Moreover, this update fixes a few bugs: namely ones that caused character encoding issues in the admin area.
Detailed log:
I don’t believe in luck, but I do believe in assigning value to things.
For everyone:
- Added:
- Scheduled posts now trigger sitemap cache flush and search engine pinging on publish.
- Fallback social image uploader (Hug me, brother!).
- JSON-LD sitename is now outputted after the breadcrumbslist if enabled and when breadcrumbs are found.
- Previously, it was only outputted on the homepage.
- Improved:
- Term/Post Title and Description values now shows actual output after save, including converted entities and backslashes.
- Homepage Title, Tagline and Description values now shows actual output after save, including converted entities.
- Backslashes are stripped, because WordPress internally (needlessly) strips them when updating options, this is already handled correctly in the database functions.
- Autogenerated Descriptions now have zero chance to contain unwanted invisible characters from the post content.
- Autogenerated Descriptions now have semicolons converted to a dot at the end.
- Accidental (or even intentional) duplicated spaces are now omitted from descriptions and titles.
- Descriptions now have tabs converted into a single space.
- Removed duplicated content sanitation call, which vastly improves performance on some pages.
- Updated:
- The JSON-LD cache has been invalidated.
- WordPress will automatically clean up the cache.
- The JSON-LD cache has been invalidated.
- Fixed:
- HTML entities were shown as unencoded in the custom post description value.
- Twitter card type
photo
is now considered when no social description can be generated. - All Twitter metadata will now be removed if no social image or description can be found or generated.
- It’s then up to Twitter to use Open Graph.
- Massive title inputs no longer cause browser side-scrolling bars to show up.
- The social image uploader button text now only transforms to “Change Image” if there actually is an image selected.
- CJK and other MultiByte dependant languages no longer generate a description that’s far too short.
- Homepage description placeholder now shows the correct description when the homepage is a blog.
For translators:
- Added:
- New sentences for the fallback image uploader.
- Other:
- Are you having difficulties translating some sentences, namely with gender types? Let me know!
- You can use label
i18n/i10n
for these issues.
- You can use label
- Are you having difficulties translating some sentences, namely with gender types? Let me know!
For developers:
- Added:
- Method
s_nbsp
, translates space entities to spaces. - Method
s_dupe_space
, removed duplicated spaces. - Method
s_bsol
, translates backslashes to entities. - Method
s_tabs
, translates tabs to spaces, one tab to one space. - Method
s_singleline
, converts multiline to single line with spaces in between. - Method
s_title_raw
, used for database and internal sanitation. - Method
s_description_raw
, used for database and internal sanitation. - Method
s_excerpt_raw
, used for database and internal sanitation.
- Method
- Improved:
- All term data is sanitized more extensively before entering the database.
- This does not improve security. Always escape the output before sending it to the browser.
- This does improve visibility of expected output in metaboxes.
- The homepage metabox general tab has had a major cleanup.
- It was drastically confusing to work with.
- In the future it will be refactored to prevent mistakes.
- Method
get_image
can now perform on$post->ID === 0
.- It will then skip featured image and custom social images.
- All term data is sanitized more extensively before entering the database.
- Updated:
- Translation POT file.
- Removed:
- Warning:
wp_kses_decode_entities
now no longer runs on the option functions.- This might cause some calculation functionality to have different effects.
- Always be sure to sanitize your output.
- The unused
googleplus_tags
boolean option has been removed.- It’s unused.
- With its removal we can auto-enable it easier in the future.
- The unused
description_custom
string option has been removed.- It’s unused.
- With its removal we can auto-enable it easier in the future.
- Warning: