Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#40051 closed defect (bug) (invalid)

Filter "handle_bulk_actions-users" does not fire

Reported by: navepilif's profile navepilif Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7.2
Component: Users Keywords:
Focuses: Cc:

Description

The filter 'handle_bulk_actions-users' does not fire. Diving into Wordpress' core files (on both 4.7.2 and 4.7.3) reveals that apply_filters() is not even being reached to fire the filter. (Looking at wp-admin/users.php around line 418).

I have disabled all plugins except the one that I am currently building to verify there is nothing causing a conflict.

Steps to reproduce:

  1. Add the filter 'handle_bulk_actions-users'
  2. Attempt to log "Hello World!" inside that filter's callback function

-or-

  1. Just follow the example on https://make.wordpress.org/core/2016/10/04/custom-bulk-actions/ -- using this filter name instead

Change History (2)

#1 @navepilif
8 years ago

  • Resolution set to invalid
  • Status changed from new to closed

#2 @netweb
8 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.