Changeset 7115
- Timestamp:
- 08/10/2020 07:44:46 PM (5 years ago)
- Location:
- branches/0.9
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.9/bb-admin/export.php
r1386 r7115 46 46 $data .= str_repeat("\t", $tabs + 1) . "<meta key='$mk'><![CDATA[$mv]]></meta>\n"; 47 47 } else { 48 if ( '!' == $k {0}) {48 if ( '!' == $k[0] ) { 49 49 $k = substr($k, 1); 50 50 $v = "<![CDATA[$v]]>"; … … 66 66 $r = array(); 67 67 foreach ( $translate as $prop => $export ) { 68 if ( '?' == $export {0}) {68 if ( '?' == $export[0] ) { 69 69 $export = substr($export, 1); 70 70 if ( !$data[$prop] ) { -
branches/0.9/bb-includes/deprecated.php
r6206 r7115 547 547 function bb_convert_path_base( $path, $from_base, $to_base ) { 548 548 bb_log_deprecated('function', __FUNCTION__, 'no alternative'); 549 $last_char = $path {strlen($path)-1};549 $last_char = $path[strlen($path)-1]; 550 550 if ( '/' != $last_char && '\\' != $last_char ) 551 551 $last_char = ''; -
branches/0.9/bb-includes/kses.php
r6162 r7115 461 461 $allowed = false; 462 462 foreach ($allowed_protocols as $one_protocol) 463 { 463 464 if (strtolower($one_protocol) == $string2) 464 465 { … … 466 467 break; 467 468 } 469 } 468 470 469 471 if ($allowed) -
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.