WordPress.org

Plugin Directory

wp-polls

Opened 7 years ago

Last modified 7 years ago

#1293 new enhancement

Method get_poll with way to get poll_id

Reported by: TheGuit Owned by: GamerZ
Priority: normal Severity: normal
Plugin: wp-polls Keywords:
Cc:

Description

Hi,

A minor improvement :
-function get_poll($temp_poll_id = 0, $display = true) {
+function get_poll($temp_poll_id = 0, $display = true, &$poll_id=null) {

That allow us to fetch the poll_id used/generate by get_poll().

If you have any suggestion.

Change History (1)

comment:1 @TheGuit7 years ago

-function get_poll($temp_poll_id = 0, $display = true) {
+function get_poll($temp_poll_id = 0, $display = true, &$poll_id=null) {
Note: See TracTickets for help on using tickets.