[Plugin: WP-Polls] A fix for adding polls in WPMU
-
Using WP-Polls with WordPress MU wasn’t working initially. When I added a new poll, it would bring me back to the parent blog’s dashboard without adding the poll.
The fix was to be more specific with the form action in the polls-add.php.
Line 108 changes from
<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>?page=<?php echo plugin_basename(__FILE__); ?>">
to
<form method="post" action="<?php echo bloginfo('url').$_SERVER['PHP_SELF']; ?>?page=<?php echo plugin_basename(__FILE__); ?>">
I haven’t checked other functionality within the plugin, but this allowed me to add polls at least.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: WP-Polls] A fix for adding polls in WPMU’ is closed to new replies.