Support » Plugin: Announcer » Upgraded to WordPress 3.9.1 and lost visual editor in Announcer

  • I had Announcer v3 installed and working OK. Have just upgraded to WordPress 3.9.1 and the visual editor in Announcer has disappeared. I can only see the text editor (and there are no Visual and Text tabs to enable switching between editor modes).

    Help please!

    https://wordpress.org/plugins/announcer/

Viewing 3 replies - 1 through 3 (of 3 total)
  • This is a real nuisance for me. Has anyone got any ideas how to fix it?

    Eureka! I have found the error.

    File wp-content/plugins/announcer/admin/edit-single.php
    line 54
    <?php wp_editor( $att[‘content’], ‘atts[content]’, array( ‘wpautop’=> false, ‘textarea_rows’=> 5 )); ?>

    The error is in the second argument to the function wp_editor.
    The version of TinyMCE used by WordPress 3.9 does not permit this argument to contain square brackets.

    I fixed it by editing ‘atts[content]’ to ‘attscontent’ and the Visual editor now appears.

    Hopefully, the author of this plugin will read this and implement a bug fix.

    Spoke too soon. (Always a mistake to work after midnight 🙁 )
    Editor now deleting rather than saving the announcement. Have had to revert to the original code until I get some help from the plugin author.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upgraded to WordPress 3.9.1 and lost visual editor in Announcer’ is closed to new replies.