Closed ronalfy closed 4 years ago
Looks Good Ron..:)
Looks Good Ron..:)
Thanks! I'll try to attend the next meeting and bring this up.
Thanks @pbiron
So it sounds like it is outside the scope of this plugin. Perhaps this is more of a WordPress trac issue to bring Ajax into the Installed plugins screen so one can activate/deactivate plugins by using Ajax.
I am guessing that Ajax is being used when initially installing and activating a plugin. (Atleast it does not jump to the top of the screen when installing/activating a plugin for the first time.)
That means on the Plugins -> Install New seems to have Ajax activated. But that the Installed plugins screen does not.
Thanks @pbiron
Thank you for the POC PR!
So it sounds like it is outside the scope of this plugin. Perhaps this is more of a WordPress trac issue to bring Ajax into the Installed plugins screen so one can activate/deactivate plugins by using Ajax.
No, it's perfectly within scope for the plugin. The implementation may change when merged into core, but that's the same with a lot of what's in the plugin.
@paaljoachim @pbiron updated the PR for the themes screen on multisite. I'll do another test on single-site to make sure everything behaves as expected.
One thing I noticed is we need some do_action
or apply_filters
when anything is updated and removed for third-party plugin compatibility such as Easy Updates Manager (200,000+ installs) so they can keep track of what's enabled/disabled. I'm imagining another PR to accomplish this.
Also would be good to abstract out the HTML creation so Ajax and non-Ajax use the same markup.
This does not work for the themes screen on single-site. I'll be happy to do another PR to get that fixed with this PR as a dependency.
Needed:
I'll be happy to discuss at the next open meeting.
Regards,
Ronald Huereca
One thing I noticed is we need some
do_action
orapply_filters
when anything is updated and removed for third-party plugin compatibility such as Easy Updates Manager (200,000+ installs) so they can keep track of what's enabled/disabled. I'm imagining another PR to accomplish this.
Thanx Ronald! Can you open an issue about other things we could do (e.g., other hooks we could/should add) to help and/or avoid conflicts with existing update
plugins?
Thanx Ronald! Can you open an issue about other things we could do (e.g., other hooks we could/should add) to help and/or avoid conflicts with existing
update
plugins?
Done. Thank you. https://github.com/WordPress/wp-autoupdates/issues/63
@paaljoachim @pbiron I updated the PR to cover single-site themes.
This is ready for review/scrutiny :)
Suggestion for some more consistent wording:
Suggestion for some more consistent wording:
Yeah, we'll definitely want to tweak the wording. Thanks!
@pbiron shall I keep this PR up to date with changes, or wait until the 0.6 milestone to finalize?
@pbiron shall I keep this PR up to date with changes, or wait until the 0.6 milestone to finalize?
It's probably easier to wait, but that's up to you.
Also, with regard to adding $hook === 'site-themes.php'
to the conditional, see #69 which I just opened...so definitely wait to make that change.
@pbiron is core verbiage solid enough to begin updating this PR? Thanks!
Thanx for the reminder Ronald, I was meaning to ping you.
Yes, feel free to update the PR against the current state of master
(which is 0.5.1).
In particular, note that:
$hook === 'site-themes.php'
to the conditional is no longer necessary, because auto-updates are no longer shown on the screen@pbiron this has been updated with the latest 0.5.1 changes.
Thanks all and particularly @ronalfy for all the great work on this pull request. Currently testing it, and all looks fine on my side for the moment… I have some accessibility concerns, but I think it’d be easier to handle them once the current workaround is merged.
@TimothyBJacobs @audrasjb @pbiron ready for re-review. Made the CSS changes and removes the filter_input
s. Thanks for allowing me to be apart of this.
💥
Resolves #65
This is a concept PR that demonstrates Ajax enabling/disabling of plugins. Would love to discuss this more and flesh it out more for themes as well if this concept is accepted.
Thanks,
Ronald Huereca