Skip to content

Commit

Permalink
Capitalize Movie taxonomy term.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeherve committed Jan 23, 2017
1 parent 9f149ee commit 73d1bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core.traktivity.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ public function publish_event() {
// Let's start with movies.
if ( 'movie' === $event->type ) {

$taxonomies['trakt_type'] = esc_html__( 'movie', 'traktivity' );
$taxonomies['trakt_type'] = esc_html__( 'Movie', 'traktivity' );
// Let's capitalize genres.
$taxonomies['trakt_genre'] = array_map( 'ucwords', $event->movie->genres );
$taxonomies['trakt_year'] = intval( $event->year );
Expand Down

0 comments on commit 73d1bd9

Please sign in to comment.