Wouldn't it look bad to write WordPress as WordPress?
I think it's OK, so when I write articles, I always write WordPress. How about you? You can leave a message and tell me.
The founder of WordPress thinks it's not good
But Matt Mullenweg, the founder of WordPress, thinks that WordPress is very ugly. He also adds a function capitalPdangit() to WordPress 3.0 himself. This function will change the P in WordPress from lowercase to uppercase. Amazing programmers will have some quirks.
Then WordPress uses the capitalPdangit() function through the filter to change WordPress in the article title, page title, article content, comment content, and widget content to WordPress.
Mask WordPress case correction
As a WordPress true love fan, we usually write articles in the case of WordPress, so this conversion is actually meaningless.
It is also possible that some users feel that such conversion is a bit superfluous, and even like the writing method of WordPress. Some users' blog content does not involve WordPress at all.
Therefore, efficiency is the priority. Don't waste time to execute unnecessary transformations. You can remove this transformation by adding the following code to the current topic:
removefilter(thecontent,capitalPdangit,11); removefilter(thetitle,capitalPdangit,11); removefilter(wptitle,capitalPdangit,11); removefilter(documenttitle,capitalPdangit,11); removefilter(commenttext,capitalPdangit,31); removefilter(widgettextcontent,capitalPdangit,11);
This function has been integrated into the WPJAM Basic plug-in, and has been provided for free download. Simply check or set it to start!