|
@@ 528-531 (lines=4) @@
|
| 525 |
|
if ( false !== $importable_content && in_array( 'description',$importable_content ) ) { |
| 526 |
|
if ( isset( $data[0]['content']['extended_description'] ) ) { |
| 527 |
|
$data_post_content = $data[0]['content']['extended_description']; |
| 528 |
|
} elseif ( isset( $data[0]['content']['general_description'] ) ) { |
| 529 |
|
$data_post_content = $data[0]['content']['general_description']; |
| 530 |
|
$content_used_general_description = true; |
| 531 |
|
} elseif ( isset( $data[0]['content']['teaser_description'] ) ) { |
| 532 |
|
$data_post_content = $data[0]['content']['teaser_description']; |
| 533 |
|
} |
| 534 |
|
|
|
@@ 542-544 (lines=3) @@
|
| 539 |
|
if ( false !== $importable_content && in_array( 'excerpt',$importable_content ) ) { |
| 540 |
|
if ( isset( $data[0]['content']['teaser_description'] ) ) { |
| 541 |
|
$data_post_excerpt = $data[0]['content']['teaser_description']; |
| 542 |
|
} elseif ( isset( $data[0]['content']['general_description'] ) && false === $content_used_general_description ) { |
| 543 |
|
$data_post_excerpt = $data[0]['content']['general_description']; |
| 544 |
|
} |
| 545 |
|
|
| 546 |
|
$post['post_excerpt'] = $data_post_excerpt; |
| 547 |
|
} |