This PR can be summarized in the following changelog entry:
Adds buildStructuredUrl function.
Relevant technical choices:
This is the first step towards fixing Yoast/wordpress-seo#3514. It introduces a function that later on will be used to built the permalink in the snippet editor.
Test instructions
This PR can be tested by following these steps:
Link yoast-components with this PR to wordpress-seo and build the project.
In your browsers console go to any admin page where window.yoast.components is loaded, like the Dashboard.
In the console, you can test the function, for example like this:
Summary
This PR can be summarized in the following changelog entry:
buildStructuredUrl
function.Relevant technical choices:
Test instructions
This PR can be tested by following these steps:
yoast-components
with this PR towordpress-seo
and build the project.window.yoast.components
is loaded, like the Dashboard.Fixes #780
[Edit by Andrea] Changed
"http://www.example.com/%category%/%postname%, {
to"http://www.example.com/%category%/%postname%", {