Changes editor - Block and Classic - to load with mapped URLs to resolve an issue with SEO plugins determining internal / external links. It also resolves a long standing issue :tada: for editors seeing unmapped and mapped URLs whilst writing content. (https://github.com/cameronterry/dark-matter/pull/72)
Change: editors will now see mapped URLs when inserting links to posts. Also, editor will now load with mapped URLs and this will be unmapped on save.
This fixes a really annoying issue for editors, who would could see unmapped links in Classic and Block Editors.
Usually occurs around linking to another piece of content like a Page, Post or Term.
Resolves a problem with SEO plugins such as Rank Math or Yoast SEO which would get confused between the admin and primary domains for counting internal links.
Properly resolves an issue of unmapping the primary domain in content on Save Post, which would disengage on POST requests (Classic Editor basically).
This issue was introduced in 2.1.4 - sorry!
Fixed a problem where WordPress' validation of a "safe" URL didn't always work. This mostly affects the WP HTTP API and wp_safe_redirect().
"Internal" REST API requests - conducted through rest_do_request() - are now treated identically to "external" REST API requests in Dark Matter.
Switched out webpack-fix-style-only-entries for webpack-remove-empty-scripts for Webpack 5 compatibility in the build process.
Release 2.1.6 contains a number of fixes
Release Notes
wp_safe_redirect()
.rest_do_request()
- are now treated identically to "external" REST API requests in Dark Matter.webpack-fix-style-only-entries
forwebpack-remove-empty-scripts
for Webpack 5 compatibility in the build process.