mirror of
git://develop.git.wordpress.org/
synced 2025-02-23 08:03:41 +01:00
This introduces the `get_the_privacy_policy_link()` and `the_privacy_policy_link()` functions, as well as the `privacy_policy_url` filter. A new `tests/url/` folder was added to better organize tests related to `get_*_url()` functions. Previously, those tests were placed in `tests/url.php` and `tests/link/`, but neither of those locations are optimal. Placing tests in `tests/url.php` violates the guideline of creating separate files/classes for each function under test, and using `tests/link/` conflates two distinct -- albeit related -- groups of functions. Over time, URL-related tests can be migrated to the new folder. Props birgire, xkon, azaozz, iandunn. See #43850. git-svn-id: https://develop.svn.wordpress.org/trunk@43002 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.5%
CSS
8.9%
JavaScript
8.1%
SCSS
0.8%
HTML
0.7%