Skip to content

Commit

Permalink
[IMPROVEMENT] Report added WP siteurl const log
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-hai committed Mar 13, 2018
1 parent d6ac166 commit d98f721
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion litespeed-cache/admin/litespeed-cache-admin-report.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,18 @@ public function generate_environment_report($options = null)
'home_url' => home_url(),
'locale' => get_locale(),
'active theme' => $active_theme,
'active plugins' => $active_plugins,
) ;

$consts = array(
'WP_SITEURL',
'WP_HOME',
) ;
foreach ( $consts as $v ) {
$extras[ $v ] = constant( $v ) ;
}

$extras[ 'active plugins' ] = $active_plugins ;

if ( is_null($options) ) {
$options = LiteSpeed_Cache_Config::get_instance()->get_options() ;
}
Expand Down

0 comments on commit d98f721

Please sign in to comment.