Fix #397 WP 3.8.1 Fingerprint
This commit is contained in:
@@ -10,6 +10,12 @@
|
|||||||
<wp-versions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<wp-versions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:noNamespaceSchemaLocation="wp_versions.xsd">
|
xsi:noNamespaceSchemaLocation="wp_versions.xsd">
|
||||||
|
|
||||||
|
<file src="wp-includes/css/buttons-rtl.css">
|
||||||
|
<hash md5="fb062ed92b76638c161e80f4a5426586">
|
||||||
|
<version>3.8.1</version>
|
||||||
|
</hash>
|
||||||
|
</file>
|
||||||
|
|
||||||
<file src="wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin_src.js">
|
<file src="wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin_src.js">
|
||||||
<hash md5="4de9f6b1aafe968e8509ffe7ee9bc973">
|
<hash md5="4de9f6b1aafe968e8509ffe7ee9bc973">
|
||||||
<version>3.8</version>
|
<version>3.8</version>
|
||||||
|
|||||||
Binary file not shown.
@@ -176,7 +176,7 @@ end
|
|||||||
|
|
||||||
if @version
|
if @version
|
||||||
if version = Version.first(number: @version)
|
if version = Version.first(number: @version)
|
||||||
repository(:default).adapter.select('SELECT md5_hash, path_id, version_id, paths.value AS path FROM fingerprints LEFT JOIN paths ON path_id = id GROUP BY md5_hash ORDER BY path ASC').each do |f|
|
repository(:default).adapter.select('SELECT md5_hash, path_id, version_id, paths.value AS path FROM fingerprints LEFT JOIN paths ON path_id = id WHERE md5_hash NOT IN (SELECT DISTINCT md5_hash FROM fingerprints WHERE version_id != ?) ORDER BY path ASC', version.id).each do |f|
|
||||||
if f.version_id == version.id
|
if f.version_id == version.id
|
||||||
puts "#{f.md5_hash} #{f.path}"
|
puts "#{f.md5_hash} #{f.path}"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user