[wp-trac] [WordPress Trac] #13239: Filter locate_template template_names variable
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 11 16:01:50 UTC 2011
#13239: Filter locate_template template_names variable
---------------------------------+-----------------------------
Reporter: chrisbliss18 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Themes | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch 3.3-early |
---------------------------------+-----------------------------
Comment (by coffee2code):
At @chrisbliss18's suggestion, using the more robust `path_is_absolute()`
to check for an absolute path in 13239.c2c.4.diff. That should address
the concern of absolute path detection under Windows as well.
(On a related note, I proposed #17754 to improve `path_is_absolute()`
since it could see more use with this patch applied.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13239#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list