WordPress replaces tag with different (misleading) one
-
Hi.
Currently at http://en.wordpress.com/tag/programming/3/:
“cppx: Characters & nasal daemons…
alfps wrote 1 day ago: Consider this innocent-looking code: #include#include // isalpha # … more →
Tags: cppx, C#”This article does not have and never has had a tag “C#”. It’s tagged “C++”, which is a *different* programming language.
In this listing WordPress has replaced the “C++” tag with a “C#” tag.
The blog I need help with is: (visible only to logged in users)
-
Unfortunately there’s no way to fix this.
The unique identifier for a tag is its nicename, which is the tag name with non-word characters stripped. In this case, “C++” reduces to the tag name “c”. So does “C#” and “C”. They’re all the same tag as far as WordPress.com is concerned. As it happens the title associated with that single tag is “C#”. If we change it to C++, then the people using the tag “C#” will complain. No win situation.
Simple workaround: use a tag like “Cplusplus” or “Csharp”.
-
The name of the language is “C++”, not “Cplusplus”.
Nobody without knowledge of the internal peculiarities of WordPress would look for e.g. “Cplusplus” instead of the proper name “C++”.
One simple way to fix it is to generate unique identifiers as the lowercase of the tag with no punctuation stripped. There are also many other ways to fix it. The crucial insight is that it’s just an arbitrary internal WordPress implementation of some desired functionality, where that particular implementation, uh, sucks. :-) Other implementations are just as easy to, if not easier. Fixing the problem.
-
Hm, I understand that to people at large “C++” or “C#” or just “C” is much the same thing, really, so it shouldn’t matter what WordPress presented it as?
But this is akin to me posting about how I’m the proud owner of a Bentley (car), and WordPress informing the world that my blog is about how aroused I am as owner of a mare (female horse).
How do esone get from proud owner of Bentley, to aroused owner of mare? First one, i.e. WordPress,generalizes (like “C++” -> “C”). Proud, that must mean happy, surely, and Bentley, that must mean a means of transportation, surely. So, he means that he’s the happy owner of a means of transportation.
Then one, i.e. WordPress, specializes, incorrectly. Happy, oh that must mean aroused, and means of transportation, that must mean a mare, and even if that perhaps is not 100% precisely what he meant it does give the rough idea, surely?, and if chose something else we’d offend someone else!
It’s all so needless.
Just don’t do it.
-
- The topic ‘WordPress replaces tag with different (misleading) one’ is closed to new replies.