current behavior:
thisguythatgirl changes from basic to plus.
she selects component as her layout.
she downgrades from plus to basic.
she keeps component as her layout.
future behavior:
thisguythatgirl changes from basic to plus.
she selects component as her layout.
she downgrades from plus to basic.
her layout gets reverted to the default (generator).
the above behavior applies when the user is using a layout layer or a theme layer that is not available to their account level.
current behavior:
thisguythatgirl changes from basic to paid.
she creates a custom layout layer and selects a style using that layout.
she downgrades from paid to basic.
she keeps her custom layout.
future behavior:
same.
function is sub revert_style in the following
diff.
first part of
this diff shows how/where the function is called.