Skip to content
Snippets Groups Projects
  • George Kiagiadakis's avatar
    441a778b
    session-item: introduce a rollback() virtual method · 441a778b
    George Kiagiadakis authored
    + replace calling execute_step(..., STEP_ERROR) with rollback
    + implement deactivate internally using rollback
    
    This unifies deactivation steps, which are common between deactivate()
    and calling execute_step() with WP_TRANSITION_STEP_ERROR at the
    end of a failed activation transition.
    441a778b
    History
    session-item: introduce a rollback() virtual method
    George Kiagiadakis authored
    + replace calling execute_step(..., STEP_ERROR) with rollback
    + implement deactivate internally using rollback
    
    This unifies deactivation steps, which are common between deactivate()
    and calling execute_step() with WP_TRANSITION_STEP_ERROR at the
    end of a failed activation transition.