Closed gwin closed 4 years ago
Currently, the form name passed to adverts_gallery_upload() via POST is hardcoded as "advert" it needs to be passed as a variable so other forms will be able to have file upload fields as well.
Requires passing a $form argument to call_user_func( adverts_field_get_renderer($field) ... ).
Affected plugins:
Currently, the form name passed to adverts_gallery_upload() via POST is hardcoded as "advert" it needs to be passed as a variable so other forms will be able to have file upload fields as well.