Plugin Directory

Changeset 3365840


Ignore:
Timestamp:
09/22/2025 01:05:47 PM (6 months ago)
Author:
JavierCasares
Message:

[4.1.1] - 2025-09-22

Fixed

  • Fix an error with the version_compare() (thx to @konnektiv)

Compatibility

  • WordPress: 4.7 - 6.9
  • PHP: 5.6 - 8.4
  • WP-CLI: 2.3.0 - 2.11.0

Tests

  • PHP Coding Standards: 3.13.4
  • WordPress Coding Standards: 3.2.0
  • Plugin Check (PCP): 1.6.0
  • SonarCloud Code Review
  • Amplify Code Check
Location:
wpvulnerability
Files:
57 added
4 edited

Legend:

Unmodified
Added
Removed
  • wpvulnerability/trunk/changelog.txt

    r3362936 r3365840  
    11== Changelog ==
     2
     3= [4.1.1] - 2025-09-22 =
     4
     5**Fixed**
     6
     7* Fix an error with the version_compare() (thx to @konnektiv)
     8
     9**Compatibility**
     10
     11* WordPress: 4.7 - 6.9
     12* PHP: 5.6 - 8.4
     13* WP-CLI: 2.3.0 - 2.11.0
     14
     15**Tests**
     16
     17* PHP Coding Standards: 3.13.4
     18* WordPress Coding Standards: 3.2.0
     19* Plugin Check (PCP): 1.6.0
     20* SonarCloud Code Review
     21* Amplify Code Check
    222
    323= [4.1.0] - 2025-09-16 =
  • wpvulnerability/trunk/readme.txt

    r3362936 r3365840  
    44Requires at least: 4.7
    55Tested up to: 6.9
    6 Stable tag: 4.1.0
     6Stable tag: 4.1.1
    77Requires PHP: 5.6
    8 Version: 4.1.0
     8Version: 4.1.1
    99License: GPL-2.0-or-later
    1010License URI: https://spdx.org/licenses/GPL-2.0-or-later.html
     
    153153== Changelog ==
    154154
     155= [4.1.1] - 2025-09-22 =
     156
     157**Fixed**
     158
     159* Fix an error with the version_compare() (thx to @konnektiv)
     160
     161**Compatibility**
     162
     163* WordPress: 4.7 - 6.9
     164* PHP: 5.6 - 8.4
     165* WP-CLI: 2.3.0 - 2.11.0
     166
     167**Tests**
     168
     169* PHP Coding Standards: 3.13.4
     170* WordPress Coding Standards: 3.2.0
     171* Plugin Check (PCP): 1.6.0
     172* SonarCloud Code Review
     173* Amplify Code Check
     174
    155175= [4.1.0] - 2025-09-16 =
    156176
  • wpvulnerability/trunk/wpvulnerability-general.php

    r3362936 r3365840  
    12181218    foreach ( $response['data']['vulnerability'] as $v ) {
    12191219        // Check if the version falls within the specified min and max operator range.
    1220         if ( isset( $v['operator']['min_operator'], $v['operator']['max_operator'] ) ) {
     1220        if ( isset( $v['operator']['min_operator'], $v['operator']['max_operator'] ) &&
     1221             ! empty( $v['operator']['min_operator'] ) && ! empty( $v['operator']['max_operator'] ) ) {
    12211222            if ( version_compare( $version, $v['operator']['min_version'], $v['operator']['min_operator'] ) &&
    12221223                version_compare( $version, $v['operator']['max_version'], $v['operator']['max_operator'] ) ) {
  • wpvulnerability/trunk/wpvulnerability.php

    r3362936 r3365840  
    66 * Requires at least: 4.7
    77 * Requires PHP: 5.6
    8  * Version: 4.1.0
     8 * Version: 4.1.1
    99 * Author: Javier Casares
    1010 * Author URI: https://www.javiercasares.com/
     
    2424 * Set some constants that I can change in future versions.
    2525 */
    26 define( 'WPVULNERABILITY_PLUGIN_VERSION', '4.1.0' );
     26define( 'WPVULNERABILITY_PLUGIN_VERSION', '4.1.1' );
    2727define( 'WPVULNERABILITY_API_HOST', 'https://www.wpvulnerability.net/' );
    2828
Note: See TracChangeset for help on using the changeset viewer.