@@ 538-540 (lines=3) @@ | ||
535 | ), $atts, 'testimonial' ); |
|
536 | ||
537 | // A little sanitization |
|
538 | if ( $atts['display_content'] && 'true' != $atts['display_content'] && 'full' != $atts['display_content'] ) { |
|
539 | $atts['display_content'] = false; |
|
540 | } |
|
541 | ||
542 | if ( $atts['image'] && 'true' != $atts['image'] ) { |
|
543 | $atts['image'] = false; |
@@ 588-590 (lines=3) @@ | ||
585 | $atts['display_author'] = false; |
|
586 | } |
|
587 | ||
588 | if ( $atts['display_content'] && 'true' != $atts['display_content'] && 'full' != $atts['display_content'] ) { |
|
589 | $atts['display_content'] = false; |
|
590 | } |
|
591 | ||
592 | if ( $atts['include_type'] ) { |
|
593 | $atts['include_type'] = explode( ',', str_replace( ' ', '', $atts['include_type'] ) ); |