senlin / classic-editor-addon

This free "Classic Editor Addon" plugin makes sure that Gutenberg cannot be accidentally activated even while the "Classic Editor" plugin is active.
GNU General Public License v3.0
20 stars 5 forks source link

Auto refresh plugins page after installation/activation of "Classic Editor" plugin #4

Closed senlin closed 5 years ago

senlin commented 5 years ago

reported via review:

If you add/install/activate your plugin without first installing the “Classic Editor” plugin, your plugin provides the “Install Now” link – which is excellent. However, once it has installed/activated “Classic Editor” via this link, it does not refresh the list of plugins – hence it does not look as though “Classic Editor” has been installed & activated. You have to then refresh the plugins page to show it in the list.

senlin commented 5 years ago

@gschoppe - do you know how to add this to our plugin?

gschoppe commented 5 years ago

@senlin Unfortunately, I can't think of a trivial way to add this functionality without forking and modifying the code for wp-dependency-installer, which isn't ideal.

I think the correct path is to push this issue upstream to that repository and suggest an enhancement that triggers an automatic refresh when the admin notice is activated on the plugins page.

senlin commented 5 years ago

@gschoppe - Thanks for looking into this, will kick it upstream then.

senlin commented 5 years ago

"fixed" issue with workaround in 2.3.0