Code Duplication    Length = 6-6 lines in 2 locations

classes/Pods.php 2 locations

@@ 4428-4433 (lines=6) @@
4425
				$ui['restrict'] = array( 'author_restrict' => $author_restrict );
4426
			}
4427
4428
			if ( ! in_array( 'export', $ui['actions_disabled'], true ) ) {
4429
				$ui['actions_bulk']['export'] = array(
4430
					'label' => __( 'Export', 'pods' ),
4431
					// callback not needed, Pods has this built-in for export.
4432
				);
4433
			}
4434
4435
			if ( ! in_array( 'delete', $ui['actions_disabled'], true ) ) {
4436
				$ui['actions_bulk']['delete'] = array(
@@ 4435-4440 (lines=6) @@
4432
				);
4433
			}
4434
4435
			if ( ! in_array( 'delete', $ui['actions_disabled'], true ) ) {
4436
				$ui['actions_bulk']['delete'] = array(
4437
					'label' => __( 'Delete', 'pods' ),
4438
					// callback not needed, Pods has this built-in for delete.
4439
				);
4440
			}
4441
4442
			$detail_url = pods_v( 'detail_url', $this->pod_data['options'] );
4443