Fix for wp-amazon in WordPress 2.3.1

I use the excellent wp-amazon WordPress plugin to insert Amazon associate links into this site. Unfortunately the version from the web site hasn't been updated in a long time and it doesn't work in the newer releases of WordPress. In looking at the support form I found a link to this patch.

I followed these instructions and lo and behold it worked. Posted as a public service to other WordPress users.