Changeset 1671805
- Timestamp:
- 06/06/2017 01:28:51 PM (9 years ago)
- Location:
- thrivehive/trunk
- Files:
-
- 3 edited
-
controllers/core.php (modified) (3 diffs)
-
models/post.php (modified) (2 diffs)
-
thrivehive.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
thrivehive/trunk/controllers/core.php
r1659430 r1671805 85 85 { 86 86 $query = " 87 SELECT DISTINCT p.ID, p.post_title, p.post_type, p.post_status 87 SELECT DISTINCT p.ID, p.post_title, p.post_type, p.post_status, p.post_date 88 88 FROM $wpdb->posts p 89 89 LEFT JOIN $wpdb->postmeta m ON p.ID = m.post_id AND m.meta_key LIKE 'th_extra_type' … … 107 107 { 108 108 $query = " 109 SELECT p.ID, p.post_title, p.post_type, p.post_status 109 SELECT p.ID, p.post_title, p.post_type, p.post_status, p.post_date 110 110 FROM $wpdb->posts p 111 111 JOIN $wpdb->postmeta m ON p.ID = m.post_id … … 141 141 $retpost['id'] = $retpost['ID']; 142 142 $retpost['pendingComments'] = $comments; 143 $retpost['date'] = $retpost['post_date']; 143 144 unset($retpost['post_status']); 144 145 unset($retpost['post_type']); -
thrivehive/trunk/models/post.php
r1652990 r1671805 130 130 if (!empty($values['datetime'])) { 131 131 $wp_values['post_date'] = $values['datetime']; 132 $wp_values['post_date_gmt'] = $values['datetime']; 132 133 } 133 134 … … 233 234 $this->set_content_value(); 234 235 $this->set_value('excerpt', ''); 235 $this->set_value('date', get_the_time($date_format ));236 $this->set_value('date', get_the_time($date_format, $this->id)); 236 237 $this->set_value('modified', date($date_format, strtotime($wp_post->post_modified))); 237 238 $this->set_categories_value(); -
thrivehive/trunk/thrivehive.php
r1659430 r1671805 5 5 *Plugin URI: http://thrivehive.com 6 6 *Description: A plugin to include ThriveHive's tracking code 7 *Version: 1.13 27 *Version: 1.133 8 8 *Author: ThriveHive 9 9 *Author URI: http://thrivehive.com
Note: See TracChangeset
for help on using the changeset viewer.