Home > General > Wordpress Bug

Wordpress Bug

April 25th, 2006

I don’t consider myself a good bug hunter, or even a bug hunter at all, however I accidentally discovered a Wordpress bug, which might or not be an old one.

I can understand what causes the bug, and it makes sense from a programmer’s point-of-view, but still, there should be some way of solving it, since it has been solved in various forum managing programs.

If you make a smiley without a non-breaking space Wordpress will not display it as a smiley. Whilst this might make sense in cases such as: ” (the features are:) “

Here is the bug itself:
:)
:)
The only difference between the two lines is that the second one has a space before the smiley. So there you have it folks, the first bug I’ve ever discovered in Wordpress and a quick work-around.

However, it doesn’t make sense if you have a break-line before it. Basically I think it’s only a question of parsing the code and seeing whether there’s a “br” or not before it.

[tags]wordpress, bug, wordpress bug, wordpress smileys[/tags]

Griffith General

  1. No comments yet.
  1. No trackbacks yet.