Skip to content

Conversation

@palmiak
Copy link

@palmiak palmiak commented Oct 8, 2019

It should fix #190 - It imports post_excerpt and author

@mAAdhaTTah
Copy link
Owner

Thanks! I'm just back from vacation but will take a look at this hopefully soon.

if ( array_key_exists( 'post_excerpt', $meta ) ) {
$args['post_excerpt'] = $meta['post_excerpt'];
unset( $meta['post_excerpt'] );
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should just use excerpt here rather than post_excerpt, similar to author instead of post_author.

@mAAdhaTTah
Copy link
Owner

Thanks for the PR! One minor change then should be good to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not all default meta is handled on import

2 participants