File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ Feature: Activate WordPress plugins
4848 function ( $all_plugins ) {
4949 unset( $all_plugins['site-secrets/site-secrets.php'] );
5050 return $all_plugins;
51- }
51+ }
5252 );
5353 """
5454
@@ -73,8 +73,8 @@ Feature: Activate WordPress plugins
7373 <?php
7474 // Plugin Name: Example Plugin
7575 function example_plugin_activate( bool $network_wide = false ) {
76- // Doesn't matter what we do here, we just need a function definition to check the type
77- return;
76+ // Doesn't matter what we do here, we just need a function definition to check the type
77+ return;
7878 }
7979 register_activation_hook( __FILE__, 'example_plugin_activate' );
8080 """
@@ -191,8 +191,8 @@ Feature: Activate WordPress plugins
191191 register_activation_hook(
192192 __FILE__,
193193 function () {
194- @file_put_contents( WP_CONTENT_DIR . '/activation-test.txt', 'Activation hook was run' );
195- }
194+ @file_put_contents( WP_CONTENT_DIR . '/activation-test.txt', 'Activation hook was run' );
195+ }
196196 );
197197 """
198198
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ Feature: Deactivate WordPress plugins
5151 function ( $all_plugins ) {
5252 unset( $all_plugins['akismet/akismet.php'] );
5353 return $all_plugins;
54- }
54+ }
5555 );
5656 """
5757
Original file line number Diff line number Diff line change @@ -704,7 +704,7 @@ Feature: Manage WordPress plugins
704704 function ( $all_plugins ) {
705705 unset( $all_plugins['site-secrets/site-secrets.php'] );
706706 return $all_plugins;
707- }
707+ }
708708 );
709709 """
710710
You can’t perform that action at this time.
0 commit comments