Making WordPress.org

Changeset 2745


Ignore:
Timestamp:
03/14/2016 05:06:57 PM (8 years ago)
Author:
iandunn
Message:

WordCamp Site Cloner: Bump temporary site limit from 50 to 125.

A common use case is to clone the site from a previous year of the same camp (e.g., Seattle 2016 cloning Seattle 2015), but that's not possible when only 50 sites are displayed.

Show 125 sites isn't very fast or user-friendly, but it's better than preventing this use case entirely. It's also only temporary, until #1112 adds filters to improve the user experience with a large number of sites.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-site-cloner/wordcamp-site-cloner.php

    r1715 r2745  
    121121        'post_type'      => 'wordcamp',
    122122        'post_status'    => 'publish',
    123         'posts_per_page' => 50, // todo temporary workaround until able to add filters to make hundreds of sites manageable
     123        'posts_per_page' => 125, // todo temporary workaround until able to add filters to make hundreds of sites manageable
    124124        'meta_key'       => 'Start Date (YYYY-mm-dd)',
    125125        'orderby'        => 'meta_value_num',
Note: See TracChangeset for help on using the changeset viewer.