Ticket #45529: 45529.3.diff
File 45529.3.diff, 1.0 KB (added by , 17 months ago) |
---|
-
src/wp-admin/includes/class-wp-internal-pointers.php
22 22 * remove_action( 'admin_enqueue_scripts', array( 'WP_Internal_Pointers', 'enqueue_scripts' ) ); 23 23 * 24 24 * Individual pointers (e.g. wp390_widgets) can be disabled using the following: 25 * remove_action( 'admin_print_footer_scripts', array( 'WP_Internal_Pointers', 'pointer_wp390_widgets' ) );26 25 * 26 * add_action( 27 * 'admin_enqueue_scripts', 28 * function() { 29 * remove_action( 30 * 'admin_print_footer_scripts', 31 * array( 'WP_Internal_Pointers', 'pointer_wp390_widgets' ) 32 * ); 33 * }, 34 * 11 35 * ); 36 * 27 37 * @param string $hook_suffix The current admin page. 28 38 */ 29 39 public static function enqueue_scripts( $hook_suffix ) {