Skip to content

Commit

Permalink
Cleaned the title of list of taxonomy terms.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-KM committed Nov 27, 2016
1 parent 1d1fd8f commit ce5a538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/admin/taxonomy-term/list.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
$total = count($terms);
$title = __('%s taxonomy terms (%s)', $taxonomy->name, $total ?: __('none'));
echo head(array(
'title' => __('%s taxonomy terms (%s)',
$taxonomy->name, empty($total) ? __('none') : ($total == 1 ? __('%d term', $total) : __('%d terms', $total))),
'title' => $title,
));
echo flash(); ?>

Expand Down

0 comments on commit ce5a538

Please sign in to comment.