1

Duplicate forms

  • Live

Nick

Add possibility to duplicate forms

A

Activiteit Nieuwste / Oudste

A

When duplicating a form I have found that the slug of the old post gets copied (with a -2 appended to it). I think the more natural behaviour should be that the slug should be regenerated from the title. This is a simple fix in the Admin.php model, on line 789, just replace '$oldPost->post_name' with 'sanitize_title($title)'.


A

Correction: This is not as simple as stated above, as this is executed before a new title is given.


Nick

Status gewijzigd in: Live

Nick

Status gewijzigd in: In progress