Skip to content

Commit 52b5eb7

Browse files
committed
Merge branch 'instructor-analytics-free' into instructor-home-functionalities-free
2 parents 5364461 + 1eac128 commit 52b5eb7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

components/BaseComponent.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,6 @@ protected function render_attributes(): void {
138138
* @return string Escaped string.
139139
*/
140140
protected function esc( $value, $esc_fn = 'esc_html' ): string {
141-
142-
if ( 'no_esc' === $esc_fn ) {
143-
return $value;
144-
}
145-
146141
return call_user_func( $esc_fn, $value );
147142
}
148143

0 commit comments

Comments
 (0)