mesh icon indicating copy to clipboard operation
mesh copied to clipboard

Fallback when Mesh template not found

Open strarsis opened this issue 7 years ago • 2 comments
trafficstars

When having a Mesh template selected (from theme) and the Mesh template (file) becomes unavailable, Mesh should, similar to WordPress on plugins page, show a warning that the Mesh template file cannot be found. Also many PHP warnings/notices appear when the template isn't there, some extra checks should also alleviate this.

strarsis avatar Jun 13 '18 23:06 strarsis

I think this is a good idea. So in the scenario described. You made a template, selected the template then deleted the template?

aaronware avatar Jun 15 '18 19:06 aaronware

Yes, I selected a Mesh template from theme, then renamed its template file (which is basically the same for the plugin as deleting it).

strarsis avatar Jun 15 '18 21:06 strarsis