This is a fix for #1241, where view templates which have been associated with non-deletable pages will not appear in view template lists for new pages, or moving pages
Removes the condition that prevents view templates from being available to associate with new or edited pages.
Changes proposed in this pull request
Remove the 'is associated with a non-deletable page' condition from the new_page_templates method
Guidance to review
This may be considered a breaking change, since existing view templates would need to update their exclude_from array in order to be hidden in the view templates list
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Context
This is a fix for #1241, where view templates which have been associated with non-deletable pages will not appear in view template lists for new pages, or moving pages
Removes the condition that prevents view templates from being available to associate with new or edited pages.
Changes proposed in this pull request
Remove the 'is associated with a non-deletable page' condition from the
new_page_templates
methodGuidance to review
This may be considered a breaking change, since existing view templates would need to update their
exclude_from
array in order to be hidden in the view templates list