Making WordPress.org


Ignore:
Timestamp:
06/04/2015 01:42:22 PM (11 years ago)
Author:
iandunn
Message:

WordCamp Post Types: Add montreal/2015 to back-compat shortcode exceptions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-post-types/inc/back-compat.php

    r1562 r1647  
    2323        if ( in_array( $this->stylesheet, $compat_themes ) || in_array( $this->template, $compat_themes ) ) {
    2424            $old_site_id       = get_current_blog_id() <= apply_filters( 'wcb_back_compat_max_site_id', 528 );
    25             $old_site_excepted = in_array( get_current_blog_id(), apply_filters( 'wcb_back_compat_site_id_exceptions', array( 465 ) ) ); // denver.wordcamp.org/2015
     25            $old_site_exceptions = array( 465, 514, 518 ); // denver.wordcamp.org/2015, montreal.wordcamp.org/2015, montreal.wordcamp.org/2015-fr
     26            $old_site_excepted = in_array( get_current_blog_id(), apply_filters( 'wcb_back_compat_site_id_exceptions', $old_site_exceptions ) );
    2627
    2728            // Substitute back-compat shortcodes on older sites, but let new sites use the real ones
Note: See TracChangeset for help on using the changeset viewer.