Final changes
This commit is contained in:
@@ -61,6 +61,10 @@ class SubmitEntryStatus extends Component
|
||||
}
|
||||
}
|
||||
|
||||
if( $this->isEdit && $this->entry->state === 'pending' && isset( $states['published'] ) ) {
|
||||
unset( $states['published'] );
|
||||
}
|
||||
|
||||
return $states;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user