From 5e0e317caa7c533c02049dcaf88e1ac340f16ecd Mon Sep 17 00:00:00 2001 From: Kurtis Shaner Date: Sun, 20 Feb 2022 10:50:58 -0800 Subject: [PATCH] Add get_theme_file_path to allowed path functions --- WordPressVIPMinimum/Sniffs/Files/IncludingFileSniff.php | 1 + 1 file changed, 1 insertion(+) diff --git a/WordPressVIPMinimum/Sniffs/Files/IncludingFileSniff.php b/WordPressVIPMinimum/Sniffs/Files/IncludingFileSniff.php index 4cbbfb12..bf18a028 100644 --- a/WordPressVIPMinimum/Sniffs/Files/IncludingFileSniff.php +++ b/WordPressVIPMinimum/Sniffs/Files/IncludingFileSniff.php @@ -31,6 +31,7 @@ class IncludingFileSniff extends AbstractFunctionRestrictionsSniff { 'get_template_directory', 'locate_template', 'get_parent_theme_file_path', + 'get_theme_file_path', ]; /**