Relevanssi is the worst famous WordPress plugin in existence!
To paraphrase a famous French criminal case, Relevanssi m’a tuer! (sic). To put it simpler: Relevanssi is a huge piece of crap. A monumental shit, if you prefer. Not only it broke my site and I had to waste a huge amount of time to figure out who the culprit was, but it’s also the proof that some retards should never design the architecture of a software application!
One month ago, I was writing this: WordPress likes to break my site, because such software is just shite. Stupid me, I couldn’t have imagined that a search plugin could break the way HTML is displayed in WordPress! I thought the problem came from one of the following:
- The export or the import with UpdraftPlus.
- A WordPress upgrade.
- A buggy “HTML sanitization” performed by Wordfence.
- A buggy “Hsanitization” performed by IONOS.
- PHP 8.0 (previously I was on PHP 7.x).
- A different database collation (IONOS came with
utf8mb3
as default, and I had to change it toutf8mb4_unicode_ci
to accommodate some emoticons).
How could I have imagined that a search plugin, while not being invoked by any search, alters the way WordPress displays the posts?
For an example, if a post contained such an HTML:
Please read <code><a href="https://man7.org/linux/man-pages/man2/utime.2.html">man utime</a></code>
…and the Relevanssi plugin was active, this is what the browser was receiving:
Please read <code><a href="https://man7.org/linux/man-pages/man2/utime.2.html">man utime</a></code>
Therefore, instead of this:
Please read
man utime
…this was displayed:
Please read
<a href="https://man7.org/linux/man-pages/man2/utime.2.html">man utime</a>
Why on the fucking Earth was Relevanssi changing the HTML code that WordPress was retrieving from post_content
, as long as no search results were to be displayed?
And how can anyone design a plugin that alters the normal content in such a pervert way?
Of course, I’m puzzled how nobody seemed to have noticed this bug. If they write such unsophisticated posts, why are they using WordPress, when any CMS that supports Markdown would do?
Regarding the above example, yes, the <code>
tag could have been inside the <a>
tag instead of outside of it, but this is just an example. I had (and I still have!) blockquote
blocks with complex formatting inside, including some portions of monospaced text, and they were severely broken!
I wasted too much time trying to “fix” a bug that wasn’t mine, and I’m still not sure that I recovered the correct version of the database. This bug was breaking my pages in crazy ways, because it’s not only affecting constructs as the one in the above example. I have other things to do in life than to deal with a bug that’s so mentally retarded that I wonder whether the code wasn’t written by ChatGPT.
The first thing I do after I win the lottery, I’ll pay a hired killer to get rid of Mikko Saari.
<p>Nested interpretable (sp?) text is complicated. Have you ever used xml? [!cdata] or something was required to allow a field to be arbitrary text without interpretation.
I’m glad you found your WordPress problem! I know you’re aware of TinyMCE and Gutenberg; which do you prefer, and why?
PS. Yes, the less-than P greater-than at the beginning of my comment is a joke.
I only used <![CDATA[]]> in a blog post when I wasn’t using WordPress.
I used to prefer TinyMCE, especially as:
1. Gutenberg becomes too slow with long posts;
2. I used to edit directly the HTML when needed;
3. I hate the blocks, I prefer to treat the flow of paragraphs as a continuous entity.
However, after quite some time with Gutenberg, I find it slightly clumsy to resort to TinyMCE, which isn’t completely bug-free either.
So I hate them all, frankly. I still don’t know of anything great.