Skip to content

Commit

Permalink
Use config_get_global for html_valid_tags
Browse files Browse the repository at this point in the history
Issue #23626
  • Loading branch information
atrol committed Nov 13, 2017
1 parent 1152693 commit d35d801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/string_api.php
Expand Up @@ -591,7 +591,7 @@ function string_restore_valid_html_tags( $p_string, $p_multiline = true ) {
global $g_cache_html_valid_tags_single_line, $g_cache_html_valid_tags;

if( is_blank( ( $p_multiline ? $g_cache_html_valid_tags : $g_cache_html_valid_tags_single_line ) ) ) {
$t_html_valid_tags = config_get( $p_multiline ? 'html_valid_tags' : 'html_valid_tags_single_line' );
$t_html_valid_tags = config_get_global( $p_multiline ? 'html_valid_tags' : 'html_valid_tags_single_line' );

if( OFF === $t_html_valid_tags || is_blank( $t_html_valid_tags ) ) {
return $p_string;
Expand Down

0 comments on commit d35d801

Please sign in to comment.