Skip to content

Commit

Permalink
Merge pull request #121 from Emilia-Capital/jdv/fix-settings-link
Browse files Browse the repository at this point in the history
Fix settings link
  • Loading branch information
aristath committed Jan 23, 2024
2 parents 0e82eed + 5476290 commit f0340e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ public function filter_plugin_actions( $links, $file ): array {
/* Static so we don't call plugin_basename on every plugin row. */
static $this_plugin;
if ( ! $this_plugin ) {
$this_plugin = \plugin_basename( __FILE__ );
$this_plugin = \plugin_basename( EMILIA_COMMENT_HACKS_FILE );
}

if ( $file === $this_plugin ) {
Expand Down

0 comments on commit f0340e2

Please sign in to comment.