We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07282fd commit 13969c2Copy full SHA for 13969c2
config.json
@@ -1,5 +1,5 @@
1
{
2
- "toolkit-version": "0.3.3",
+ "toolkit-version": "0.3.4",
3
"prefix": "wptk",
4
"object_cache": {
5
"group": "default_cache",
core/ToolKit.php
@@ -99,7 +99,7 @@ protected function get_current_plugin_meta( $type = ConfigRegistry ) {
99
foreach( get_plugins() as $key => $plugin ) {
100
101
if( strstr( $key, trailingslashit( $plugin_data['slug'] ) ) ) {
102
- $parts = explode( DIRECTORY_SEPARATOR, $key );
+ $parts = explode( '/', $key );
103
$plugin_data['identifier'] = $key;
104
$plugin_data['file'] = end( $parts );
105
$plugin_data['meta'] = get_plugin_data( $plugin_data['path'] . $plugin_data['file'] );
0 commit comments