Conflict with Google Calendar Events plugin

0

When I edit a pod entry in admin, after hitting 'Save changes', the settings screen for the Google Calendar Events plugin is displayed, with the highlighted message 'Ajustes guardados' (changes saved). The changes to the pod are saved correctly and I can't see any other ill effects.

I am using the latest version of both plugins & WP.

Any ideas?

asked Oct 13 '11 at 5:26

caroig

16

add comment
enter at least 15 characters

2 Answers

0

I've gotten around this by commenting out the following lines (very beginning) of plugins/google-calendar-events/admin/edit.php:

//Redirect to the main plugin options page if form has been submitted /* if(isset($_GET['action'])){ if($_GET['action'] == 'edit' && isset($_GET['updated'])){ wp_redirect(admin_url('options-general.php?page=' . GCE_PLUGIN_NAME . '.php&updated=edited')); } } */

It seems that gce is picking up the same form action as the pods submission. I'm not sure if this is going to screw up GCE... But I don't <em>think</em> so since I don't plan on editing my gce settings again.

answered Dec 15 '11 at 11:54

corey

1

add comment
enter at least 15 characters
0

Wow that's weird, they aren't even checking 'page' ... that's bad. They should be doing if (isset($_GET['page']) && GCE_PLUGIN_NAME == $_GET['page']) there!

answered Dec 16 '11 at 12:10

sc0ttkclark

2936

add comment
enter at least 15 characters