[wp-trac] [WordPress Trac] #48431: Privacy policy notice should not be visible on Draft Admin List page.
WordPress Trac
noreply at wordpress.org
Tue May 26 20:14:32 UTC 2020
#48431: Privacy policy notice should not be visible on Draft Admin List page.
----------------------------------------------+----------------------------
Reporter: chetan200891 | Owner: garrett-
| eclipse
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.4
Component: Privacy | Version: 4.9.6
Severity: normal | Resolution: fixed
Keywords: has-screenshots has-patch commit | Focuses: ui,
| administration
----------------------------------------------+----------------------------
Comment (by garrett-eclipse):
No worries @benjibee, there's a related ticket (#44981) to make the notice
dismissible by the user and pertain that. In the meantime you can remove
the admin_notices action tied to the WP_Privacy_Policy_content::notice()
as follows;
{{{#!php
<?php
remove_action( 'admin_notices', array( 'WP_Privacy_Policy_Content',
'notice' ) );
}}}
*May need to be wrapped in an admin_init action due to load order.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48431#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list