Forum Replies Created

Viewing 1 replies (of 1 total)
  • I take back everything I said below. It worked initially but then I saved my post a second time and it wasn’t converting entities as it should have been.

    This took a little more figuring than I expected but I think I have a solution now:

    • Near the top of the file, comment out add_filter( 'content_save_pre', ... (of course, “…” means I didn’t include the whole line here – just comment the whole line)
    • In the the_editor_content() function, in the first condition, add false && so it’ll look like this: if ( false && 2 == $this->get_code_format( $post ) ) {

    So far that’s working for me. I’ve saved, viewed and edited a few times and it has been reliable. I’m still very new to WordPress so YMMV.

    I’m very new to WordPress so I don’t know if this will have a negative affect on different configurations. However, it did correct the problem for me:

    Edit the plug-in’s source code and find the comment that says:
    // If TinyMCE is disabled or the HTML tab is set to be displayed first, we need to decode the HTML

    Remove the conditional statement after that comment:
    if ( !user_can_richedit() || 'html' == wp_default_editor() )

    I’m guessing this can cause problems for other editors but, as I said, I’m very new. I don’t know how WordPress works with other editors or what kind of text they expect to see so YMMV.

    • This reply was modified 8 years, 7 months ago by kosibar. Reason: What I suggested before didn't work
    • This reply was modified 8 years, 7 months ago by kosibar. Reason: What I suggested before didn't work
Viewing 1 replies (of 1 total)