Changeset 584143
- Timestamp:
- 08/11/2012 05:25:55 AM (14 years ago)
- Location:
- network-shared-posts/trunk
- Files:
-
- 2 edited
-
network-shared-posts.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
network-shared-posts/trunk/network-shared-posts.php
r581859 r584143 4 4 Plugin URI: http://code-ext.com/blog/2012/07/30/network-shared-posts/ 5 5 Description: Network Shared Posts plugin enables you to share posts over WP Multi Site network. You can display on any blog in your network the posts selected by taxanomy from any other blogs including that blog itself. 6 Version: 1.1. 06 Version: 1.1.1 7 7 Author: Code Ext 8 8 Author URI: https://code-ext.com … … 24 24 25 25 */ 26 if (realpath(__FILE__) == realpath($_SERVER['SCRIPT_FILENAME'])) 27 { 28 exit('Please don\'t access this file directly.'); 29 } 26 30 ############ SETUP #################### 27 31 add_action("plugins_loaded","net_shared_posts_init"); … … 158 162 } 159 163 160 $ids = ' AND ('. substr($ids,0,strlen($ids)-2).')';164 if ($ids) { $ids = ' AND ('. substr($ids,0,strlen($ids)-2).')'; } 161 165 $the_post = $wpdb->get_results( $wpdb->prepare("SELECT $PostsTable.ID, $PostsTable.post_title, $PostsTable.post_excerpt, $PostsTable.post_content, $PostsTable.post_author, $PostsTable.post_date, $PostsTable.guid, $BlogsTable.blog_id 162 166 FROM $PostsTable, $BlogsTable WHERE $BlogsTable.blog_id = $blog_id AND $PostsTable.post_status = 'publish' $ids AND $PostsTable.post_type = '$post_type' $old $limit"), ARRAY_A); -
network-shared-posts/trunk/readme.txt
r581823 r584143 45 45 46 46 == Changelog == 47 =1.1 = 48 * Added 'exclude_blog' argument 49 * The pagination was enchanced with native WordPress pagination. 50 * Added argument for pagination: 'end_size', 'mid_size', 'prev', 'next', 'prev_next' 51 47 =1.1.0 = <br /> 48 Added 'exclude_blog' argument <br /> 49 The pagination was enchanced with native WordPress pagination. <br /> 50 Added argument for pagination: 'end_size', 'mid_size', 'prev', 'next', 'prev_next' <br /> 51 =1.1.1=<br /> 52 Bug fixed.<br /> 52 53 53 54 == Upgrade Notice == 54 = 1.1. 0=55 In this version you can use 'exclude_blog' argument. The pagination was enchanced with native WordPress pagination. 55 = 1.1.1 = 56 Bug fixed.
Note: See TracChangeset
for help on using the changeset viewer.