Calculate sum/average statistics, delete duplicate configs, sort player list by number
This commit is contained in:
@@ -11,7 +11,9 @@ function sportspress_sanitize_title( $title ) {
|
||||
|
||||
if ( ! $key ) $key = $_POST['post_title'];
|
||||
|
||||
$title = sportspress_get_eos_safe_slug( $key, sportspress_array_value( $_POST, 'ID', 'var' ) );
|
||||
$id = sportspress_array_value( $_POST, 'post_ID', 'var' );
|
||||
|
||||
$title = sportspress_get_eos_safe_slug( $key, $id );
|
||||
|
||||
elseif ( isset( $_POST ) && array_key_exists( 'post_type', $_POST ) && $_POST['post_type'] == 'sp_event' ):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user