diff --git a/includes/class-wp-push-syndication-server.php b/includes/class-wp-push-syndication-server.php index 46dd4f258d0079151f6f4469f37f2b15f438320f..209c71d00a957d312abece2b433421ce35a0e35a 100644 --- a/includes/class-wp-push-syndication-server.php +++ b/includes/class-wp-push-syndication-server.php @@ -996,7 +996,7 @@ class WP_Push_Syndication_Server { return array( 'state' => 'new' ); foreach( $slave_post_states as $state => $sites ) { - if( array_key_exists( $site_ID, $sites ) && !empty( $sites[ $site_ID ]['ext_ID'] ) ) { + if( isset( $sites[ $site_ID ] ) && is_array( $sites[ $site_ID ] ) && empty( $sites[ $site_ID ]['ext_ID'] ) ) { if( $client->is_post_exists( $sites[ $site_ID ]['ext_ID'] ) ) { $info = array( 'state' => $state,