Closed pbiron closed 4 years ago
Right, the patch fixes the multiple click/multiple returns bug but the code there generally can probably be better. Will add inline comments.
Another UI thing that may need considering/fixing:
Seems a lot of repetition, also some inconsistency?
Edit: ugh, this is in the wrong place, sorry. Moving to https://github.com/WordPress/wp-autoupdates/issues/94.
This addresses the 2nd part of #94.
It also fixes incorrect aria-labels in the AJAX results and harmonizes wp_autoupdates_enable_auto_updates() and wp_autoupdates_disable_auto_updates() so their code structure more closely aligns with one another.