• Resolved Nextendweb

    (@nextendweb)


    Hi,

    I just had a support with one of mine plugin regarding the YouTube API. Nothing serious, I just had to look for clues in your scripts. Could you add your scripts also in non minified version too?

    (Obfuscated[minified] code is not match with GPL license, it is only allowed if the non minified source available too. wp.org guidelines #4)

    Thank you!

    ————–

    WordPress also has a switch where user can specify if he wants to load the minified or not minified script:

    if(defined('SCRIPT_DEBUG') && SCRIPT_DEBUG){
    ... load non minified ...
    }else{
    ... load minified ...
    }

    https://ww.wp.xz.cn/plugins/youtube-embed-plus/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author embedplus

    (@embedplus)

    Nextendweb, (cool name btw)

    We got so many requests to minify for performance, and you’re the first to request the reverse! 🙂

    We understand your reasoning though; we’re releasing a version of the plugin soon that will include that condition in place.

    -EmbedPlus Team

    Thread Starter Nextendweb

    (@nextendweb)

    Thank you! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Minified scripts’ is closed to new replies.