| @@ -1,11 +1,7 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | class Nothing_Action extends Red_Action { |
| 4 | - public function process_before( $code, $target ) { | |
| 5 | - return apply_filters( 'redirection_do_nothing', false, $target ); | |
| 6 | - } | |
| 7 | - | |
| 8 | - public function needs_target() { | |
| 4 | + function can_perform_action () { | |
| 9 | 5 | return false; |
| 10 | 6 | } |
| 11 | 7 | } |