[wp-trac] [WordPress Trac] #44100: GDPR Privacy Page setting allows for Draft Pages

WordPress Trac noreply at wordpress.org
Mon Jun 18 19:56:39 UTC 2018


#44100: GDPR Privacy Page setting allows for Draft Pages
------------------------------------------+-----------------------------
 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:  gdpr has-patch needs-testing  |     Focuses:  administration
------------------------------------------+-----------------------------
Changes (by desrosj):

 * keywords:  gdpr has-patch needs-testing ux-feedback => gdpr has-patch
     needs-testing


Comment:

 [attachment:44100.3.diff] removes the notification and only adds '(Draft)`
 to the end of draft page titles in the dropdown. Adding a notification
 should be explored in #44320 so it can get proper UI/UX attention.

 Other improvements:

 - Renamed `_wp_privacy_settings_screen_filter_pages()` to
 `_wp_privacy_settings_filter_draft_page_titles()` to better convey what
 the function does.
 - Adds `@access`, `@param`, and `@return` tags to the
 `_wp_privacy_settings_filter_draft_page_titles()` function.

 One thing I am not sure of is adding a filter and then immediately
 removing it. I don't know if this is done anywhere else in core.

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


More information about the wp-trac mailing list