Ticket #5680: wp-app-published.patch

File wp-app-published.patch, 444 bytes (added by tvachon, 4 years ago)

Patch to fix what looks like a typo preventing <published> handling on PUT

  • wp-app.php

     
    332333                $post_title = $parsed->title[1]; 
    333334                $post_content = $parsed->content[1]; 
    334335                $post_excerpt = $parsed->summary[1]; 
    335                 $pubtimes = $this->get_publish_time($entry); 
     336                $pubtimes = $this->get_publish_time($parsed); 
    336337                $post_date = $pubtimes[0]; 
    337338                $post_date_gmt = $pubtimes[1];