Skip to content

Commit

Permalink
Fix phpunit testcase issue with WP 6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
girishpanchal30 committed Jul 19, 2024
1 parent 92c625e commit 24b7d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/admin/feedzy-rss-feeds-import.php
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@ private function run_job( $job, $max ) {
$import_translation_lang = get_post_meta( $job->ID, 'import_auto_translation_lang', true );
$max = $import_feed_limit;

if ( metadata_exists( $import_post_type, $job->ID, 'import_post_status' ) ) {
if ( metadata_exists( 'post', $job->ID, 'import_post_status' ) ) {
$import_post_status = get_post_meta( $job->ID, 'import_post_status', true );
} else {
add_post_meta( $job->ID, 'import_post_status', 'publish' );
Expand Down

0 comments on commit 24b7d18

Please sign in to comment.