Skip to content

Commit

Permalink
Fix wrong static::SLUG call
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljullu committed Feb 27, 2024
1 parent 713c43a commit 866c9b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ abstract protected function is_active_template();
*/
public function page_template_hierarchy( $templates ) {
if ( $this->is_active_template() ) {
array_unshift( $templates, static::SLUG );
array_unshift( $templates, self::SLUG );
}
return $templates;
}
Expand Down

0 comments on commit 866c9b9

Please sign in to comment.