| @@ 523-525 (lines=3) @@ | ||
| 520 | $atts['display_author'] = false; |
|
| 521 | } |
|
| 522 | ||
| 523 | if ( $atts['display_content'] && 'true' != $atts['display_content'] && 'full' != $atts['display_content'] ) { |
|
| 524 | $atts['display_content'] = false; |
|
| 525 | } |
|
| 526 | ||
| 527 | if ( $atts['include_type'] ) { |
|
| 528 | $atts['include_type'] = explode( ',', str_replace( ' ', '', $atts['include_type'] ) ); |
|
| @@ 543-545 (lines=3) @@ | ||
| 540 | ), $atts, 'testimonial' ); |
|
| 541 | ||
| 542 | // A little sanitization |
|
| 543 | if ( $atts['display_content'] && 'true' != $atts['display_content'] && 'full' != $atts['display_content'] ) { |
|
| 544 | $atts['display_content'] = false; |
|
| 545 | } |
|
| 546 | ||
| 547 | if ( $atts['image'] && 'true' != $atts['image'] ) { |
|
| 548 | $atts['image'] = false; |
|