Created
December 10, 2014 07:19
-
-
Save vladimirlukyanov/e1b9aa3e8b741c084272 to your computer and use it in GitHub Desktop.
The plugin generated x characters of unexpected output
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
<?php | |
add_action('activated_plugin','my_save_error'); | |
function my_save_error() | |
{ | |
file_put_contents(dirname(__file__).'/error_activation.txt', ob_get_contents()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment