Skip to content

Commit

Permalink
Merge pull request #1850 from Nirusu/version-from-metadata
Browse files Browse the repository at this point in the history
Populate valid versions from metadata, too
  • Loading branch information
erwanlr authored Sep 5, 2024
2 parents e9d41ef + 8915199 commit fa0130b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/wp_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ def self.all

@all_numbers = []

DB::Version.metadata.each_key do |ver|
@all_numbers << ver
end

DB::Fingerprints.wp_fingerprints.each_value do |fp|
@all_numbers << fp.values
end
Expand Down

0 comments on commit fa0130b

Please sign in to comment.