Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/11/2013 06:10:20 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Use implode() instead of join() through-out project. See #2331.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/topics/template-tags.php

    r4866 r4896  
    123123
    124124        // Join post statuses together
    125         $default['post_status'] = join( ',', $post_statuses );
     125        $default['post_status'] = implode( ',', $post_statuses );
    126126
    127127    // Lean on the 'perm' query var value of 'readable' to provide statuses
     
    14391439                }
    14401440
    1441                 $author_link = join( $r['sep'], $author_link );
     1441                $author_link = implode( $r['sep'], $author_link );
    14421442
    14431443            // No links if anonymous
    14441444            } else {
    1445                 $author_link = join( $r['sep'], $author_links );
     1445                $author_link = implode( $r['sep'], $author_links );
    14461446            }
    14471447
     
    21982198        $classes   = get_post_class( $classes, $topic_id );
    21992199        $classes   = apply_filters( 'bbp_get_topic_class', $classes, $topic_id );
    2200         $retval    = 'class="' . join( ' ', $classes ) . '"';
     2200        $retval    = 'class="' . implode( ' ', $classes ) . '"';
    22012201
    22022202        return $retval;
Note: See TracChangeset for help on using the changeset viewer.