fixed in bbcode alt text for images
This commit is contained in:
parent
2d662eca1c
commit
c2cacb1183
@ -267,7 +267,7 @@ function do_bbcode_img ($action, $attributes, $content, $params, $node_object) {
|
||||
|
||||
return $popup_start.'<img src="' .
|
||||
($thumbpath ? (BLOG_BASEURL . $thumbpath) : ($absolutepath)). // $attributes['default'])
|
||||
'" alt="'.$alt. ($popup_start? '' : '" title="'.$title.'" ' ).
|
||||
'" alt="'.$alt. '" '. ($popup_start? '' : '" title="'.$title.'" ' ).
|
||||
$float.$img_width.$img_height.' />'.$popup_end;
|
||||
}
|
||||
|
||||
@ -748,4 +748,4 @@ if (BBCODE_ENABLE_COMMENTS) {
|
||||
add_filter('comment_text', 'plugin_bbcode_comment', 1);
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user