Plugin Directory

Changeset 1282519


Ignore:
Timestamp:
11/09/2015 01:11:32 PM (10 years ago)
Author:
CodeBrothers
Message:

Minor fix in upload limit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • awesome-photo-gallery/trunk/admin/class-upload.php

    r1282502 r1282519  
    7171     */
    7272    private function get_all_photo_albums() {
    73         return get_posts( array(
    74             'post_type' => 'apg_photo_albums',
    75             'post_status' => 'draft, publish',
    76         ) );
     73        return get_posts( array(
     74            'post_type'      => 'apg_photo_albums',
     75            'post_status'    => 'draft, publish',
     76            'posts_per_page' => 5000,
     77        ) );
    7778    }
    7879
Note: See TracChangeset for help on using the changeset viewer.