Changeset 1642514
- Timestamp:
- 04/21/2017 03:23:28 PM (8 years ago)
- Location:
- vulnerable-plugin-checker/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
vulnerable-plugin-checker/trunk/readme.txt
r1558465 r1642514 4 4 Requires at least: 4.0 5 5 Tested up to: 4.7 6 Stable tag: 0.3. 96 Stable tag: 0.3.10 7 7 License: GPLv2 8 8 License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html … … 43 43 44 44 == Changelog == 45 46 = 0.3.10 = 47 48 - Fixed bug where unpatched vulnerabilities were ignored (thank you @pluginvulnerabilities for finding the bug) 45 49 46 50 = 0.3.9 = -
vulnerable-plugin-checker/trunk/todo.txt
r1552788 r1642514 3 3 check past plugin vulnerabilities 4 4 error message if email fails to send automatically 5 Translate settings page title 5 translate settings page title 6 show only vulnerabilities that effect the current version installed 6 7 7 8 check past vulnerabilities button while searching plugins -
vulnerable-plugin-checker/trunk/vulnerable-plugin-checker.php
r1558465 r1642514 151 151 // if plugin fix is greater than current version, assume it could be vulnerable 152 152 $plugin['is_known_vulnerable'] = 'false'; 153 if ( version_compare( $vulnerability['fixed_in'], $plugin['Version'] ) > 0 ) {153 if ( null == $vulnerability['fixed_in'] || version_compare( $vulnerability['fixed_in'], $plugin['Version'] ) > 0 ) { 154 154 $plugin['is_known_vulnerable'] = 'true'; 155 155 } … … 188 188 // if plugin fix is greater than current version, assume it could be vulnerable 189 189 $plugin['is_known_vulnerable'] = 'false'; 190 if ( version_compare( $vulnerability->fixed_in, $plugin['Version'] ) > 0 ) {190 if ( null == $vulnerability->fixed_in || version_compare( $vulnerability->fixed_in, $plugin['Version'] ) > 0 ) { 191 191 $plugin['is_known_vulnerable'] = 'true'; 192 192 }
Note: See TracChangeset
for help on using the changeset viewer.