Changes between Initial Version and Version 1 of Ticket #44005, comment 16
- Timestamp:
- 03/07/2019 10:05:50 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #44005, comment 16
initial v1 1 [attachment:"44005-3.diff"] adds unit-testsfor1 [attachment:"44005-3.diff"] adds some unit-tests (first draft) for 2 2 3 3 - the {{{is_privacy_policy()}}} template tag. 4 4 - the {{{privacy-policy}}} body class. 5 - the support of {{{privacy-policy.php}}}in the template hierarchy.5 - the support of a privacy policy template in the template hierarchy. 6 6 7 7 I also adjusted: … … 10 10 11 11 to avoid mismatch between the expected {{{http://test.dev/test-dev-privacy-policy/}}} and actual {{{http://test.dev/?page_id=31}}} that surfaced when testing the patch. 12 13 ps: we could then consider a test with an actual privacy policy template.