Plugin Directory

Changeset 1282571


Ignore:
Timestamp:
11/09/2015 02:19:44 PM (10 years ago)
Author:
CodeBrothers
Message:

Small fix in shortcode limit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • awesome-photo-gallery/trunk/frontend/class-shortcodes.php

    r1282502 r1282571  
    3737        $widget = null;
    3838
    39         $album_args = array(
    40             'post_type' => 'apg_photo_albums',
    41             'post_status' => 'publish',
    42         );
     39        $album_args = array(
     40            'post_type'      => 'apg_photo_albums',
     41            'post_status'    => 'publish',
     42            'posts_per_page' => 5000,
     43        );
    4344
    4445        /**
     
    115116        }
    116117
    117         $album_args = array(
    118             'post_type'    => 'apg_photo_albums',
    119             'post_status'  => 'publish',
    120         );
     118        $album_args = array(
     119            'post_type'      => 'apg_photo_albums',
     120            'post_status'    => 'publish',
     121            'posts_per_page' => 5000,
     122        );
    121123        $albums = get_posts( $album_args );
    122124
Note: See TracChangeset for help on using the changeset viewer.