Tag: wordpress
20 posts
-
More WordPress woes - degradation over time
Another day, another WP headache. One of my clients contacted me saying his site is not performing properly and it has been getting worse. It's on a server I setup, so the server…
-
Happy day! PHP-FPM included with PHP 5.3.3RC1, and WordPress 3.0
Officially in the 5.3.3RC1 distribution. Sweet! From the NEWS file: 17 Jun 2010, PHP 5.3.3 RC1 ... \- Added FastCGI Process Manager (FPM) SAPI. (Tony) ... and on an unrelated…
-
WordPress 2.8.x - hiding those unwanted dashboard items
There's a completely new way now to hide dashboard items, and I finally think I found the easiest way to do it, after having to poke around looking for the right hooks. This…
-
WordPress on Drizzle - beaten to the punch
Looks like Jeff Waugh actually beat me to it. Haven't seen the code... but he's done it and sounds like he's done a somewhat thorough job. Sadly I learned this from Brian's…
-
Don't forget the $args!
August 2010 UPDATE: Read here for new information! I just realized when trying to use the tryfiles shortcut that either the behavior has changed or the code I've used it for has…
-
Finally using nginx's "try_files" directive
OLD: or: NEW: Why make life more complicated if you don't need to? Also thanks to Igor's patch you can have multiple of these, i.e.: etc. This is good, as Drupal, WordPress and…
-
Disabling autosave in WordPress (properly)
This is for 2.6.3 - not sure what other versions it will work on. Originally I got this from…
-
Changing the WordPress $table_prefix - a word of caution
I just changed the table prefix from "wp" to "wpenus" to support multiple installs in the same database, one for each locale. This seemed pretty straightforward - just rename the…
-
nginx + WordPress - redux
Note: this has been outdated once again. Now it can be simplified with one simple directive shown here. There's been a minor tweak required in my original WordPress+nginx rewrite…
-
Simple WordPress hack - redirect the index.php!
I don't know how or when, but I wound up getting indexed with index.php in some of my URLs. For some reason, WordPress hasn't decided that they should parse and remove that. So…
-
WordPress+nginx rewrite rules - stop the insanity!
Note: this has been outdated now. I have an updated post with the latest and Igor-approved method here. When I was switching over to nginx, I found a handful of random and…
-
Due to popular demand - more MySQLi for WordPress!
I've had two requests now for MySQLi updates, so here ya go. It's pretty simple to do it yourself - just look for any mysql string, replace it to mysqli (where applicable) and in…
-
Upgrading WordPress sucks.
It is almost perfect - just tar xvfz latest.tar.gz and let it overwrite the files in the wordpress/ dir... but life isn't easy like that. A bunch of files have been deprecated…
-
jQuery's no-conflict mode: yet another reason why it's the best
It took me a bit to find out why jQuery (now bundled with WordPress) was not working as I expected inside of the WP admin area. The script was being called, but my code like…
-
Why does WordPress allow empty post titles and bodies on publish?
I have noticed (and also reported this on the WP site) that when a user clicks "Publish" it does not check for empty post titles or empty post bodies. I believe this is a flaw in…
-
Which WordPress plugins do I use?
I've had the opportunity to work with WP plugin creation quite a bit at work. We've been able to enforce a strict policy on our WP blog of not allowing \any\ core WP code to be…
-
A no-hack dashboard removal plugin
I don't know why this wasn't discovered (or a better action put in by the WP folks to begin with that could be disabled) but I was able to find a way to disable the feeds from…
-
MySQLi support for WordPress 2.0.7
Yet another patch (actually the same one, but copied for version compliance.) Patch file: wordpress-2.0.7-mysqli.patch.txt Apply with: "patch -p0 <…
-
MySQLi support for WordPress 2.0.6
WordPress 2.0.6 was released earlier today. Shortly after I made the 2.0.5 patch. Oh well. Simple enough to make one for 2.0.6. Patch file: wordpress-2.0.6-mysqli.patch.txt Apply…
-
Quick hack: MySQLi support for WordPress 2.0.5
I wrote this quick hack to enable mysqli calls on WordPress. I prefer using mysqli on all my projects, and typically look change the packages I use to use it as well. I was…