Skip to content

Commit

Permalink
Merge pull request #139 from nlemoine/fix-get-authors-term-field
Browse files Browse the repository at this point in the history
Fix get author term field
  • Loading branch information
roborourke authored Jul 25, 2024
2 parents 3df960b + c54b139 commit 1502d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function get_author_ids( WP_Post $post ) : array {
}

return array_map( function ( WP_Term $term ) : int {
return intval( $term->name );
return intval( $term->slug );
}, $authors );
}

Expand Down

0 comments on commit 1502d6e

Please sign in to comment.