[Wp-unit-tests] [WordPress Unit Tests] #23: Remove WPTestCase::_current_action()

WordPress Unit Tests noreply at wordpress.org
Sun Nov 13 13:30:31 UTC 2011


#23: Remove WPTestCase::_current_action()
----------------------------+------------------------------------
 Reporter:  duck_           |      Owner:  westi
     Type:  defect          |     Status:  new
 Priority:  minor           |  Milestone:  Improve Test Framework
Component:  Test Framework  |    Version:
 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.

-- 
Ticket URL: <http://unit-tests.trac.wordpress.org/ticket/23>
WordPress Unit Tests <http://unit-tests.trac.wordpress.org>
My example project


More information about the wp-unit-tests mailing list