[wp-trac] [WordPress Trac] #45057: Help notice displayed on Privacy Policy page missing in Gutenberg

WordPress Trac noreply at wordpress.org
Wed Oct 10 10:32:55 UTC 2018


#45057: Help notice displayed on Privacy Policy page missing in Gutenberg
-----------------------------+----------------------
 Reporter:  garrett-eclipse  |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  5.0
Component:  Editor           |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  privacy
-----------------------------+----------------------
Changes (by audrasjb):

 * keywords:   => needs-patch
 * milestone:  Awaiting Review => 5.0


Comment:

 https://github.com/WordPress/gutenberg/issues/10448#issuecomment-428521883

 Here is a prototype of what should be done for this specific page.

 - I just added a .is-warning notice with the text currently used in
 Classic Editor.
 - Sorry, my WordPress instance was localized in fr_FR, but I guess it
 should be enough to see the desired result.

 Technical issues that should be solved:
 - We need to check if we are in the privacy policy page (the ID of the
 page is stored under wp_page_for_privacy_policy item in wp_option table)
 to append the notice.
 - We need to get the URL of the privacy policy page to append it in the
 notice.

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


More information about the wp-trac mailing list