Fix wrong static::SLUG call
This commit is contained in:
parent
713c43afdb
commit
866c9b913a
|
@ -42,7 +42,7 @@ abstract class AbstractPageTemplate extends AbstractTemplate {
|
|||
*/
|
||||
public function page_template_hierarchy( $templates ) {
|
||||
if ( $this->is_active_template() ) {
|
||||
array_unshift( $templates, static::SLUG );
|
||||
array_unshift( $templates, self::SLUG );
|
||||
}
|
||||
return $templates;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue