Changeset 1829626
- Timestamp:
- 02/26/2018 09:55:03 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugin-security-scanner/trunk/plugin-security-scanner.php
r1829614 r1829626 226 226 continue; 227 227 } 228 if ('1' == $options['ignore_nofix'] && $vuln->fixed_in === null) { 229 continue; 230 } 228 231 $vulnerabilities[$version_raw][] = $vuln; 229 232 } … … 250 253 if ( isset( $plugin->$plugin_key->vulnerabilities ) ) { 251 254 foreach ( $plugin->$plugin_key->vulnerabilities as $vuln ) { 255 if ('1' == $options['ignore_nofix'] && $vuln->fixed_in === null) { 256 continue; 257 } 258 252 259 if ( ! isset($vuln->fixed_in) || 253 260 version_compare( $details['Version'], $vuln->fixed_in, '<' ) ) { … … 277 284 if ( isset( $theme->$theme_key->vulnerabilities ) ) { 278 285 foreach ( $theme->$theme_key->vulnerabilities as $vuln ) { 286 if ('1' == $options['ignore_nofix'] && $vuln->fixed_in === null) { 287 continue; 288 } 289 279 290 if ( ! isset($vuln->fixed_in) || 280 291 version_compare( $details['Version'], $vuln->fixed_in, '<' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.