Making WordPress.org

Changeset 1680

Timestamp:
06/19/2015 01:08:51 PM (9 years ago)
Author:
kovshenin
Message:

WordCamp.org: Enable comments for speakers.

Enable comments for the speaker post type so attendees
can leave public feedback after the event, or ask questions
before the event.

Fixes #1084
Props dzver

Location:
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-post-types
Files:
2 edited

Legend:

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

    r1653 r1680  
    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_exceptions = array( 465, 496, 514, 518 ); // denver.wordcamp.org/2015, seattle.wordcamp.org/2015-experienced, montreal.wordcamp.org/2015, montreal.wordcamp.org/2015-fr
     25            $old_site_exceptions = array( 465, 496, 514, 518
    2626            $old_site_excepted   = in_array( get_current_blog_id(), apply_filters( 'wcb_back_compat_site_id_exceptions', $old_site_exceptions ) );
    2727
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-post-types/wc-post-types.php

    r1573 r1680  
    5555
    5656        add_filter( 'dashboard_glance_items', array( $this, 'glance_items' ) );
     57
     58
    5759    }
    5860
     
    17131715            'labels'            => $labels,
    17141716            'rewrite'           => array( 'slug' => 'speaker', 'with_front' => true ),
    1715             'supports'          => array( 'title', 'editor', 'revisions' ),
     1717            'supports'          => array( 'title', 'editor', 'revisions' ),
    17161718            'menu_position'     => 20,
    17171719            'public'            => true,
     
    20342036        return $items;
    20352037    }
     2038
     2039
     2040
     2041
     2042
     2043
     2044
     2045
     2046
     2047
     2048
     2049
     2050
     2051
    20362052}
    20372053
Note: See TracChangeset for help on using the changeset viewer.