Skip to content

Commit

Permalink
Work in progress.
Browse files Browse the repository at this point in the history
  • Loading branch information
dev4press committed Oct 15, 2023
1 parent c3eef3e commit cb84fda
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
6 changes: 5 additions & 1 deletion core/main/Info.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,11 @@ public static function apache_modules_list() : array {

public static function apache_version() : string {
if ( Info::is_apache() && function_exists( 'apache_get_version' ) ) {
return apache_get_version();
$version = apache_get_version();

if ( is_string( $version ) ) {
return $version;
}
}

return '';
Expand Down
2 changes: 1 addition & 1 deletion core/panel/Queries.php
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ private function _parse_types( $query, $qi ) {
}

private function _prepare_library() {
$list = array( '41', '42', '43', '44' );
$list = array( '41', '42', '43', '44', '45' );

foreach ( $list as $code ) {
$class = 'Dev4Press\v' . $code . '\Core\Helpers\DB';
Expand Down
6 changes: 3 additions & 3 deletions debugpress.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

/**
* Plugin Name: DebugPress
* Plugin Name: DebugPress: Popup debugger for WordPress
* Plugin URI: https://debug.press/
* Description: DebugPress is an easy-to-use plugin implementing popup for debugging and profiling currently loaded WordPress powered website page with support for intercepting AJAX requests.
* Author: Milan Petrovic
* Author URI: https://www.dev4press.com/
* Text Domain: debugpress
* Version: 3.4
* Version: 3.4.1
* Requires at least: 5.5
* Tested up to: 6.3
* Requires PHP: 7.3
Expand All @@ -33,7 +33,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*/

const DEBUGPRESS_VERSION = '3.4';
const DEBUGPRESS_VERSION = '3.4.1';
const DEBUGPRESS_FILE = __FILE__;
const DEBUGPRESS_PLUGIN_PATH = __DIR__ . '/';

Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
=== DebugPress ===
=== DebugPress: Popup debugger for WordPress ===
Contributors: GDragoN
Donate link: https://buymeacoffee.com/millan
Tags: dev4press, debugger, debug, debugging, development, profiler, queries, query monitor, ajax monitor
Stable tag: 3.4
Stable tag: 3.4.1
Requires at least: 5.5
Tested up to: 6.3
Requires PHP: 7.3
Expand Down Expand Up @@ -112,6 +112,9 @@ Yes. Once the popup is open, you will find the Layout icon next to the button to
Open the WordPress 'Settings' menu, there you will find 'DebugPress' panel.

== Changelog ==
= 3.4.1 (2023.10.15) =
* Fix: Function `apache_get_version` not working on every server

= 3.4 (2023.10.06) =
* New: Updated some plugin system requirements
* Edit: KINT now loads own helper d() and s() functions
Expand Down

0 comments on commit cb84fda

Please sign in to comment.