iandunn
c9c3c61a53
Privacy: Add template tags for building link to privacy policy page.
...
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 .
Built from https://develop.svn.wordpress.org/trunk@43002
git-svn-id: http://core.svn.wordpress.org/trunk@42831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-25 15:55:21 +00:00
..
2018-02-11 12:55:30 +00:00
2018-04-13 15:10:20 +00:00
2018-02-06 02:56:32 +00:00
2018-04-22 14:37:21 +00:00
2018-02-25 20:22:30 +00:00
2017-11-08 11:48:49 +00:00
2018-04-25 13:06:21 +00:00
2017-10-26 12:52:53 +00:00
2017-11-30 23:11:00 +00:00
2018-03-11 16:44:34 +00:00
2018-03-18 14:23:33 +00:00
2018-03-18 14:23:33 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-03-25 18:10:32 +00:00
2018-03-28 23:25:29 +00:00
2018-03-25 18:10:32 +00:00
2017-11-30 23:11:00 +00:00
2018-03-25 19:35:29 +00:00
2018-03-25 18:10:32 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-03-25 19:35:29 +00:00
2017-11-30 23:11:00 +00:00
2018-03-25 18:10:32 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-03-25 18:10:32 +00:00
2018-02-25 20:22:30 +00:00
2018-02-25 20:32:30 +00:00
2018-03-25 18:10:32 +00:00
2018-03-25 18:10:32 +00:00
2018-02-25 20:32:30 +00:00
2018-02-25 20:32:30 +00:00
2018-02-27 02:31:31 +00:00
2018-03-25 18:10:32 +00:00
2017-11-30 23:11:00 +00:00
2018-02-25 20:22:30 +00:00
2018-03-25 19:33:31 +00:00
2018-02-27 02:31:31 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-02-25 20:22:30 +00:00
2017-11-30 23:11:00 +00:00
2018-03-11 16:44:34 +00:00
2018-02-25 20:22:30 +00:00
2018-03-25 19:33:31 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-03-11 16:44:34 +00:00
2018-02-25 20:22:30 +00:00
2018-02-25 20:22:30 +00:00
2018-02-25 20:22:30 +00:00
2018-01-18 05:18:31 +00:00
2017-12-15 00:32:46 +00:00
2018-02-18 16:32:34 +00:00
2018-02-25 20:22:30 +00:00
2018-03-25 19:35:29 +00:00
2018-03-25 19:35:29 +00:00
2018-03-25 19:33:31 +00:00
2018-03-25 19:33:31 +00:00
2017-11-30 23:11:00 +00:00
2018-02-25 20:22:30 +00:00
2018-03-25 19:33:31 +00:00
2017-11-30 23:11:00 +00:00
2018-03-25 19:33:31 +00:00
2018-03-22 18:56:33 +00:00
2018-02-25 20:22:30 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-03-25 19:33:31 +00:00
2018-02-25 20:22:30 +00:00
2018-02-25 21:45:30 +00:00
2018-03-25 19:33:31 +00:00
2018-03-25 19:33:31 +00:00
2018-02-25 20:22:30 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-03-25 19:33:31 +00:00
2018-02-25 20:22:30 +00:00
2018-03-25 19:33:31 +00:00
2018-03-25 19:33:31 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-02-28 03:19:31 +00:00
2018-03-25 19:33:31 +00:00
2018-03-25 19:33:31 +00:00
2018-03-25 19:33:31 +00:00
2018-03-25 19:33:31 +00:00
2018-03-25 19:33:31 +00:00
2018-04-20 12:19:21 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-03-25 19:35:29 +00:00
2018-02-09 18:21:31 +00:00
2018-04-20 12:19:21 +00:00
2018-02-13 16:54:31 +00:00
2018-03-25 19:33:31 +00:00
2018-03-11 16:44:34 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-03-11 16:44:34 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-12-21 02:40:54 +00:00
2018-03-11 16:44:34 +00:00
2018-04-16 08:53:20 +00:00
2018-03-18 14:23:33 +00:00
2017-11-30 23:11:00 +00:00
2018-04-03 14:59:31 +00:00
2018-04-03 15:00:31 +00:00
2018-03-27 00:54:34 +00:00
2018-03-25 19:33:31 +00:00
2018-04-25 15:55:21 +00:00
2018-04-18 23:54:20 +00:00
2018-01-31 17:03:33 +00:00
2018-03-22 20:27:32 +00:00
2017-11-30 23:11:00 +00:00
2018-03-16 02:15:31 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-04-13 15:30:20 +00:00
2018-02-11 17:09:31 +00:00
2017-11-30 23:11:00 +00:00
2018-02-24 13:44:31 +00:00
2018-02-01 15:42:31 +00:00
2018-03-13 15:37:33 +00:00
2018-03-18 14:23:33 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-03-18 14:23:33 +00:00
2018-03-18 14:23:33 +00:00
2018-04-10 18:02:30 +00:00
2018-03-18 14:23:33 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-04-18 22:30:22 +00:00
2017-11-30 23:11:00 +00:00
2018-02-25 16:36:30 +00:00
2018-03-22 20:27:32 +00:00
2017-11-30 23:11:00 +00:00
2018-02-09 16:55:31 +00:00
2018-03-22 20:27:32 +00:00
2018-03-22 20:27:32 +00:00
2018-04-10 18:02:30 +00:00
2017-11-30 23:11:00 +00:00
2018-04-25 15:55:21 +00:00
2018-03-18 14:23:33 +00:00
2018-03-16 02:15:31 +00:00
2017-11-30 23:11:00 +00:00