[wp-trac] [WordPress Trac] #18151: Option to return string false for locate_template()
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 18 04:41:27 UTC 2011
#18151: Option to return string false for locate_template()
-------------------------+------------------------------
Reporter: griffinjt | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Template | Version: 3.2.1
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------+------------------------------
Changes (by griffinjt):
* status: closed => reopened
* resolution: duplicate =>
Comment:
I'm going to re-open for the fact that while your solution would work, it
would require more code than should be necessary to achieve a seemingly
simple solution. Maybe you could add this parameter into your solution? I
just hate the thought of having to add in all that code to edit the $load
return when you could just add "false" to the accepted parameters of the
function.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18151#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list