wp-plugin-dependencies icon indicating copy to clipboard operation
wp-plugin-dependencies copied to clipboard

Installing dependency from modal on plugin page should refresh plugins list

Open mrwweb opened this issue 3 years ago • 2 comments

Instructions

  1. Install a plugin with a dependency
  2. On Plugins > Installed Plugins, click the link of a dependent plugin in the "Requires: {Plugin}" list
  3. Click "Install Now" in the modal to install the plugin

Actual Outcome

The dependent plugin is installed but the plugin is not listed in the list of plugins until the page is refreshed

Expected Outcome

The dependent plugin is listed in the list of plugins and the plugin with dependencies has its options updated to reflect the installed dependency

mrwweb avatar Oct 19 '22 16:10 mrwweb

Thanks for testing.

Unfortunately that is the expected outcome. The modal is an iframe and the page doesn't refresh automatically. This is all current core function and not specific to this plugin. The modal is the same for any View details modal that you would fine anywhere.

You should try installing the dependencies from the Dependencies tab in the Install Plugins page.

afragen avatar Oct 19 '22 23:10 afragen

You should try installing the dependencies from the Dependencies tab in the Install Plugins page.

I tried that too and it worked fine.

This mostly feels like a bug because of some of the other ways that the messaging and display don't always give a clear forward path for acting on a dependency.

mrwweb avatar Oct 19 '22 23:10 mrwweb