[wp-trac] [WordPress Trac] #45529: Can't Remove wp496_privacy From WP_Internal_Pointers
WordPress Trac
noreply at wordpress.org
Fri Dec 7 20:05:20 UTC 2018
#45529: Can't Remove wp496_privacy From WP_Internal_Pointers
----------------------------+-----------------------------
Reporter: daleharrison | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 4.9.8
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
I'm trying to disable the "Personal Data and Privacy" pointer for all
users.
Unfortunately, it does not seem to be possible to do so via the
remove_action() approach noted at the top of the WP_Internal_Pointers
class.
This is the suggested approach:
{{{#!php
<?php
remove_action( 'admin_print_footer_scripts', array(
'WP_Internal_Pointers', 'pointer_wp390_widgets' ) );
}}}
…but I'm not getting the desired result when applied like so:
{{{#!php
<?php
remove_action( 'admin_print_footer_scripts', array(
'WP_Internal_Pointers', 'wp496_privacy' ) );
}}}
It is also worth noting that the developer of a plugin called Dismiss
Privacy Nag seems to be bumping into the same issue:
https://wordpress.org/plugins/dismiss-privacy-nag/#description.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45529>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list