Skip to content

Commit

Permalink
v4.0.2
Browse files Browse the repository at this point in the history
- Fixes a ImageMagick problem.
  • Loading branch information
javiercasares committed Oct 25, 2024
1 parent d11324e commit 523b5c8
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 24 deletions.
19 changes: 19 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
== Changelog ==

= [4.0.2] - 2024-10-25 =

**Fixed**

* ImageMagick: it crashes in some cases where the hosting does not have ImageMagick.

**Compatibility**

* WordPress: 4.1 - 6.7
* PHP: 5.6 - 8.4
* WP-CLI: 2.3.0 - 2.11.0

**Tests**

* PHP Coding Standards: 3.10.3
* WordPress Coding Standards: 3.1.0
* Plugin Check (PCP): 1.1.0
* SonarCloud Code Review

= [4.0.1] - 2024-10-04 =

**Fixed**
Expand Down
42 changes: 21 additions & 21 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Requires at least: 4.1
Tested up to: 6.7
Stable tag: 4.0.1
Requires PHP: 5.6
Version: 4.0.1
Version: 4.0.2
License: GPL-2.0-or-later
License URI: https://spdx.org/licenses/GPL-2.0-or-later.html

Expand Down Expand Up @@ -129,6 +129,25 @@ First of all, peace of mind. Investigate what the vulnerability is and, above al

== Changelog ==

= [4.0.2] - 2024-10-25 =

**Fixed**

* ImageMagick: it crashes in some cases where the hosting does not have ImageMagick.

**Compatibility**

* WordPress: 4.1 - 6.7
* PHP: 5.6 - 8.4
* WP-CLI: 2.3.0 - 2.11.0

**Tests**

* PHP Coding Standards: 3.10.3
* WordPress Coding Standards: 3.1.0
* Plugin Check (PCP): 1.1.0
* SonarCloud Code Review

= [4.0.1] - 2024-10-04 =

**Fixed**
Expand Down Expand Up @@ -199,25 +218,6 @@ First of all, peace of mind. Investigate what the vulnerability is and, above al
* Plugin Check (PCP): 1.1.0
* SonarCloud Code Review

= [3.4.1] - 2024-08-23 =

**Fixed**

* The number of vulnerabilities for core is incorrect.

**Compatibility**

* WordPress: 4.1 - 6.7
* PHP: 5.6 - 8.3
* WP-CLI: 2.3.0 - 2.11.0

**Tests**

* PHP Coding Standards: 3.10.2
* WordPress Coding Standards: 3.1.0
* Plugin Check (PCP): 1.0.2
* SonarCloud Code Review

= Previous versions =

If you want to see the full changelog, visit the [changelog.txt](https://plugins.trac.wordpress.org/browser/wpvulnerability/trunk/changelog.txt) file.
Expand All @@ -239,7 +239,7 @@ This plugin adheres to the following security measures and review protocols for

== Vulnerabilities ==

* No vulnerabilities have been published up to version 4.0.1.
* No vulnerabilities have been published up to version 4.0.2.

Found a security vulnerability? Please report it to us privately at the [WPVulnerability GitHub repository](https://github.com/javiercasares/wpvulnerability/security/advisories/new).

Expand Down
2 changes: 1 addition & 1 deletion wpvulnerability-general.php
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ function wpvulnerability_detect_imagemagick() {
$version = null;

// First method: use the Imagick extension of PHP.
if ( extension_loaded( 'imagick' ) ) {
if ( extension_loaded( 'imagick' ) && class_exists( 'Imagick' ) ) {
$imagick = new Imagick();
$version_info = $imagick->getVersion();

Expand Down
4 changes: 2 additions & 2 deletions wpvulnerability.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Receive information about possible vulnerabilities in your WordPress from WordPress Vulnerability Database API.
* Requires at least: 4.1
* Requires PHP: 5.6
* Version: 4.0.1
* Version: 4.0.2
* Author: Javier Casares
* Author URI: https://www.javiercasares.com/
* License: GPL-2.0-or-later
Expand All @@ -23,7 +23,7 @@
/**
* Set some constants that I can change in future versions.
*/
define( 'WPVULNERABILITY_PLUGIN_VERSION', '4.0.0' );
define( 'WPVULNERABILITY_PLUGIN_VERSION', '4.0.2' );
define( 'WPVULNERABILITY_API_HOST', 'https://www.wpvulnerability.net/' );
define( 'WPVULNERABILITY_CACHE_HOURS', 12 );

Expand Down

0 comments on commit 523b5c8

Please sign in to comment.