Plugin Directory

Changeset 731612


Ignore:
Timestamp:
06/25/2013 05:12:42 PM (13 years ago)
Author:
mburtis
Message:

fixed number of posts bug
updated version info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • custom-csv-exporter/trunk/functions/exporter.php

    r722653 r731612  
    1717    $ccsve_generate_custom_fields = get_option('ccsve_custom_fields');
    1818    // Query the DB for all instances of the custom post type
    19     $ccsve_generate_query = get_posts(array('post_type' => $ccsve_generate_post_type, 'post_status' => 'publish'));
     19    $ccsve_generate_query = get_posts(array('post_type' => $ccsve_generate_post_type, 'post_status' => 'publish', 'posts_per_page' => -1));
    2020    // Count the number of instances of the custom post type
    2121    $ccsve_count_posts = count($ccsve_generate_query); 
Note: See TracChangeset for help on using the changeset viewer.