| @@ -1565,12 +1565,12 @@ | ||
| 1565 | 1565 | $shape_path = Shapes::get_shape_path( $settings[ $base_setting_key ], $negative ); |
| 1566 | 1566 | if ( ! is_file( $shape_path ) || ! is_readable( $shape_path ) ) { |
| 1567 | 1567 | return; |
| 1568 | 1568 | } |
| 1569 | + | |
| 1569 | 1570 | ?> |
| 1570 | 1571 | <div class="elementor-shape elementor-shape-<?php echo esc_attr( $side ); ?>" data-negative="<?php |
| 1571 | - // PHPCS - the variable $negative is getting a setting value with a strict structure. | |
| 1572 | - echo var_export( $negative ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped | |
| 1572 | + Utils::print_unescaped_internal_string( $negative ? 'true' : 'false' ); | |
| 1573 | 1573 | ?>"> |
| 1574 | 1574 | <?php |
| 1575 | 1575 | // PHPCS - The file content is being read from a strict file path structure. |
| 1576 | 1576 | echo file_get_contents( $shape_path ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |