Skip to content

Commit

Permalink
Merge branch 'more-conditionals' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Jul 27, 2024
2 parents 0cf4798 + 2c2c40c commit 886ecbc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions collectors/conditionals.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public function process() {
'is_feed',
'is_front_page',
'is_home',
'is_login',
'is_main_network',
'is_main_site',
'is_month',
Expand Down
1 change: 1 addition & 0 deletions collectors/environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ public function process() {
'host' => null,
'OS' => null,
'arch' => null,
'basicauth' => wp_is_site_protected_by_basic_auth() ? 'true' : 'false',
);

if ( function_exists( 'php_uname' ) ) {
Expand Down
1 change: 1 addition & 0 deletions data/environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class QM_Data_Environment extends QM_Data {
* host: string|null,
* OS: string|null,
* arch: string|null,
* basicauth: 'true'|'false',
* }>
*/
public $server;
Expand Down
1 change: 1 addition & 0 deletions output/html/environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ public function output() {
/* translators: OS stands for Operating System */
'OS' => __( 'OS', 'query-monitor' ),
'arch' => __( 'Architecture', 'query-monitor' ),
'basicauth' => __( 'Basic Auth', 'query-monitor' ),
);

echo '<table>';
Expand Down

0 comments on commit 886ecbc

Please sign in to comment.