[wp-trac] [WordPress Trac] #43473: Add default text for a privacy policy
WordPress Trac
noreply at wordpress.org
Wed May 2 16:53:26 UTC 2018
#43473: Add default text for a privacy policy
-----------------------------------------------+-----------------------
Reporter: azaozz | Owner: idea15
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.9.6
Component: General | Version:
Severity: normal | Resolution:
Keywords: gdpr 2nd-opinion has-patch commit | Focuses:
-----------------------------------------------+-----------------------
Comment (by azaozz):
Replying to [comment:62 melchoyce]:
> No — the notices would remain in the editor, but they wouldn't be
rendered on the front-end of your site.
This is not that easy to do. We either have to add another display filter
and parse the post content (kind of slow-ish), or have to add some form of
hack like inline styles with `display: none;`, however that will leave the
content in the policy page. Also, no idea how that could be done in
Gutenberg at all.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43473#comment:64>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list