Found a bug
-
When doing a rollback, the wrong plugin string is given to hooks_extra and will therefore not trigger some plugin hooks.
To see this:
go to class-wp-upgrader.php:468
Insert this line
$this->skin->feedback(print_r($args,true));
roll back ANY plugin and you will see the hooks extra takes the complete plugin file destination rather to just the file destination relative to the plugins directory.
use plugin_basename( $file );
and use the current variable as $file, it should fix it.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Found a bug’ is closed to new replies.