[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.
The topic ‘[Plugin: WP-Polls] A fix for adding polls in WPMU’ is closed to new replies.