Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin version in plugin folder name it's bad distribution approach #258

Open
oneumyvakin opened this issue Mar 26, 2017 · 0 comments
Open

Comments

@oneumyvakin
Copy link

oneumyvakin commented Mar 26, 2017

Hello guys, I've found that your plugins zip archives contains plugin version in plugin name like Magic-Fields-2-2.3.3.1, Magic-Fields-2-2.3.3 and so on.

This is a really bad approach:

  1. You can activate new plugin version if old is active during installation with error:
Fatal error: Cannot redeclare mf_load_plugin_textdomain() (previously declared in /var/www/vhosts/wordpress.tld/httpdocs/wp374/wp-content/plugins/Magic-Fields-2-2.3.3/main.php:92) in /var/www/vhosts/wordpress.tld/httpdocs/wp374/wp-content/plugins/Magic-Fields-2-2.3.3.1/main.php on line 92
  1. In case of both plugins version activating from wp-cli it brakes entire site.
  2. In case of security release, you have stay old vulnerable version on server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant