Skip to content

Commit

Permalink
Merge pull request #321 from kevinpapst/fix-post
Browse files Browse the repository at this point in the history
fixed passing the Post object instead of the id
  • Loading branch information
benbalter authored Oct 16, 2024
2 parents 43bd53c + 644939c commit dc7ad42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jekyll-exporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ function convert_posts() {
$post = get_post( $post_id );
setup_postdata( $post );

$meta = array_merge( $this->convert_meta( $post ), $this->convert_terms( $post_id ) );
$meta = array_merge( $this->convert_meta( $post ), $this->convert_terms( $post ) );

// remove falsy values, which just add clutter.
foreach ( $meta as $key => $value ) {
Expand Down

0 comments on commit dc7ad42

Please sign in to comment.