From da353de6eeb9da3b51c2be8c409a7c6be788214b Mon Sep 17 00:00:00 2001 From: Russell Fair Date: Wed, 3 May 2017 17:26:51 +0000 Subject: [PATCH] update inline documentation to reflect correct theme file locations --- resources/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/functions.php b/resources/functions.php index a92aa275af..7c579f5dba 100644 --- a/resources/functions.php +++ b/resources/functions.php @@ -59,12 +59,12 @@ /** * Here's what's happening with these hooks: - * 1. WordPress initially detects theme in themes/sage + * 1. WordPress initially detects theme in themes/sage/resources * 2. Upon activation, we tell WordPress that the theme is actually in themes/sage/resources/views - * 3. When we call get_template_directory() or get_template_directory_uri(), we point it back to themes/sage + * 3. When we call get_template_directory() or get_template_directory_uri(), we point it back to themes/sage/resources * * We do this so that the Template Hierarchy will look in themes/sage/resources/views for core WordPress themes - * But functions.php, style.css, and index.php are all still located in themes/sage + * But functions.php, style.css, and index.php are all still located in themes/sage/resources * * This is not compatible with the WordPress Customizer theme preview prior to theme activation *