Making WordPress.org

Changeset 915


Ignore:
Timestamp:
10/20/2014 06:52:36 PM (11 years ago)
Author:
iandunn
Message:

Misc: Increase the disk space for 2014.sf.wordcamp.org.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/wcorg-misc.php

    r886 r915  
    9393}
    9494add_filter( 'contact_form_subject', 'wcorg_grunion_unique_subject' );
     95
     96/**
     97 * Modify the space allocation on a per-size basis.
     98 *
     99 * @param int $size
     100 *
     101 * @return int
     102 */
     103function wcorg_modify_default_space_allotment( $size ) {
     104    switch ( get_current_blog_id() ) {
     105        case '364': // 2014.sf
     106            $size = 750;
     107            break;
     108    }
     109
     110    return $size;
     111}
     112add_filter( 'get_space_allowed', 'wcorg_modify_default_space_allotment' );
Note: See TracChangeset for help on using the changeset viewer.