Support » Plugin: EWWW Image Optimizer » Executables in installation

  • Resolved Steve

    (@steveatty)


    Why are you shipping DOS executables in your plugin?

    I see gifsicle.exe, pngquant.exe and several other executables in the plugin directory plus files like pngquant-mac and pngquant-fbsd which I assume are those platforms equivalent versions.

    You really should NOT be doing this. I understand that your plugin needs them to work if they are not already installed but why not put them in separate downloads so people can just download the ones they need rather than putting DOS and Mac executables on my linux server

    https://wordpress.org/plugins/ewww-image-optimizer/

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

    (@nosilver4u)

    Because the WP plugin guidelines state that plugins should avoid downloading things from third-party sites. When I asked for clarification on this particular issue, the WP.org plugin reviewers stated that I should bundle all the binaries instead of fetching them from my own site.

    Also, it allows you to use something like WordFence which can alert you to changed plugin files. If they ship from another site, WordFence doesn’t know about them either.

    Lastly, if I don’t bundle them, that’s just one more thing that can go wrong, and there are enough things that can get broken with binary files.

    @nosilver4u Hi, I too want to distribute a binary file in my plugin, any caveats? Is your plugin working on shared hosting, etc?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Executables in installation’ is closed to new replies.