Support » Plugin: Frontend Uploader » Fix to Broken wysiwyg editor in v1.3.2

  • Resolved msargenttrue



    I have updated to WordPress 5.0.2 and Frontend Uploader 1.3.2. I noticed that in going from 1.3.1 to 1.3.2, the wysiwyg frontend editor no longer worked. So I downgraded the Frontend Uploader back to 1.3.1. On this version the wysiwyg editor issue is not a problem but Posts > Manage UGC comes up with the error: “Couldn’t find template file”.

    I went back to updating the Frontend Uploader to 1.3.2 and came up with a temporary hack to resolve the wysiwyg editor issue. This issue related to using a strict equal operator (===) instead of a loose operator (==).

    Within frontend-uploader.php, lines 943-944, I changed the following from this:

    // Render WYSIWYG textarea
    if ( ( isset( $this->settings['wysiwyg_enabled'] ) && 'on' === $this->settings['wysiwyg_enabled'] ) || $wysiwyg_enabled === true ) {

    to this:

    // Render WYSIWYG textarea
    if ( ( isset( $this->settings['wysiwyg_enabled'] ) && 'on' == $this->settings['wysiwyg_enabled'] ) || $wysiwyg_enabled == true ) {

    Can you apply these changes to the next version of the plugin so I don’t have to rely on this hack moving forward?

    Mike S

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rinat


    Hey Mike,

    Thanks for bringing that up. When I was looking into the proposed changes I discovered a bug where a shortcode attribute would never override the global setting.

    E.g. if I had “wysiwyg_enabled” globally I wouldn’t be able to force a particular textarea to not use it.

    So I killed two birds with one:

    I’m not really sure when the next release is, the plugin isn’t being actively worked on.

    Thread Starter msargenttrue



    Thanks for the quick update. No rush on the next release, I’m fine with having the hack in place until the next version comes out.

    Plugin Author Rinat


    Heh, no worries, you just caught me at the right moment, plus you had proposed a solution. I try to be responsive to the people who actually make effort 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fix to Broken wysiwyg editor in v1.3.2’ is closed to new replies.