| @@ 445-447 (lines=3) @@ | ||
| 442 | $atts['display_author'] = false; |
|
| 443 | } |
|
| 444 | ||
| 445 | if ( $atts['display_content'] && 'true' != $atts['display_content'] && 'full' != $atts['display_content'] ) { |
|
| 446 | $atts['display_content'] = false; |
|
| 447 | } |
|
| 448 | ||
| 449 | if ( $atts['include_type'] ) { |
|
| 450 | $atts['include_type'] = explode( ',', str_replace( ' ', '', $atts['include_type'] ) ); |
|
| @@ 538-540 (lines=3) @@ | ||
| 535 | ), $atts, 'testimonial' ); |
|
| 536 | ||
| 537 | // A little sanitization |
|
| 538 | if ( $atts['display_content'] && 'true' != $atts['display_content'] && 'full' != $atts['display_content'] ) { |
|
| 539 | $atts['display_content'] = false; |
|
| 540 | } |
|
| 541 | ||
| 542 | if ( $atts['image'] && 'true' != $atts['image'] ) { |
|
| 543 | $atts['image'] = false; |
|