Bug in Blix
I noticed that the Blix theme for WordPress has a bug. Namely, it will show posts that have a posting date “in the future” in the sidebar of the post page. What does that mean? It means that you can gaze into the future on other people’s blogs, if they’re using Blix. The fix is simple:
-
Open the file wp-contents/themes/blix/BX_functions.php in your WordPress directory
Go to line 69
Add the condition AND post_date < = NOW() to the WHERE clause of the SQL statement.
I’m surprised that the WordPress core doesn’t export a function that provides a list of recent posts somewhere. Letting a theme reach into the SQL like that is kinda gross.
