Changeset 7115 for branches/0.9/bb-includes/template-functions.php
- Timestamp:
- 08/10/2020 07:44:46 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.9/bb-includes/template-functions.php
r6159 r7115 2048 2048 2049 2049 foreach ( (array) $tags as $tag ) { 2050 $counts {$tag->raw_tag}= $tag->tag_count;2051 $taglinks {$tag->raw_tag}= bb_get_tag_link( $tag->tag );2050 $counts[$tag->raw_tag] = $tag->tag_count; 2051 $taglinks[$tag->raw_tag] = bb_get_tag_link( $tag->tag ); 2052 2052 } 2053 2053 … … 2066 2066 2067 2067 foreach ( $counts as $tag => $count ) { 2068 $taglink = attribute_escape($taglinks {$tag});2068 $taglink = attribute_escape($taglinks[$tag]); 2069 2069 $tag = str_replace(' ', ' ', wp_specialchars( $tag )); 2070 2070 $a[] = "<a href='$taglink' title='" . attribute_escape( sprintf( __('%d topics'), $count ) ) . "' rel='tag' style='font-size: " .
Note: See TracChangeset
for help on using the changeset viewer.