[ t h e f r a g g l e . c o m ]

technology, photography and anything else that springs to mind.

removing blank newlines using sed. »« upgrading to wordpress 2.3

TanTan flickr photo gallery broken after upgrade to Wordpress 2.3

So I realised that the admin part of the Flickr Photo gallery plugin I use (which is at http://www.thefraggle.com/flickr/) was a bit broken after upgrading wordpress to v2.3.

It appeared to work with the configuration I had set previously. However, when on the options page for the plugin, it was complaining of not being able to find a standard wordpress include.

A quick google search showed me a couple of resources, that told me where I needed to make a slight alteration to the source of my flickr plugin …

in the file “/path/to/your/wordpress-install/wp-content/plugins/silaspartners/flickr/admin-options-load.php

    require_once(dirname(__FILE__).$tmpPath.'/wp-admin/admin-db.php');

needs to change to

    require_once(dirname(__FILE__).$tmpPath.'/wp-admin/includes/user.php');

Once that’s done, the plugin works a treat!

Tags: , ,
, ,
October 27, 2007 at 7:30 pm
Leave a Reply or trackback