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/replies/template-tags.php

    r4866 r4896  
    101101
    102102        // Join post statuses together
    103         $default['post_status'] = join( ',', $post_statuses );
     103        $default['post_status'] = implode( ',', $post_statuses );
    104104
    105105    // Lean on the 'perm' query var value of 'readable' to provide statuses
     
    11121112                }
    11131113
    1114                 $author_link = join( $r['sep'], $author_link );
     1114                $author_link = implode( $r['sep'], $author_link );
    11151115
    11161116            // No links if anonymous
    11171117            } else {
    1118                 $author_link = join( $r['sep'], $author_links );
     1118                $author_link = implode( $r['sep'], $author_links );
    11191119            }
    11201120
     
    19721972        $classes   = get_post_class( $classes, $reply_id );
    19731973        $classes   = apply_filters( 'bbp_get_reply_class', $classes, $reply_id );
    1974         $retval    = 'class="' . join( ' ', $classes ) . '"';
     1974        $retval    = 'class="' . implode( ' ', $classes ) . '"';
    19751975
    19761976        return $retval;
Note: See TracChangeset for help on using the changeset viewer.