Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#23 closed defect (fixed)

Remove WPTestCase::_current_action()

Reported by: duck_ Owned by: westi
Milestone: Legacy - Improve Framework Priority: minor
Component: Test Framework Keywords:


WPTestCase::_current_action() is unused and tries to use the non-existent $wp_current_action global.

It was introduced before WordPress 2.5 when the current_filter() function wasn't available.

Change History (1)

#1 @duck_
6 years ago

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

(In [477]) Remove unused and unhelpful WPTestCase::_current_action(). Fixes #23.

Note: See TracTickets for help on using tickets.