|
@@ 508-511 (lines=4) @@
|
| 505 |
|
if ( ! empty( $importable_content ) && in_array( 'description', $importable_content ) ) { |
| 506 |
|
if ( isset( $data[0]['content']['extended_description'] ) ) { |
| 507 |
|
$data_post_content = $data[0]['content']['extended_description']; |
| 508 |
|
} elseif ( isset( $data[0]['content']['general_description'] ) ) { |
| 509 |
|
$data_post_content = $data[0]['content']['general_description']; |
| 510 |
|
$content_used_general_description = true; |
| 511 |
|
} elseif ( isset( $data[0]['content']['teaser_description'] ) ) { |
| 512 |
|
$data_post_content = $data[0]['content']['teaser_description']; |
| 513 |
|
} |
| 514 |
|
|
|
@@ 522-524 (lines=3) @@
|
| 519 |
|
if ( ! empty( $importable_content ) && in_array( 'excerpt', $importable_content ) ) { |
| 520 |
|
if ( isset( $data[0]['content']['teaser_description'] ) ) { |
| 521 |
|
$data_post_excerpt = $data[0]['content']['teaser_description']; |
| 522 |
|
} elseif ( isset( $data[0]['content']['general_description'] ) && false === $content_used_general_description ) { |
| 523 |
|
$data_post_excerpt = $data[0]['content']['general_description']; |
| 524 |
|
} |
| 525 |
|
|
| 526 |
|
$post['post_excerpt'] = $data_post_excerpt; |
| 527 |
|
} |