Update WordPress to 5.2
This commit is contained in:
parent
489b5a5914
commit
e00f87f2f5
599 changed files with 119573 additions and 55990 deletions
|
|
@ -99,7 +99,7 @@ function wp_import_handle_upload() {
|
|||
|
||||
// Construct the object array
|
||||
$object = array(
|
||||
'post_title' => basename( $upload['file'] ),
|
||||
'post_title' => wp_basename( $upload['file'] ),
|
||||
'post_content' => $upload['url'],
|
||||
'post_mime_type' => $upload['type'],
|
||||
'guid' => $upload['url'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue