Fixed!
Problem:
Installing Jetpack Markdown using ‘Widgets -> Add New -> Upload’, and trying to activate it right from the “Plugin installed successfully” page causes a missing/invalid header error.
Installing Jetpack Markdown using any method does not cause any errors.
Activating Jetpack Markdown from the Plugins admin page does not cause any errors.
Cause:
WordPress is reading the headers of jetpack-markdown/markdown/easy-markdown.php
instead of (or before) jetpack-markdown/markdown.php
.
Solution:
Make the header section in easy-markdown.php
invalid to WordPress.
Notes:
New downloads will have this issue fixed. I didn’t increment the version number to keep the convention (same version number as the original Jetpack).
Thanks you everyone (and Gunnar Hellekson)