Changeset 1648
- Timestamp:
- 06/04/2015 01:43:09 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-post-types/inc/back-compat.php
r1647 r1648 22 22 // Initialize only if theme requires. 23 23 if ( in_array( $this->stylesheet, $compat_themes ) || in_array( $this->template, $compat_themes ) ) { 24 $old_site_id = get_current_blog_id() <= apply_filters( 'wcb_back_compat_max_site_id', 528 );24 $old_site_id = get_current_blog_id() <= apply_filters( 'wcb_back_compat_max_site_id', 528 ); 25 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 ) );26 $old_site_excepted = in_array( get_current_blog_id(), apply_filters( 'wcb_back_compat_site_id_exceptions', $old_site_exceptions ) ); 27 27 28 28 // 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.