Skip to content

Commit

Permalink
points types screen: pass points type array to add_meta_boxes action
Browse files Browse the repository at this point in the history
Improves compatibility with other plugins that hook into this action
and expect two arguments to always be passed.

Fixes #765
  • Loading branch information
JDGrimes committed May 7, 2018
1 parent 7777c90 commit 8425220
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ public function load() {
$this->current_points_type = $tab;
}

do_action( 'add_meta_boxes', $this->id );
do_action( 'add_meta_boxes', $this->id, $this->current_points_type );

$this->tabs = $tabs;
}
Expand Down

0 comments on commit 8425220

Please sign in to comment.