Skip to content

Commit

Permalink
The plugin file is always stream.php
Browse files Browse the repository at this point in the history
  • Loading branch information
tharsheblows committed Aug 7, 2024
1 parent a0bcd4f commit 07f08e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/class-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ private function locate_plugin() {
$dir_url = trailingslashit( plugins_url( '', __DIR__ ) );
$dir_path = plugin_dir_path( __DIR__ );
$dir_basename = basename( $dir_path );
$plugin_basename = trailingslashit( $dir_basename ) . $dir_basename . '.php';
$plugin_basename = trailingslashit( $dir_basename ) . 'stream.php';

return compact( 'dir_url', 'dir_path', 'dir_basename', 'plugin_basename' );
}
Expand Down

0 comments on commit 07f08e8

Please sign in to comment.