| @@ 539-541 (lines=3) @@ | ||
| 536 | ), $atts, 'testimonial' ); |
|
| 537 | ||
| 538 | // A little sanitization |
|
| 539 | if ( $atts['display_content'] && 'true' != $atts['display_content'] && 'full' != $atts['display_content'] ) { |
|
| 540 | $atts['display_content'] = false; |
|
| 541 | } |
|
| 542 | ||
| 543 | if ( $atts['image'] && 'true' != $atts['image'] ) { |
|
| 544 | $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'] ) ); |
|