Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

After plugin update the pluginfolder is renamed

Tags:

wordpress

When updating a Wordpress plugin, which is hosted outside the wp-repository, the plugin folder gets renamed and 6 characters are added. For example "ma-favorite-plugin" is renamed to "my-favorite-plugin-wD7aLW".

Why does this happen?

like image 731
Uwe Kischkel Avatar asked Oct 30 '25 11:10

Uwe Kischkel


1 Answers

This happened to me when the structure of my zip file was like that:

my-plugin.php
/includes
  file1.php
  file2.php

The root directory should be included in the zip file, and then everything works fine.

/my-plugin
  my-plugin.php
  /includes
    file1.php
    file2.php
like image 144
Michael Avatar answered Nov 01 '25 13:11

Michael



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!