[wp-trac] [WordPress Trac] #22145: Add warning when duplicate page Template Names are present
WordPress Trac
noreply at wordpress.org
Mon Sep 29 10:26:00 UTC 2014
#22145: Add warning when duplicate page Template Names are present
-------------------------+------------------------------
Reporter: johncoswell | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: trivial | Resolution:
Keywords: | Focuses: template
-------------------------+------------------------------
Comment (by terminalpixel):
Replying to [comment:3 RDall]:
They would see the PHP file names not the template name which is included
in a comment in a file.
But I agree this would mainly be for developers so perhaps it could check
for `WP_DEBUG` being set.
> While I do like this idea aren't most themes are produced by people with
FTP/SSH access. Wouldn't they see the template names in the list of
templates file before they went into set the template in the page editor.
>
> We would also give the user control to change file names which might be
too much control for the user IMHO.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22145#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list