Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #44005, comment 16


Ignore:
Timestamp:
03/07/2019 10:05:50 AM (7 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44005, comment 16

    initial v1  
    1 [attachment:"44005-3.diff"] adds unit-tests for
     1[attachment:"44005-3.diff"] adds some unit-tests (first draft) for
    22
    33- the {{{is_privacy_policy()}}} template tag.
    44- 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.
    66
    77I also adjusted:
     
    1010
    1111to 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
     13ps: we could then consider a test with an actual privacy policy template.