[wp-trac] [WordPress Trac] #43620: Privacy Policy page design
WordPress Trac
noreply at wordpress.org
Wed Apr 18 13:48:15 UTC 2018
#43620: Privacy Policy page design
------------------------------+---------------------------------
Reporter: melchoyce | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: gdpr needs-patch | Focuses: ui, administration
------------------------------+---------------------------------
Comment (by xkon):
In [attachment:43620.1.diff]
- Moves the Policy text js into their own `function($)` in `post.js` .
- Removes the Copy button for the `text-removed` divs.
- Adds Read More / Read Less links.
- Adds an extra `policy-text-excerpt` div that trims the policy text down
to 400 chars.
- Disables the Copy button by default and enables it when you click on
'Read More' so you can copy the full text.
**On disabling the buttons by default**:
The 'copy' works by selecting the div, since it's hidden if you have not
pressed `Read More` you can't actually copy the contents so it results in
an error or copying out whatever else :D. I'm not sure how to 'fix' this
if there's even a fix for it so I just though of disabling the button thus
'forcing' people to review the full text as well before blindly copy
pasting everything.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43620#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list