[wp-trac] [WordPress Trac] #45151: Convert 'Sample Page', 'Hello World', and 'Privacy Policy' to block content
WordPress Trac
noreply at wordpress.org
Tue Oct 23 19:35:07 UTC 2018
#45151: Convert 'Sample Page', 'Hello World', and 'Privacy Policy' to block content
-------------------------------------------------+-----------------------
Reporter: danielbachhuber | Owner: desrosj
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.0
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing 2nd-opinion | Focuses:
-------------------------------------------------+-----------------------
Changes (by desrosj):
* keywords: has-patch needs-refresh => has-patch needs-testing 2nd-opinion
Comment:
[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.
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45151#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list