Making WordPress.org

Ticket #585: 585.patch

File 585.patch, 765 bytes (added by nvwd, 12 years ago)
  • addons/shortcodes.php

     
    149149                                                        if ( $privacy == 'private' )
    150150                                                                continue;
    151151
     152                                                        // Skip attendees marked as unconfirmed.
     153                                                        $confirmed = get_post_meta( $attendee_id, 'tix_username', true );
     154                                                        if ( $confirmed == CampTix_Require_Login::UNCONFIRMED_USERNAME ) {
     155                                                                continue;
     156                                                        }
     157
    152158                                                        echo '<li>';
    153159
    154160                                                        $first = get_post_meta( $attendee_id, 'tix_first_name', true );
     
    192198         */
    193199        function shortcode_stats( $atts ) {
    194200                global $camptix;
    195                
     201
    196202                return isset( $atts['stat'] ) ? $camptix->get_stats( $atts['stat'] ) : '';
    197203        }
    198204