Skip to content

Commit 9735c9a

Browse files
committed
remove redundant code
1 parent 5f52903 commit 9735c9a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/compatibility/blocksy/index.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,6 @@ function( $file ) {
155155
$styles_from_files = '';
156156
foreach ( $blocksy_static_files as $file ) {
157157
if ( isset( $file['url'] ) ) {
158-
$file_path = get_template_directory() . $file['url'];
159-
160158
// Normalize and validate the path to prevent traversal
161159
$file_url = ltrim( $file['url'], '/' );
162160
$file_path = get_template_directory() . '/' . $file_url;

0 commit comments

Comments
 (0)