diff --git a/Puc/v4p3/DebugBar/Extension.php b/Puc/v4p3/DebugBar/Extension.php index 0d33e6c..c912586 100644 --- a/Puc/v4p3/DebugBar/Extension.php +++ b/Puc/v4p3/DebugBar/Extension.php @@ -90,11 +90,11 @@ if ( !class_exists('Puc_v4p3_DebugBar_Extension', false) ): $absolutePath = realpath(dirname(__FILE__) . '/../../../' . ltrim($filePath, '/')); //Where is the library located inside the WordPress directory structure? - $absolutePath = Puc_v4_Factory::normalizePath($absolutePath); + $absolutePath = Puc_v4p3_Factory::normalizePath($absolutePath); - $pluginDir = Puc_v4_Factory::normalizePath(WP_PLUGIN_DIR); - $muPluginDir = Puc_v4_Factory::normalizePath(WPMU_PLUGIN_DIR); - $themeDir = Puc_v4_Factory::normalizePath(get_theme_root()); + $pluginDir = Puc_v4p3_Factory::normalizePath(WP_PLUGIN_DIR); + $muPluginDir = Puc_v4p3_Factory::normalizePath(WPMU_PLUGIN_DIR); + $themeDir = Puc_v4p3_Factory::normalizePath(get_theme_root()); if ( (strpos($absolutePath, $pluginDir) === 0) || (strpos($absolutePath, $muPluginDir) === 0) ) { //It's part of a plugin. diff --git a/Puc/v4/Factory.php b/Puc/v4p3/Factory.php similarity index 99% rename from Puc/v4/Factory.php rename to Puc/v4p3/Factory.php index 56a3351..1155e8a 100644 --- a/Puc/v4/Factory.php +++ b/Puc/v4p3/Factory.php @@ -1,5 +1,5 @@