Permalink
Browse files

Bug fix: Show a few plugins as active when they're actually active.

Closes #30
  • Loading branch information...
1 parent ec161cd commit c2760b805a0a56d02504e291df8d683fd5889bae @danielbachhuber danielbachhuber committed Jan 29, 2013
Showing with 6 additions and 5 deletions.
  1. +5 −5 developer.php
  2. +1 −0 readme.txt
View
@@ -139,27 +139,27 @@ public function admin_init() {
'rtl-tester' => array(
'project_type' => 'wporg-theme',
'name' => esc_html__( 'RTL Tester', 'a8c-developer' ),
- 'active' => false,
+ 'active' => class_exists( 'RTLTester' ),
),
'regenerate-thumbnails' => array(
'project_type' => 'wporg-theme',
'name' => esc_html__( 'Regenerate Thumbnails', 'a8c-developer' ),
- 'active' => false,
+ 'active' => class_exists( 'RegenerateThumbnails' ),
),
'simply-show-ids' => array(
'project_type' => 'wporg-theme',
'name' => esc_html__( 'Simply Show IDs', 'a8c-developer' ),
- 'active' => false,
+ 'active' => function_exists( 'ssid_add' ),
),
'theme-test-drive' => array(
'project_type' => 'wporg-theme',
'name' => esc_html__( 'Theme Test Drive', 'a8c-developer' ),
- 'active' => false,
+ 'active' => function_exists( 'TTD_filters' ),
),
'theme-check' => array(
'project_type' => 'wporg-theme',
'name' => esc_html__( 'Theme Check', 'a8c-developer' ),
- 'active' => false,
+ 'active' => function_exists( 'tc_add_headers' ),
),
);
View
@@ -43,6 +43,7 @@ Because you haven't asked one yet.
= 1.1.2 (????-??-??) =
* French localization. Props [fxbenard](https://github.com/fxbenard)
* Replaced Reveal IDs with Simply Show IDs. The former never installed.
+* Bug fix: Show a few plugins as active when they're actually active.
= 1.1.1 (2012-08-30) =

0 comments on commit c2760b8

Please sign in to comment.