Skip to content

Commit

Permalink
Fix merge issue with duplicate post
Browse files Browse the repository at this point in the history
  • Loading branch information
jom committed Jul 11, 2018
1 parent b55a749 commit 382a5a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion wp-job-manager-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1425,7 +1425,6 @@ function job_manager_duplicate_listing( $post_id ) {
$duplicate_ignore_keys = apply_filters( 'job_manager_duplicate_listing_ignore_keys', $default_duplicate_ignore_keys, true );

foreach ( $post_meta as $meta_key => $meta_value ) {
$post_meta = wp_list_pluck( $post_meta, 'meta_value', 'meta_key' );
if ( in_array( $meta_key, $duplicate_ignore_keys, true ) ) {
continue;
}
Expand Down

0 comments on commit 382a5a0

Please sign in to comment.