Merge pull request #3424 from ChromeOrange/master

Added theme info to System Status
This commit is contained in:
Mike Jolley 2013-07-15 09:16:26 -07:00
commit ba96fc3369
1 changed files with 28 additions and 0 deletions

View File

@ -407,6 +407,34 @@ function woocommerce_status_report() {
</tr> </tr>
</tbody> </tbody>
<thead>
<tr>
<th colspan="2"><?php _e( 'Theme', 'woocommerce' ); ?></th>
</tr>
</thead>
<tbody>
<tr>
<td><?php _e( 'Theme Name', 'woocommerce' ); ?>:</td>
<td><?php
$active_theme = wp_get_theme();
echo $active_theme->Name;
?></td>
</tr>
<tr>
<td><?php _e( 'Theme Version', 'woocommerce' ); ?>:</td>
<td><?php
echo $active_theme->Version;
?></td>
</tr>
<tr>
<td><?php _e( 'Author URL', 'woocommerce' ); ?>:</td>
<td><?php
echo $active_theme->{'Author URI'};
?></td>
</tr>
</tbody>
<thead> <thead>
<tr> <tr>
<th colspan="2"><?php _e( 'Templates', 'woocommerce' ); ?></th> <th colspan="2"><?php _e( 'Templates', 'woocommerce' ); ?></th>