Fix the import form not working
When I tried to import a file, it says "No file selected". As I debugged and found that the form tag doesn't have the enctype attribute which requires to file handling.
This commit is contained in:
parent
4ec8489105
commit
2dad984781
|
|
@ -275,7 +275,7 @@ class acf_admin_tools {
|
|||
|
||||
|
||||
?>
|
||||
<form method="post">
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<?php $tool->html(); ?>
|
||||
<?php acf_nonce_input( $tool->name ); ?>
|
||||
</form>
|
||||
|
|
@ -351,4 +351,4 @@ function acf_get_admin_tool_url( $tool = '' ) {
|
|||
}
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue