Attachment metadata is stored in the summary field in AtomPub requests. Fixes #9148 props josephscott.

git-svn-id: https://develop.svn.wordpress.org/trunk@10751 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2009-03-09 22:35:20 +00:00
parent c4a79bf9fb
commit 00c4cb1765

View File

@ -705,7 +705,7 @@ EOD;
extract($entry); extract($entry);
$post_title = $parsed->title[1]; $post_title = $parsed->title[1];
$post_content = $parsed->content[1]; $post_content = $parsed->summary[1];
$pubtimes = $this->get_publish_time($parsed->updated); $pubtimes = $this->get_publish_time($parsed->updated);
$post_modified = $pubtimes[0]; $post_modified = $pubtimes[0];
$post_modified_gmt = $pubtimes[1]; $post_modified_gmt = $pubtimes[1];