Skip to content

object: abort queued transitions if current transition failed.

Currently, the queued object transitions are aborted only when we use the wp_object_abort_activation() API. Therefore, if an object activation failed because a subclass used wp_transition_return_error(), the queued transitions are not aborted (they are advanced).

This MR improves the object abort activation logic to also abort queued transitions if wp_transition_return_error() is used.

Edited by Julian Bouzas

Merge request reports

Loading