Skip to content

Commit 8235f2c

Browse files
committed
Use model built label when creating labels
1 parent b092f11 commit 8235f2c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Models/PostType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ public function has_meta(): bool {
8484
*/
8585
protected function get_default_labels(): array {
8686

87-
$many_lower = strtolower( $this->many );
88-
$one_lower = strtolower( $this->one );
87+
$many_lower = $this->many_low;
88+
$one_lower = $this->one_low;
8989

9090
$labels = [
9191
'name' => $this->many,

0 commit comments

Comments
 (0)