[wp-trac] [WordPress Trac] #50774: include version updated FROM in plugin/theme auto-updates emails
WordPress Trac
noreply at wordpress.org
Thu Sep 10 21:53:01 UTC 2020
#50774: include version updated FROM in plugin/theme auto-updates emails
-------------------------------------+-----------------------
Reporter: pbiron | Owner: audrasjb
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.6
Component: Upgrade/Install | Version: 5.5
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+-----------------------
Comment (by pbiron):
[attachment:"50774.2.diff"] addresses the problem mentioned in comment:10
by setting the current version in `WP_Automatic_Updater::update()`, rather
than trying set in the transient. It also uses "Unknown" as the string if
the current version can't be determined, instead of "N/A".
I'm not 100% sold on how the version information appears in the email
text, but functionally this works for plugins and themes, whether they are
in the .org repo or externally hosted.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50774#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list