| @@ 525-527 (lines=3) @@ | ||
| 522 | $atts['display_author'] = false; |
|
| 523 | } |
|
| 524 | ||
| 525 | if ( $atts['display_content'] && 'true' != $atts['display_content'] && 'full' != $atts['display_content'] ) { |
|
| 526 | $atts['display_content'] = false; |
|
| 527 | } |
|
| 528 | ||
| 529 | if ( $atts['include_type'] ) { |
|
| 530 | $atts['include_type'] = explode( ',', str_replace( ' ', '', $atts['include_type'] ) ); |
|
| @@ 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; |
|