Skip to content

Commit

Permalink
[fix] Apply metabox context (i.e. location) from inheriting post type…
Browse files Browse the repository at this point in the history
… class
  • Loading branch information
MrMediocresTestAccount committed Oct 21, 2022
1 parent 46b66c1 commit 4709092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CustomPostType/PostType.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ protected function registerMetabox(): void
static::$prettyName . ' Details',
[$this, 'renderMetabox'],
static::$postTypeName,
self::$context,
static::$context,
'low',
);
}
Expand Down

0 comments on commit 4709092

Please sign in to comment.