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

Fix #649 - Plugin install button doesn't fire in modal #788

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

gablau
Copy link

@gablau gablau commented Feb 20, 2020

Hello,
I tried to fix issue #649

I noticed that when I clicked on the install button the plugins were correctly installed, so I went to see how the update system works on the WP plugins page.
I found some CSS classes that are needed to update the button during installation and implemented them on the TGMPA_List_Table table row.
I also added the row_actions method by copying it from the parent class, to eliminate the CSS class row-actions, which hide the buttons if you are not with the pointer over the row.
Added some JS code to intercept the wp-plugin-install-success event to redirect to the plugins activation page.

Tested only with WP 5.3.2

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

Successfully merging this pull request may close these issues.

1 participant