Skip to content

Commit dc83214

Browse files
committed
IncludingFileSniff: Add get_parent_theme_file_path to safelist of path functions
1 parent 136e7bc commit dc83214

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WordPressVIPMinimum/Sniffs/Files/IncludingFileSniff.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class IncludingFileSniff extends AbstractFunctionRestrictionsSniff {
3131
'get_stylesheet_directory',
3232
'get_template_directory',
3333
'locate_template',
34+
'get_parent_theme_file_path'
3435
];
3536

3637
/**

0 commit comments

Comments
 (0)