Commit 96701111 authored by Lester Chan's avatar Lester Chan Committed by GitHub
Browse files

Merge pull request #97 from bderstine/master

update wp_polls_update_poll to use current poll id
parents 9c27c63d 512032a2
......@@ -179,7 +179,7 @@ if(!empty($_POST['do'])) {
// Update Lastest Poll ID To Poll Options
$latest_pollid = polls_latest_id();
$update_latestpoll = update_option('poll_latestpoll', $latest_pollid);
do_action( 'wp_polls_update_poll', $latest_pollid );
do_action( 'wp_polls_update_poll', $pollq_id );
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment