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

WordPress Trac noreply at wordpress.org
Fri Nov 16 20:15:32 UTC 2018


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

 * owner:  (none) => desrosj
 * status:  new => assigned


Comment:

 This notice is added using the `edit_form_after_title` action hook. This
 hook [https://github.com/danielbachhuber/gutenberg-migration-
 guide/blob/master/action-edit-form.md does not exist in the new editor,
 and there is no alternative offered].

 [https://github.com/WordPress/gutenberg/pull/11604/ GB PR-11604] is aimed
 at consuming all notices output to the screen using the `admin_notices`
 action hook (above the editor title in the classic editor).

 The best way forward for fixing this is to move output of the help notice
 to the `admin_notices` action hook when using the new editor and leave the
 legacy behavior for those using the classic editor (potentially in the
 classic editor plugin).

 I opened [https://github.com/WordPress/gutenberg/pull/11999/ GB PR-11999]
 for Gutenberg. After that is merged, it can be ported to core.

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


More information about the wp-trac mailing list