979660717e
`wp_get_canonical_url()` encapsulates the URL logic of `rel_canonical()` to provide a consistent way to retrieve the canonical URL for a post. The new filter `get_canonical_url` allows to customize the canonical URL. Props joostdevalk, jipmoors, DrewAPicture, ocean90. Fixes #36168. git-svn-id: https://develop.svn.wordpress.org/trunk@37685 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
.. | ||
phpunit | ||
qunit |