Code Duplication    Length = 6-6 lines in 2 locations

geodirectory-functions/privacy/class-geodir-privacy-exporters.php 2 locations

@@ 118-123 (lines=6) @@
115
				'value' => $default_category,
116
			);
117
		}
118
		if ( ! empty( $post_tags ) ) {
119
			$personal_data[] = array(
120
				'name'  => __( 'Post Tags', 'geodirectory' ),
121
				'value' => implode( ', ', $post_tags ),
122
			);
123
		}
124
		$personal_data[] = array(
125
			'name'  => __( 'Post URL', 'geodirectory' ),
126
			'value' => get_permalink( $gd_post->ID ),
@@ 299-304 (lines=6) @@
296
					break;
297
			}
298
299
			if ( ! empty( $name ) && $value !== '' ) {
300
				$personal_data[] = array(
301
					'name'  => __( $name, 'geodirectory' ),
302
					'value' => $value,
303
				);
304
			}
305
		}
306
307
		/**