diff --git a/includes/sp-template-hooks.php b/includes/sp-template-hooks.php index d27de924..4b9af7b2 100644 --- a/includes/sp-template-hooks.php +++ b/includes/sp-template-hooks.php @@ -159,7 +159,7 @@ function sportspress_gettext( $translated_text, $untranslated_text, $domain ) { endswitch; endif; - if ( in_array( $typenow, array( 'sp_event', 'sp_team', 'sp_player', 'sp_list', 'sp_staff' ) ) ): + if ( is_sp_post_type( $typenow ) ): switch ( $untranslated_text ): case 'Author': $translated_text = __( 'User', 'sportspress' );