Fixes #1260
This commit is contained in:
5
spec/fixtures/db/dynamic_finders.yml
vendored
5
spec/fixtures/db/dynamic_finders.yml
vendored
@@ -25024,6 +25024,11 @@ plugins:
|
|||||||
Comment:
|
Comment:
|
||||||
xpath: //comment()[contains(., "WP Rocket")]
|
xpath: //comment()[contains(., "WP Rocket")]
|
||||||
pattern: !ruby/regexp /Performance optimized by WP Rocket/i
|
pattern: !ruby/regexp /Performance optimized by WP Rocket/i
|
||||||
|
TranslationFile:
|
||||||
|
class: BodyPattern
|
||||||
|
path: languages/rocket.pot
|
||||||
|
pattern: !ruby/regexp '/Project\-Id\-Version: WP Rocket (?<v>\d+\.[\.\d]+)/i'
|
||||||
|
version: true
|
||||||
wp-roster:
|
wp-roster:
|
||||||
QueryParameter:
|
QueryParameter:
|
||||||
files:
|
files:
|
||||||
|
|||||||
6
spec/fixtures/dynamic_finders/expected.yml
vendored
6
spec/fixtures/dynamic_finders/expected.yml
vendored
@@ -31479,6 +31479,12 @@ plugins:
|
|||||||
wp-rocket:
|
wp-rocket:
|
||||||
Comment:
|
Comment:
|
||||||
found_by: Comment (Passive Detection)
|
found_by: Comment (Passive Detection)
|
||||||
|
TranslationFile:
|
||||||
|
number: 3.2
|
||||||
|
found_by: Translation File (Aggressive Detection)
|
||||||
|
interesting_entries:
|
||||||
|
- 'http://wp.lab/wp-content/plugins/wp-rocket/languages/rocket.pot,
|
||||||
|
Match: ''Project-Id-Version: WP Rocket 3.2'''
|
||||||
wp-roster:
|
wp-roster:
|
||||||
QueryParameter:
|
QueryParameter:
|
||||||
number: '1.4'
|
number: '1.4'
|
||||||
|
|||||||
2529
spec/fixtures/dynamic_finders/plugin_version/wp-rocket/translation_file/languages/rocket.pot
vendored
Normal file
2529
spec/fixtures/dynamic_finders/plugin_version/wp-rocket/translation_file/languages/rocket.pot
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user