[wp-trac] [WordPress Trac] #13239: Filter locate_template template_names variable
WordPress Trac
noreply at wordpress.org
Tue Jan 10 16:32:44 UTC 2017
#13239: Filter locate_template template_names variable
-------------------------+-----------------------------
Reporter: chrisjean | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Themes | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+-----------------------------
Comment (by tifosi):
With the work in 4.7 on #18302 it's a good time for this to be looked
into. The new filepath functions: get_theme_file_path() and
get_parent_theme_file_path() were introduced in 4.7 after my patch, so may
be more contemporary functions to use than get_template_directory.
Allowing for more subtle custom folder structures would avoid the
excessive butchering such as roots.io.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/13239#comment:111>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list