fix: Update GitHubUpdater path to account for Windows-based paths

This commit is contained in:
Keith Solomon
2025-03-29 13:18:47 -05:00
parent c297c27ba2
commit 758b464121

View File

@@ -557,7 +557,7 @@ class ContentFilterPlugin {
}
new ContentFilterPlugin();
$gitHubUpdater = new GitHubUpdater(__FILE__);
$gitHubUpdater = new GitHubUpdater(plugin_dir_path(__FILE__).'resource-filter.php');
$gitHubUpdater->setChangelog('CHANGELOG.md');
$gitHubUpdater->setPluginIcon('assets/icon-256x256.png');
$gitHubUpdater->setPluginBannerLarge('assets/banner.jpg');