diff --git a/features/profile-eval-file.feature b/features/profile-eval-file.feature index 5f51d32..d232248 100644 --- a/features/profile-eval-file.feature +++ b/features/profile-eval-file.feature @@ -5,10 +5,10 @@ Feature: Profile arbitary file execution And a lame-function.php file: """ wp_tick_profile_begin()' === $callback ) { + if ( 'WP_CLI\Profile\Profiler->wp_tick_profile_begin()' === $callback ) { $this->tick_callback = null; return; }