Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: support forum plugin error

I think maybe it’s a bug? The code at line 657 is:

return sprintf('<img src="$1%ssupport-forum-$2%s.png" alt="[$3%s]" title="[$3%s]" style="vertical-align:top; margin-right:0.3em; width:14px; height:14px; border-width:0;" />$4%s', $this->iconURI, 'sticky', __('sticky', 'support-forum'),$label);

Instead of $ 1 % (added spaces so it’d render on bbpress) shouldn’t it be %1$? c.f. http://us3.php.net/manual/en/function.sprintf.php

Likewise, replace all the other integers, e.g. it should be %2$.

Oddly, this function was changed in 3.0.2.

You can reverse the $ and % signs here and in the other function at line 680.

Skip to toolbar