[wp-trac] [WordPress Trac] #44131: If draft page selected for Privacy Policy page should verbiage change from view to preview

WordPress Trac noreply at wordpress.org
Wed Jun 6 20:54:57 UTC 2018


#44131: If draft page selected for Privacy Policy page should verbiage change from
view to preview
-------------------------------------+-----------------------------
 Reporter:  garrett-eclipse          |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  4.9.7
Component:  Privacy                  |     Version:  4.9.6
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  administration
-------------------------------------+-----------------------------

Comment (by desrosj):

 [attachment:44131.2.diff] adjusts the text to read "preview" instead of
 "view" when the selected privacy policy page is not published.

 I originally checked if a page was in `draft` status, but then thought
 about pages that may have other statuses. Scheduled pages should also read
 "preview", so switching the condition to check if a page is `publish` will
 also display "preview" for scheduled pages.

 One other instance to consider is `private` pages. While `private`, and
 `scheduled` are not supported by default, it is possible to select a
 published page and then change it to `private` or `scheduled`.

 When a page is move to the trash, the user does see a notice on the
 Settings > Privacy page (screenshot incoming).

 I opened #44320 to explore how we are notifying users of issues with their
 site's privacy policy a bit further.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44131#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list