mirror of
https://github.com/10h30/wp-strava.git
synced 2026-07-18 22:23:45 +09:00
Fixed athlete addition in WP 5.3;
Bumped version Updated changelog Added FAQ about adding/removing at the same time
This commit is contained in:
@@ -52,7 +52,7 @@ abstract class WPStrava_Auth {
|
||||
|
||||
$input = filter_input_array( INPUT_POST, $input_args );
|
||||
|
||||
if ( $settings->ids_empty( $input['strava_id'] ) ) {
|
||||
if ( is_array( $input['strava_id'] ) && $settings->ids_empty( $input['strava_id'] ) ) {
|
||||
return array();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user