added fix for newly installed plugins / themes - #370
Open
jamesros161 wants to merge 4 commits into
Open
Conversation
Codecov Report
@@ Coverage Diff @@
## master #370 +/- ##
============================================
- Coverage 25.70% 25.70% -0.01%
- Complexity 2857 2858 +1
============================================
Files 199 199
Lines 14390 14392 +2
============================================
Hits 3699 3699
- Misses 10691 10693 +2
Continue to review full report at Codecov.
|
bwmarkle
previously approved these changes
Aug 13, 2020
Member
|
Status update (Aug 2026 triage): Still open and still relevant — |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If you install a new plugin or new theme and change the settings using WP Auto Update UI, the changes do not take effect in boldgrid backup settings because the plugin / theme does not already exist in those settings. This update addresses that issue.
Note
Low Risk
Narrow settings-sync bug fix on option update hooks; no changes to backup, restore, or authentication paths.
Overview
Fixes Total Upkeep auto-update settings staying out of sync when you enable auto-updates in the WordPress 5.5+ UI for a plugin or theme that was just installed and does not yet have an entry in Total Upkeep’s stored
auto_updatemap.wordpress_option_updated()still walks existing settings keys to turn offers on or off fromauto_update_plugins/auto_update_themes, and now also loops the enabled offers from WordPress and writes'1'for any slug that was missing locally. Thedefaultkey behavior is unchanged (only touched by the first loop).readme.txtonly normalizes changelog formatting for the 1.14.3 release date line.Reviewed by Cursor Bugbot for commit 8c23c90. Bugbot is set up for automated code reviews on this repo. Configure here.