Permalink
Browse files

Add currently active theme to debug info

  • Loading branch information...
1 parent b826c13 commit 721ad0d700944008d5f1cb2c3527867b178df134 @Shelob9 Shelob9 committed Feb 26, 2014
Showing with 5 additions and 0 deletions.
  1. +5 −0 ui/admin/settings-tools.php
@@ -58,6 +58,10 @@
$plugins[ $plugin_data[ 'Name' ] ] = $plugin_data[ 'Version' ];
}
+ $stylesheet = get_stylesheet();
+ $theme = wp_get_theme( $stylesheet );
+ $theme_name = $theme->get( 'Name' );
+
$versions = array(
'WordPress Version' => $wp,
'PHP Version' => $php,
@@ -75,6 +79,7 @@
'Pods Install Location' => PODS_DIR,
'Pods Tableless Mode Activated' => ( ( pods_tableless() ) ? 'Yes' : 'No' ),
'Pods Light Mode Activated' => ( ( defined( 'PODS_LIGHT' ) && PODS_LIGHT ) ? 'Yes' : 'No' ),
+ 'Currently Active Theme' => $theme_name,
'Currently Active Plugins' => $plugins
);

0 comments on commit 721ad0d

Please sign in to comment.