-
-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #726 from lucatume/v35-arbitrary-paths
v3.5 support for arbitrary paths in WPLoader
- Loading branch information
Showing
6 changed files
with
450 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
/** Plugin Name: Exploding Plugin */ | ||
|
||
function exploding_plugin_main(){} | ||
|
||
register_activation_hook( __FILE__, 'exploding_plugin_main_activation' ); | ||
function exploding_plugin_main_activation(){ | ||
update_option('exploding_plugin_activated', 1); | ||
throw new \RuntimeException('Boom'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
/** Plugin Name: Some Plugin */ | ||
|
||
function some_plugin_main(){} | ||
|
||
register_activation_hook( __FILE__, 'some_plugin_activation' ); | ||
function some_plugin_activation(){ | ||
update_option('some_plugin_activated', 1); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.