My Blog

contains PHP and other web related content. (Sometimes there are some off topic things - don't freak out!)

Posts Tagged ‘wordpress’

How I fixed the Javascript error with wp-codebox

Monday, November 16th, 2009

I’ve been using the wp-codebox plugin for a while… and an upgrade came today!

Well, I applied the upgrade – and now every page that has a code box on it was causing my JS to crash. The first thing I did was disable the inclusion of the jquery.js file in the plugin by editing the main.php file’s codebox_header() function. Then, I deleted the jquery.js file from the /js folder in the plugin. Finally, I edited js/codebox.js to remove the reference to the old jquery’s noConflict() method. I removed the $jcodebox variable and replaced it with the $ only. Now, all is well.

Securing Wordpress – what my ‘oops’ reminded me

Saturday, February 23rd, 2008

I don’t want to admit it – but I messed up. I didn’t patch wordpress – and I was a victim of one of the released wp exploits. How could you let this happen? you ask. Well, I was lazy. But let this be a lesson to ya – don’t forget – otherwise its a LOT harder to clean it up (it took me roughly 4 hours to fix which included 2 hours of ignoring my friend on the phone…)

For good measure, I’ll hook you up with some worthwhile links to help you secure your WP:

Main Article about Wordpress Security Tips and Hacks. He links to Three tips to protect your wordpress from matt and also wp designer’s tips on security. Oh and if you’re really gutzy – or lazy – check out the wp scanner – should help you take care of some stuff.

Don’t screw up like I did – lazy isn’t worth it! ;)

  • twitter loader

Follow me on twitter: @aaronsaray

The views on this website are my own and do not reflect the opinions of my employer or clients.
Creative Commons License Home | Open Source | Book | Music | Art | Bio | Resume | Contact
My Baby