Plugin Directory

Changeset 584143


Ignore:
Timestamp:
08/11/2012 05:25:55 AM (14 years ago)
Author:
codeext
Message:
 
Location:
network-shared-posts/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • network-shared-posts/trunk/network-shared-posts.php

    r581859 r584143  
    44Plugin URI: http://code-ext.com/blog/2012/07/30/network-shared-posts/
    55Description: 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.0
     6Version: 1.1.1
    77Author: Code Ext
    88Author URI: https://code-ext.com
     
    2424
    2525*/
     26if (realpath(__FILE__) == realpath($_SERVER['SCRIPT_FILENAME']))
     27{
     28    exit('Please don\'t access this file directly.');
     29}
    2630############  SETUP  ####################
    2731add_action("plugins_loaded","net_shared_posts_init");
     
    158162            }
    159163 
    160             $ids = ' AND  ('. substr($ids,0,strlen($ids)-2).')';
     164            if ($ids) { $ids = ' AND  ('. substr($ids,0,strlen($ids)-2).')'; }
    161165            $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
    162166            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  
    4545
    4646== 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 />
     49The 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 />
     52Bug fixed.<br />
    5253
    5354== 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 =
     56Bug fixed.
Note: See TracChangeset for help on using the changeset viewer.