Changeset 502221
- Timestamp:
- 02/08/2012 01:54:34 PM (14 years ago)
- Location:
- nextapp/trunk
- Files:
-
- 1 added
- 3 edited
-
index.php (modified) (2 diffs)
-
modules/Page.php (added)
-
modules/Post.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nextapp/trunk/index.php
r482710 r502221 6 6 Plugin Name: NextApp 7 7 Description: NextApp interface is blogging web site to provide mobile phone client used to access the blog classification, the article and comment data interface. 8 Version: 1.0. 28 Version: 1.0.3 9 9 Author: Daye 10 10 License: GPLv2 or later … … 23 23 */ 24 24 25 define('NEXTAPP_VERSION', '1.0. 2');25 define('NEXTAPP_VERSION', '1.0.3'); 26 26 define('NEXTAPP_PATH', dirname(__FILE__)); 27 27 -
nextapp/trunk/modules/Post.php
r482710 r502221 9 9 public function detailAction() 10 10 { 11 global $post, $wp_query; 12 $wp_query->is_single = true; 13 11 14 $postId = (int)$this->getParam('post', 0); 12 15 $post = get_post($postId); … … 52 55 $node->pubDate = $post->post_date; 53 56 $node->commentCount = $post->comment_count; 57 58 # previous and next 59 if ($previons = get_previous_post()) { 60 $node->previous = $previons->ID; 61 } 62 if ($next = get_next_post()) { 63 $node->next = $next->ID; 64 } 65 $wp_query->is_single = false; 54 66 55 67 if (!empty($tags)) { -
nextapp/trunk/readme.txt
r482710 r502221 4 4 Requires at least: 2.7 5 5 Tested up to: 3.3 6 Stable tag: 1.0. 26 Stable tag: 1.0.3 7 7 8 8 NextApp wordpress plugin provides an interface for mobile client to access the blog categories, articles and comments. … … 25 25 == Changelog == 26 26 27 = 1.0.3 = 28 * Add previouse and next post support 29 * Add get pages support 30 27 31 = 1.0.2 = 28 32 * Add support to WordPress 2.7.
Note: See TracChangeset
for help on using the changeset viewer.