This shows up on any textarea (i.e. the comment form), and it increases the more filters you have - we already have the information available in filter_formats(), so the direct query is completely pointless since it just grabs the same information in a less efficient way.

CommentFileSizeAuthor
#3 filter_tips.patch1003 byteswebchick
filter_tips.patch1003 bytescatch

Comments

catch’s picture

Status: Active » Needs review
dropcube’s picture

Status: Needs review » Reviewed & tested by the community

There is no reason tho have that query. Patch looks good.

webchick’s picture

StatusFileSize
new1003 bytes

Re-uploading to try and entice the testing bot, but this looks great!

webchick’s picture

Status: Reviewed & tested by the community » Fixed

I really do love committing patches like this. :)

Committed to HEAD. Thanks!

Status: Fixed » Closed (fixed)
Issue tags: -Performance

Automatically closed -- issue fixed for 2 weeks with no activity.