Skip to content

Commit ea916f7

Browse files
chore: clarify that save_form expects slashed content
1 parent 0904084 commit ea916f7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

includes/forms/class-admin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ public function process_add_form()
184184
* Saves a form to the database
185185
*
186186
* @param int $form_id
187+
* @param array $data The form data. Expects slashed content.
187188
* @return int
188189
*/
189190
private function save_form($form_id, array $data)

0 commit comments

Comments
 (0)