WordPress qw.php file on root of installation

I’m posting here not only to receive help or guidance on this particular file, but also to help in searching for this issue. Apparently, the root of the installation for WordPress has a file called qw.php that is not part of the standard installation package. The file contents are as follows: I’ve noticed the hacker … Read more

How to implement inline cm/inches conversion in WordPress

One way is to create a shortcode for it Can be used like this The length of a European ruler is often [cm2inches]30[/cm2inches] inches. But remember, when you display content it doesn’t automatically get parsed through do_shortcode. Let’s say you’ve saved some meta box information as a site option. Then do it like this:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ””)’ at line 2

There is a single quote in $submitsubject or $submit_message Why is this a problem? The single quote char terminates the string in MySQL and everything past that is treated as a sql command. You REALLY don’t want to write your sql like that. At best, your application will break intermittently (as you’re observing) and at worst, you have just introduced … Read more