Skip to content

Commit

Permalink
category_ids should be initiated as an array
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Aug 10, 2023
1 parent 0458d95 commit 5a2b652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-to-twitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ function wpt_post_info( $post_ID ) {
$encoding = 'UTF-8';
}
$post = get_post( $post_ID );
$category_ids = false;
$category_ids = array();
$values = array();
$values['id'] = $post_ID;
// get post author.
Expand Down

0 comments on commit 5a2b652

Please sign in to comment.