Pinpoint rollback — building per-plugin revert with WP-CLI
You batch-update 20 plugins, and one breaks the site. Most WordPress maintenance tools play it safe...
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3961116) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Susumu Takahashi Posted on Jun 14 • Originally published at en.wpmm.jp Pinpoint rollback — building per-plugin revert with WP-CLI #wordpress #php #tutorial You batch-update 20 plugins, and one breaks the site. Most WordPress maintenance tools play it safe and roll back all 20 updates (variations on "Safe Updates" or "Atomic Updates"). It's a reasonable default.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).