Update includes/class-scheduler.php
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
This commit is contained in:
parent
3c02744925
commit
6fce2c30d2
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class Scheduler {
|
||||||
if ( is_tombstone( $meta ) ) {
|
if ( is_tombstone( $meta ) ) {
|
||||||
$follower->delete();
|
$follower->delete();
|
||||||
} elseif ( empty( $meta ) || ! is_array( $meta ) || is_wp_error( $meta ) ) {
|
} elseif ( empty( $meta ) || ! is_array( $meta ) || is_wp_error( $meta ) ) {
|
||||||
if ( 5 >= $follower->count_errors() ) {
|
if ( 5 <= $follower->count_errors() ) {
|
||||||
$follower->delete();
|
$follower->delete();
|
||||||
} else {
|
} else {
|
||||||
$follower->set_error( $meta );
|
$follower->set_error( $meta );
|
||||||
|
|
Loading…
Reference in a new issue