Code Duplication    Length = 5-5 lines in 2 locations

includes/acf/forms/post.php 1 location

@@ 300-304 (lines=5) @@
297
		
298
		
299
		// edit_url
300
		if( $field_group['ID'] && acf_current_user_can_admin() ) {
301
			
302
			$o['edit_url'] = admin_url('post.php?post=' . $field_group['ID'] . '&action=edit');
303
				
304
		}
305
		
306
			
307
		// load and render fields	

includes/acf/pro/admin/options-page.php 1 location

@@ 363-367 (lines=5) @@
360
		
361
		
362
		// edit_url
363
		if( $field_group['ID'] && acf_current_user_can_admin() ) {
364
			
365
			$o['edit_url'] = admin_url('post.php?post=' . $field_group['ID'] . '&action=edit');
366
				
367
		}
368
		
369
		
370
		// load fields