Changelog
Release date:
- August 30th, 2017
Summarized:
- New performance options have been added. They allow you to optimize Search and Archive query alterations.
- Schema.org JSON-LD data is now cleaner when you run PHP 5.4 or later.
- Custom input image URLs can now dynamically switch between HTTP and HTTPS and the dimensions are always set, regardless of input.
- Multisite networks no longer initiate new database connections on every page for plugin compatibility checks.
Did you know?
- Local SEO has been added to the Extension Manager.
- It increases location-aware search presence in Google Search, Google Maps, and even Google Images.
Detailed log
I had not overlooked them, and they shall be answered.
- For everyone:
- Added:
- Four new options regarding performance:
- “Enable search query alteration”.
- When disabled, this might improve search result pages’ performance.
- “Perform (search query) alteration:”
- When set to “In the database”, it will tell the database to filter the posts. This is more accurate, but slower.
- When set to “On the site”, PHP will filter the posts. This can lead to 404 errors.
- “Enable archive query alteration”.
- When disabled, this might improve overall site performance.
- “Perform (archive query) alteration:”
- When set to “In the database”, it will tell the database to filter the posts. This is more accurate, but slower.
- When set to “On the site”, PHP will filter the posts. This can lead to 404 errors.
- “Enable search query alteration”.
- Four new options regarding performance:
- Improved:
- When using PHP 5.4 or later, slashes are no longer escaped in JSON-LD data. So
http://schema.org
no longer becomeshttp:\/\/schema.org
. - Open Graph image size source comparison now performs a weaker preparation, improving performance.
- Image URLs from input can now convert between HTTP and HTTPS when host names match.
- This will also work with CDN plugins when your input URL matches your site hostname.
- The preferred URL scheme will be set (SEO Settings -> Canonical -> Scheme Settings).
- Multisite: Removed PHP and WP version testing completion option from site options to blog options.
- This means the option is now autoloaded on networks, so there will be fewer database calls on every query.
- When using PHP 5.4 or later, slashes are no longer escaped in JSON-LD data. So
- Fixed:
- When an image can’t be cropped for any reason, no more 500 errors will occur, but a correct notice will be outputted instead.
- Titles and Descriptions starting with two spaces now get their duplicated spaces correctly removed.
- When performing search actions in the admin dashboard, like filtering products by category, the SEO Bar is now correct.
- Search URL in JSON-LD is now correct when slashes are omitted from pretty permalinks.
- When CPT archives aren’t registered with a label, they are tried for their deeper listed singular label.
- Notably, The Events Calendar works correctly now with The SEO Framework.
- Prevented PHP errors on Shortlink generation when previewing certain custom post types.
- Added:
- For translators:
- Added:
- Location: SEO Settings, General Settings, Performance tab.
- “Depending on your server’s configuration, adjusting these settings can affect performance”:
- Settings description.
- “Query alteration Settings”
- Settings title.
- “Altering the query allows for more control of the site’s hierarchy.”
- Settings description.
- “If your website has thousands of pages, these options can greatly affect database performance.”
- Settings description.
- “Altering the query in the database is more accurate, but can increase database query time.”
- Settings description.
- “Altering the query on the site is much faster, but can lead to inconsistent pagination. It can also lead to 404 error messages if all queried pages have been excluded.”
- Settings description.
- “Perform alteration:”:
- Option selection prefix.
- “In the database”:
- Option selection.
- “On the site”:
- Option selection.
- “Enable search query alteration?”:
- Option checkbox label.
- “This allows you to exclude pages from on-site search results”:
- Option checkbox label question mark title.
- “Enable archive query alteration?”:
- Option checkbox label.
- “This allows you to exclude pages from on-site archive listings”:
- Option checkbox label question mark title.
- “Depending on your server’s configuration, adjusting these settings can affect performance”:
- Location: SEO Settings, General Settings, Performance tab.
- Changed:
- “Exclude this %s from archive listing”:
- Location: In-post SEO Box.
- Now is: “Exclude this %s from all archive listings”.
- Reason: Clarity.
- “Exclude this %s from archive listing”:
- Updated:
- POT translation file.
- Added:
- For developers:
- Added:
- Method
matches_this_domain
, where the input URL gets compared to the website’s domain. - Option
alter_search_query_type
. - Option
alter_archive_query_type
. - Option
alter_search_query
. - Option
alter_archive_query
.
- Method
- Updated:
- Database version:
'2941'
.
- Database version:
- Changed:
- Method
the_seo_framework()->is_search()
now always returnsfalse
in the admin area.- Methods affected at runtime:
- Class
The_SEO_Framework\Load
:get_the_search_title()
- Tree:
get_the_search_title()
generate_title()
get_notagline_title()
build_title_notagline()
build_title()
title()
- Therefore, these unique methods output different data on admin search pages:
get_javascript_l10n()
the_seo_bar_term_data()
the_seo_bar_post_data()
generate_description_title()
- Tree:
The_SEO_Framework\Debug::get_debug_query_output()
- Class
- Methods affected at runtime:
- Method
- Fixed:
- Method
the_seo_framework()->get_social_image_url_from_seo_settings()
first parameter now works. - Method
the_seo_framework()->delete_ld_json_transient()
no longer uses run-once cache. Therefore, it can clear multiple JSON-LD transients.
- Method
- Removed:
- Method
the_seo_framework()->adjust_archive_query()
, without deprecation. - Method
the_seo_framework()->adjust_search_filter()
, without deprecation.
- Method
- Filter notes:
- Added:
(string) the_seo_framework_title_pagination
, allows you to adjust the title pagination.(bool) the_seo_framework_do_adjust_archive_query
, allows other plugin authors to prevent query adjustment.(array) the_seo_framework_query_alteration_types
, allows you to limit query adjustment types.
- Added:
- Action notes:
- Added:
the_seo_framework_after_front_init
. This allows you to easily alter hooks on the front-end.the_seo_framework_after_admin_init
. This allows you to easily alter hooks on the back-end.
- Added:
- Other:
- Cleaned up code, i.e. improved documentation and writing style.
- Added: