WordPress.org

Making WordPress.org

Changeset 921


Ignore:
Timestamp:
10/21/2014 04:18:17 PM (7 years ago)
Author:
kovshenin
Message:

WordCamp Post Types: In schedule shortcode skip self-pair when checking for spanned sessions.

File:
1 edited

Legend:

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

    r920 r921  
    654654                if ( $key != key( array_slice( $columns, -1, 1, true ) ) ) {
    655655                    while ( $pair = each( $columns_clone ) ) {
     656                        if ( $pair['key'] == $key )
     657                            continue;
     658
    656659                        if ( ! empty( $entry[ $pair['value'] ] ) && $entry[ $pair['value'] ] == $session->ID ) {
    657660                            $colspan++;
Note: See TracChangeset for help on using the changeset viewer.