WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #45151, comment 4


Ignore:
Timestamp:
10/23/2018 07:47:08 PM (3 years ago)
Author:
desrosj
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45151, comment 4

    initial v1  
    11[attachment:"45151.2.diff"] adds updates to the Privacy Policy default content function to output both a block editor formatted string and regular HTML formatted string.
    22
    3 It's a bit of a rewrite for the `get_default_content()` function, so open to other suggestions. Short of a rewrite, there would have been a lot more conditional statements and repetition added.
     3It's a bit of a rewrite for the `get_default_content()` method, so open to other suggestions. Short of a rewrite, there would have been a lot more conditional statements and repetition added.