WordPress.org

Plugin Directory


Ignore:
Timestamp:
07/23/12 04:54:07 (21 months ago)
Author:
markjaquith
Message:

Support all post types. props DarkGhostHunter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ajax-comment-loading/trunk/ajax-comment-loading.php

    r569518 r575876  
    8989    public function ajax_handler() { 
    9090        global $post, $id, $cpage; 
    91         query_posts( array( 'p' => $_REQUEST['postid'] ) ); 
     91        query_posts( array( 'p' => $_REQUEST['postid'], 'post_type' => 'any' ) ); 
    9292        if ( have_posts() ) { 
    9393            set_query_var( 'cpage', intval( $_REQUEST['cpage'] ) ); 
Note: See TracChangeset for help on using the changeset viewer.