Posts

Your WordPress Account Can Get Hacked Easily Over Wi-Fi Connection

If you are used to logging in to your WordPress account in a public Wi-Fi network like at malls or from your local coffee shop, anyone on the same connection can sniff your WordPress credentials. Anyone who knows how to use FireSheep can gain access to your WordPress account.

This was discovered by Yan Zhu, a staff technologist at Electronic Frontier Foundation who works for Frontier Foundation on the HTTPS Everywhere and Privacy Badger extensions.

The cookie, called “wordpress_logged_in’ is what WordPress.com use to determine if the user is logged in or not. If this is set, then WordPress won’t bother to ask user credentials until this cookie expires.

 

Read the rest of the news here: http://www.pcworld.com/article/2158771/wordpress-com-vulnerable-to-account-hijacking.html

 

 

 

How to: Display your latest Twitter-like “time ago” on your WordPress blog

This small code snippet will help you to display the time ago for WordPress post if your post was published less than 24 hours ago. You can find some code published on other blogs that used for displaying the time different from now to the time when the post published like: “minutes ago“, “hours ago“, “days ago“… This code will display only when the different time is less than 24 hours.
Twitter have a really cool built-in function that display time from now, like “3 days ago” or “more than a month ago”. Doing so with WordPress is not hard using some PHP. Here is a function to do so.
Read more

Automatically add post name to the body class-WordPress hack

Introduced in WordPress 2.8, body_class() is a very useful function when it comes to styling themes. In this recipe, I’ll show you how you can add post name to the function for an even easier styling.
Read more