Skip to content

Commit

Permalink
fix: Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdiyazdani committed Mar 23, 2024
1 parent 73a5845 commit 9adeeb9
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions src/Enhancements/Meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@
*/
class Meta {

/**
* The plugin basename.
*
* @since 1.0.0
*
* @var string
*/
private $plugin_basename;

/**
* Setup hooks and filters.
*
Expand Down Expand Up @@ -83,11 +74,12 @@ public function meta_links( $links, $file ) {
*
* @since 1.0.0
*
* @param array $links Plugin table/item action links.
* @param array $links Plugin table/item action links.
* @param string $file Path to the plugin file relative to the plugins' directory.
*
* @return array
*/
public function action_links( $links ) {
public function action_links( $links, $file ) {

// Leave early if the filter is not for this plugin.
if ( ! $this->is_this_plugin( $file ) ) {
Expand Down

0 comments on commit 9adeeb9

Please sign in to comment.