| @@ 522-524 (lines=3) @@ | ||
| 519 | ), $atts, 'testimonial' ); |
|
| 520 | ||
| 521 | // A little sanitization |
|
| 522 | if ( $atts['display_content'] && 'true' != $atts['display_content'] && 'full' != $atts['display_content'] ) { |
|
| 523 | $atts['display_content'] = false; |
|
| 524 | } |
|
| 525 | ||
| 526 | if ( $atts['image'] && 'true' != $atts['image'] ) { |
|
| 527 | $atts['image'] = false; |
|
| @@ 444-446 (lines=3) @@ | ||
| 441 | $atts['display_author'] = false; |
|
| 442 | } |
|
| 443 | ||
| 444 | if ( $atts['display_content'] && 'true' != $atts['display_content'] && 'full' != $atts['display_content'] ) { |
|
| 445 | $atts['display_content'] = false; |
|
| 446 | } |
|
| 447 | ||
| 448 | if ( $atts['include_type'] ) { |
|
| 449 | $atts['include_type'] = explode( ',', str_replace( ' ', '', $atts['include_type'] ) ); |
|