Skip to content

Commit 6d656e6

Browse files
committed
Work in progress.
1 parent 380c0c6 commit 6d656e6

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Changelog
44

5+
### Version: 3.9.2 (2024.08.23)
6+
7+
* **fix** one more issue with the access to OPCache status information
8+
59
### Version: 3.9.1 (2024.08.19)
610

711
* **fix** problem with the Tracker when closure makes a call

core/main/OPCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function init() {
3232
if ( $this->has_opcache() ) {
3333
$this->status = 'enabled';
3434

35-
if ( function_exists( 'opcache_get_configuration' ) ) {
35+
if ( function_exists( 'opcache_get_status' ) && function_exists( 'opcache_get_configuration' ) ) {
3636
$this->status = 'restricted';
3737

3838
$_status = opcache_get_status();

debugpress.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Author: Milan Petrovic
77
* Author URI: https://www.dev4press.com/
88
* Text Domain: debugpress
9-
* Version: 3.9.1
9+
* Version: 3.9.2
1010
* Requires at least: 5.5
1111
* Tested up to: 6.6
1212
* Requires PHP: 7.4
@@ -33,7 +33,7 @@
3333
* along with this program. If not, see <http://www.gnu.org/licenses/>
3434
*/
3535

36-
const DEBUGPRESS_VERSION = '3.9.1';
36+
const DEBUGPRESS_VERSION = '3.9.2';
3737
const DEBUGPRESS_FILE = __FILE__;
3838
const DEBUGPRESS_PLUGIN_PATH = __DIR__ . '/';
3939

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Contributors: GDragoN
33
Donate link: https://buymeacoffee.com/millan
44
Tags: dev4press, query monitor, debugging, development, ajax monitor
5-
Stable tag: 3.9.1
5+
Stable tag: 3.9.2
66
Requires at least: 5.5
77
Tested up to: 6.6
88
Requires PHP: 7.3
@@ -118,6 +118,9 @@ Yes. Once the popup is open, you will find the Layout icon next to the button to
118118
Open the WordPress 'Settings' menu, there you will find 'DebugPress' panel.
119119

120120
== Changelog ==
121+
= 3.9.2 (2024.08.23) =
122+
* Fix: one more issue with the access to OPCache status information
123+
121124
= 3.9.1 (2024.08.19) =
122125
* Fix: problem with the Tracker when closure makes a call [#08](https://github.com/dev4press/debugpress/issues/8)
123126

0 commit comments

Comments
 (0)