[wp-trac] [WordPress Trac] #53816: Overview: Refactor the widgets read/write logic
WordPress Trac
noreply at wordpress.org
Fri Jun 6 13:02:31 UTC 2025
#53816: Overview: Refactor the widgets read/write logic
-------------------------------------------------+-------------------------
Reporter: zieladam | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future
| Release
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests needs-docs | Focuses:
needs-dev-note needs-test-info |
-------------------------------------------------+-------------------------
Comment (by SirLouen):
Replying to [comment:64 zieladam]:
> I don't think we can solve the root cause without breaking backwards
compatibility, but we can at least help developers by renaming
"retrieve_widgets", which suggests data retrieval, to
"recover_lost_widgets", which clarifies it actually updates the database.
I've rechecked the [https://github.com/WordPress/wordpress-
develop/pull/1525 last patch], and it doesn't seem it's going to generate
any major backward compatibility issue
I thought it was a refactor, but I feel now it is some minor improvement.
But what I don't have is clear testing instructions to see how we can play
with this patch. If I get into the code I would probably match any use-
case, but if you could provide it as the patch creator, it will save some
time for testers. If you don't remember anything, it feels like this might
end as a `maybelater` candidate (because I doubt that anyone is going to
take this in the near future, and if anyone happens to think on this, will
probably end as a duplicate of this, and luck 🤞 if someone spots the
duplicate)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53816#comment:65>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list