Skip to content

Commit d6bfdca

Browse files
committed
Remove debugging assertions
1 parent 2869880 commit d6bfdca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-includes/script-loader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3030,10 +3030,10 @@ function wp_get_inline_script_tag( $data, $attributes = array() ) {
30303030
$processor->next_tag();
30313031
foreach ( $attributes as $name => $value ) {
30323032
if ( is_string( $value ) || true === $value ) {
3033-
assert( $processor->set_attribute( $name, $value ) );
3033+
$processor->set_attribute( $name, $value );
30343034
}
30353035
}
3036-
assert( $processor->set_modifiable_text( $data ) );
3036+
$processor->set_modifiable_text( $data );
30373037
return $processor->get_updated_html();
30383038
}
30393039

0 commit comments

Comments
 (0)