WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 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:
Cc:

Description

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)

comment:1 duck_2 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.