We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f52903 commit 9735c9aCopy full SHA for 9735c9a
src/compatibility/blocksy/index.php
@@ -155,8 +155,6 @@ function( $file ) {
155
$styles_from_files = '';
156
foreach ( $blocksy_static_files as $file ) {
157
if ( isset( $file['url'] ) ) {
158
- $file_path = get_template_directory() . $file['url'];
159
-
160
// Normalize and validate the path to prevent traversal
161
$file_url = ltrim( $file['url'], '/' );
162
$file_path = get_template_directory() . '/' . $file_url;
0 commit comments