@@ -21,7 +21,7 @@ |
||
21 | 21 | * @param mixed $value The value to sanitize. |
22 | 22 | * @param mixed $setting The setting for which the sanitizing is occurring. |
23 | 23 | * @return mixed The sanitized value. |
24 | - */ |
|
24 | + */ |
|
25 | 25 | function lsx_sanitize_choices( $value, $setting ) { |
26 | 26 | if ( is_object( $setting ) ) { |
27 | 27 | $setting = $setting->id; |
@@ -591,8 +591,8 @@ |
||
591 | 591 | function lsx_strip_excerpt( $content ) { |
592 | 592 | if ( is_search() || is_archive() || ( is_blog_installed() && ! is_single() && ! is_page() ) ) { |
593 | 593 | $content = strip_shortcodes($content); |
594 | - $content = str_replace(']]>', ']]>', $content); |
|
595 | - $content = strip_tags($content); |
|
594 | + $content = str_replace(']]>', ']]>', $content); |
|
595 | + $content = strip_tags($content); |
|
596 | 596 | } |
597 | 597 | return $content; |
598 | 598 | } |