Change all mentions of competition to league

This commit is contained in:
Brian Miyaji
2017-11-16 12:07:05 +11:00
parent e5b16848d4
commit 41d4d69e57
16 changed files with 2702 additions and 1772 deletions

View File

@@ -329,7 +329,7 @@ class SP_Admin_Setup_Wizard {
}
update_option( 'sportspress_sport', $sport );
// Insert competition
// Insert league
$league = sanitize_text_field( $_POST['league'] );
if ( ! is_string( $league ) || empty( $league ) ) {
$league = _x( 'Primary League', 'example', 'sportspress' );