Plugin Directory

Changeset 1016162


Ignore:
Timestamp:
10/29/2014 08:02:21 PM (11 years ago)
Author:
dpe415
Message:

(PHP warning) Bug fix for get posts by ID.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • flexible-posts-widget/trunk/flexible-posts-widget.php

    r1016154 r1016162  
    203203            // Setup the query
    204204            $args['post__in']   = $pids;
    205             $args['post_type']  = $this->posttypes;
     205            $args['post_type']  = 'any';
    206206       
    207207        // Else get posts by post type and tax/term
Note: See TracChangeset for help on using the changeset viewer.