Skip to content

Commit

Permalink
Another label update.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Jul 8, 2024
1 parent c385086 commit f619178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Taxonomy.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ public function __construct( string $taxonomy, array $object_type, array $args =
'back_to_items' => sprintf( '← Back to %s', $this->tax_plural ),
'item_link' => sprintf( '%s Link', $this->tax_singular ),
'item_link_description' => sprintf( 'A link to a %s.', $this->tax_singular_low ),
'template_name' => sprintf( '%s Archives', $this->tax_singular ),
'no_item' => sprintf( 'No %s', $this->tax_singular_low ), # Custom label
'filter_by' => sprintf( 'Filter by %s', $this->tax_singular_low ), # Custom label
];
Expand Down
1 change: 1 addition & 0 deletions tests/integration/SetupTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ public function testTaxonomyLabelsAreCorrect(): void {
'archives' => 'Foo Categorys Archives',
'item_link' => 'Foo Category Link',
'item_link_description' => 'A link to a foo category.',
'template_name' => 'Foo Category Archives',
);

if ( version_compare( $wp_version, '5.9.0', '>=' ) ) {
Expand Down

0 comments on commit f619178

Please sign in to comment.