Improve roles and permissions

This commit is contained in:
Brian Miyaji
2014-06-20 14:26:14 +10:00
parent 3f3a7d4046
commit 6b6a665828
4 changed files with 60 additions and 8 deletions

View File

@@ -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_staff' ) ) ):
if ( in_array( $typenow, array( 'sp_event', 'sp_team', 'sp_player', 'sp_list', 'sp_staff' ) ) ):
switch ( $untranslated_text ):
case 'Author':
$translated_text = __( 'User', 'sportspress' );