[wp-trac] [WordPress Trac] #45529: Can't Remove wp496_privacy From WP_Internal_Pointers
WordPress Trac
noreply at wordpress.org
Sun Dec 9 18:19:05 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 | Resolution:
Keywords: close | Focuses:
----------------------------+------------------------------
Comment (by daleharrison):
Replying to [comment:1 swissspidy]:
> You should be able to do this:
>
>
> {{{#!php
> <?php
> add_action(
> 'admin_enqueue_scripts',
> function() {
> remove_action( 'admin_print_footer_scripts', array(
'WP_Internal_Pointers', 'wp496_privacy' ) );
> }
> );
> }}}
Thanks, but unfortunately that's not working either. I tried it in a
regular plugin, an mu-plugin, and my theme's functions.php file.
Note: I fixed the closing bracket of the add_action() call as quoted
above.
Anything else I'm missing here or is this a legitimate bug?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45529#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list