You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is similar to an earlier fixed issue: #302
pw-region elements were fixed but the same kind of fix is needed for pw-optional elements. Empty pw-optional elements still need to be removed even if a template file does not contain any region markup.
Steps to reproduce the issue
Include an empty element in _main.php that has the pw-optional attribute.
Do not include any region markup in the basic-page.php template file.
Check the rendered source code for any basic-page and note that the empty element with the pw-optional attribute is present.