diff --git a/src/Assets/Config.php b/src/Assets/Config.php index 291188f..e946e9e 100644 --- a/src/Assets/Config.php +++ b/src/Assets/Config.php @@ -134,7 +134,7 @@ public static function set_path( string $path ) { $plugin_dir = WP_PLUGIN_DIR; if ( DIRECTORY_SEPARATOR !== '/' ) { - $plugin_dir = str_replace( '/', DIRECTORY_SEPARATOR, $plugin_dir ); + $plugin_dir = str_replace( DIRECTORY_SEPARATOR, '/', $plugin_dir ); } $plugins_content_dir_position = strpos( $path, $plugin_dir );