Improve roles and permissions
This commit is contained in:
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user