Changeset 4896 for trunk/includes/topics/template-tags.php
- Timestamp:
- 05/11/2013 06:10:20 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/includes/topics/template-tags.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/topics/template-tags.php
r4866 r4896 123 123 124 124 // Join post statuses together 125 $default['post_status'] = join( ',', $post_statuses );125 $default['post_status'] = implode( ',', $post_statuses ); 126 126 127 127 // Lean on the 'perm' query var value of 'readable' to provide statuses … … 1439 1439 } 1440 1440 1441 $author_link = join( $r['sep'], $author_link );1441 $author_link = implode( $r['sep'], $author_link ); 1442 1442 1443 1443 // No links if anonymous 1444 1444 } else { 1445 $author_link = join( $r['sep'], $author_links );1445 $author_link = implode( $r['sep'], $author_links ); 1446 1446 } 1447 1447 … … 2198 2198 $classes = get_post_class( $classes, $topic_id ); 2199 2199 $classes = apply_filters( 'bbp_get_topic_class', $classes, $topic_id ); 2200 $retval = 'class="' . join( ' ', $classes ) . '"';2200 $retval = 'class="' . implode( ' ', $classes ) . '"'; 2201 2201 2202 2202 return $retval;
Note: See TracChangeset
for help on using the changeset viewer.