• Hi,

    I’m running the Hueman theme with W3 Total Cache and not sure when it started but when I click in the search widget, it doesn’t clear the default text, just makes it active.

    Went through disabling plugins and narrowed it down to W3, then I started disabling each setting and it seems that disabling “HTML minify settings” fixed the problem and now when clicking the search field, it clears the text so the user can input their query without having to delete the default text.

    I’ll keep minify on just now because of the benefits, but thought I’d let you know.

    Cheers.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    I am sorry to hear that you are having an issue with HTML minify setting, but I am happy to assist you with it.
    Can you please try adding this:
    In wp-content/plugins/w3-total-cache/lib/Minify/Minify/HTML.php replace lines 346 and 347 with
    $m[2] = preg_replace( '/([a-z0-9]=)\'([^"\'\\s=]+[^"\'\\s=\\/])\'(\\s(?!\\/)|>)/i', '$1$2$3', $m[2] );

    $m[2] = preg_replace( '/([a-z0-9]=)"([^"\'\\s=]+[^"\'\\s=\\/])"(\\s(?!\\/)|>)/i', '$1$2$3', $m[2] );

    I hope this helps.

    Thread Starter Jaiqua

    (@jaiqua)

    Hey Marko!

    Thank you for the very quick response and these things happen and thank you for helping!

    I replaced both lines but still the same. CLeared out the caches as well.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jaiqua,

    I’ll provide you with an answer as soon as we check this.

    Thread Starter Jaiqua

    (@jaiqua)

    Hiya,

    That’d be great and thank you for the help.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    Can you please disable HTML minify and inform us when you do so, so we can check what was there originally?

    Thread Starter Jaiqua

    (@jaiqua)

    Hey Marko,

    Just disabled it. Hope it helps. My theme also has a minify option, which was enabled, but disabled that as well a while ago in case there were any conflicts, but still the same result. The theme minify option is still disabled as well.

    Cheers!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jaiqua,
    Sorry for the late reply.
    It appears that HTML minify is removing quotes
    In your case
    Without HTML minify this.value='';
    With HTML minify this.value;
    I am sorry about the issue you are having and we are working on a fix. I’ll provide you with a solution as soon as this is fixed.

    Thread Starter Jaiqua

    (@jaiqua)

    Hey Marko!

    That’s ok and completely understandable that it takes time to investigate and with everything else.

    That’s great you can see what’s happening and no need to apologise and thank you so much for all the help and information.

    Cheers!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Minify and search widget issue’ is closed to new replies.