| @@ 519-521 (lines=3) @@ | ||
| 516 | ), $atts, 'testimonial' ); |
|
| 517 | ||
| 518 | // A little sanitization |
|
| 519 | if ( $atts['display_content'] && 'true' != $atts['display_content'] && 'full' != $atts['display_content'] ) { |
|
| 520 | $atts['display_content'] = false; |
|
| 521 | } |
|
| 522 | ||
| 523 | if ( $atts['image'] && 'true' != $atts['image'] ) { |
|
| 524 | $atts['image'] = false; |
|
| @@ 427-429 (lines=3) @@ | ||
| 424 | $atts['display_author'] = false; |
|
| 425 | } |
|
| 426 | ||
| 427 | if ( $atts['display_content'] && 'true' != $atts['display_content'] && 'full' != $atts['display_content'] ) { |
|
| 428 | $atts['display_content'] = false; |
|
| 429 | } |
|
| 430 | ||
| 431 | if ( $atts['include_type'] ) { |
|
| 432 | $atts['include_type'] = explode( ',', str_replace( ' ', '', $atts['include_type'] ) ); |
|