Remove Javascript and CSS versioning from WordPress

While trying to optimize my site a while back I came across some issues with Javascript and CSS versions causing caching issues, or rather not being cached. This lack of caching of the Javascript and CSS files was lowering the site score on many testing sites including WebPageTest.

I searched around a bit and came across the following code snippet which will remove most, if not all of the versioning from Javascript and CSS files on your WordPress site.

To enable this you will need add the following code to your themes function.

If you are using a caching plugin such as WP-Super Cache/W3 Total Cache you will need to of course clear your cache before these changes will be shown

WP-Installer Revisited

A while back I started work on then I just stopped. No real reason why, but anyways I recently jumped back into the code again. Hope to have a very alpha version up an running in the next couple of days… though it will probably lead into a few weeks. More details will be posted as I make progress.

Adding users from a CSV file to a MySQL database

I recently was hit with an issue where I had to import about 500 employees into a database and having each one added to multiple departments. With the use of an array I was able to write up some pretty simple code to import a CSV file that simply contained “username, realname” into the database. Thought I would post it in case anyone ever needed to do something along these lines.