Ashod / Now-Reading-Redux

The reincarnation of Now Reading Reloaded. A WordPress plugin to organize and advertise the books you read.
10 stars 4 forks source link

Incompatibility with Timely #8

Open leepowers opened 11 years ago

leepowers commented 11 years ago

The Now Reading Redux plugin has a function definition clash with the Timely All-In-One Event Calendar at http://time.ly

Both plugins declare a url_get_contents function in the global namespace:

NRR in file amazon.php line 24

Timely in file lib/global-functions.php line 16

I hacked together a solution by running a simple search and replace in amazon.php, exchanging all instances of url_get_contents with nrr_url_get_contents.

In the future I would suggest namespacing functions in one of these ways: