Problems since upgrading to WordPress 3.6.1
-
I’ve been using this fantastic plugin for several months. Today I upgraded WP to 3.6.1 as well as a few plugins. I noticed that I was no longer able to view Markdownified text when using the Publish or Preview features. I tried disabling all plugins, but to no avail. After some troubleshooting, I found that there was a check during the preview and publish feature looking to see whether the “revision” post type supported “markdown-osi”. I’m not sure if this check is new, but it was returning false for me. On my site, this caused my “Save” button presses to work normally (ie. the text was filtered and saved correctly) but if I used Preview, the Markdown text was getting removed.
For me, the solution came by modifying plugins/markdown-on-save-improved/markdown-on-save.php around line 64, in the add_post_type_support() function like this:
protected function add_post_type_support() { add_post_type_support( 'post', 'markdown-osi' ); add_post_type_support( 'revision', 'markdown-osi' ); add_post_type_support( 'page', 'markdown-osi' ); }
The middle line, telling WP to support “markdown-osi” on “revision” post types, was the fix. I’m not certain this is the *correct* fix, but it does work for me.
https://www.ads-software.com/plugins/markdown-on-save-improved/
- The topic ‘Problems since upgrading to WordPress 3.6.1’ is closed to new replies.