Changeset 6635
- Timestamp:
- 01/18/2008 07:59:09 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-app.php
r6551 r6635 261 261 $post_content = $entry->content[1]; 262 262 $post_excerpt = $entry->summary[1]; 263 $pubtimes = $this->get_publish_time($entry );263 $pubtimes = $this->get_publish_time($entry->published); 264 264 $post_date = $pubtimes[0]; 265 265 $post_date_gmt = $pubtimes[1]; … … 333 333 $post_content = $parsed->content[1]; 334 334 $post_excerpt = $parsed->summary[1]; 335 $pubtimes = $this->get_publish_time($ entry);335 $pubtimes = $this->get_publish_time($parsed->published); 336 336 $post_date = $pubtimes[0]; 337 337 $post_date_gmt = $pubtimes[1]; … … 579 579 580 580 $ID = $entry['ID']; 581 $pubtimes = $this->get_publish_time($entry );581 $pubtimes = $this->get_publish_time($entry->published); 582 582 $post_date = $pubtimes[0]; 583 583 $post_date_gmt = $pubtimes[1]; … … 1099 1099 } 1100 1100 1101 function get_publish_time($ entry) {1102 1103 $pubtime = $this->rfc3339_str2time($ entry->published);1101 function get_publish_time($published) { 1102 1103 $pubtime = $this->rfc3339_str2time($published); 1104 1104 1105 1105 if(!$pubtime) {
Note: See TracChangeset
for help on using the changeset viewer.