Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
#1627006-78: Collect project information for translation update
Follow-up issue to make a helper function
Based on webchick's initial comment
#1627006-56: Collect project information for translation update
+++ b/core/modules/locale/locale.compare.inc
@@ -0,0 +1,265 @@
+ // The first release with the same major release number which is not a
+ // dev release is the one. Releases are sorted the most recent first.
This logic looks like it'd be really nice to pull out into a helper function, since I've seen similar checks both here and in Update module. (Follow-up)
Comments
Comment #1
YesCT CreditAttribution: YesCT commentedThis issue might need a better title.
Here is the code that spurred it:
Comment #2
Sutharsan CreditAttribution: Sutharsan as a volunteer commented#1832946: Runtime translation download fallback works different from installer translation download fallback is removing the code that finds release info for a project. This issue can be closed once it lands because it will no longer be applicable.