Changeset 6026 for trunk/wp-app.php
- Timestamp:
- 09/03/2007 11:32:58 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-app.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-app.php
r6025 r6026 136 136 // authenticate regardless of the operation and set the current 137 137 // user. each handler will decide if auth is required or not. 138 $this->authenticate(); 138 $this->authenticate(); 139 139 $u = wp_get_current_user(); 140 140 if(!isset($u) || $u->ID == 0) { … … 323 323 $pubtimes = $this->get_publish_time($entry); 324 324 $post_date = $pubtimes[0]; 325 $post_date_gmt = $pubtimes[1]; 325 $post_date_gmt = $pubtimes[1]; 326 326 327 327 // let's not go backwards and make something draft again. … … 722 722 $prev_page = ($page - 1) < 1 ? NULL : $page - 1; 723 723 $last_page = ((int)$last_page == 1 || (int)$last_page == 0) ? NULL : (int) $last_page; 724 $self_page = $page > 1 ? $page : NULL; 724 $self_page = $page > 1 ? $page : NULL; 725 725 ?><feed xmlns="<?php echo $this->ATOM_NS ?>" xmlns:app="<?php echo $this->ATOMPUB_NS ?>" xml:lang="<?php echo get_option('rss_language'); ?>"> 726 726 <id><?php $this->the_entries_url() ?></id> … … 1123 1123 1124 1124 return strtotime($match[1] . " " . $match[2] . " " . $match[3]); 1125 } 1125 } 1126 1126 1127 1127 function get_publish_time($entry) {
Note: See TracChangeset
for help on using the changeset viewer.