Plugin Directory

Changeset 3396185


Ignore:
Timestamp:
11/15/2025 09:42:47 AM (3 months ago)
Author:
wprigel
Message:

Version bump on trunk

Location:
poll-creator/trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • poll-creator/trunk/README.md

    r3361377 r3396185  
    55**Tested up to:** 6.8.2<br>
    66**Requires PHP:** 8.0<br>
    7 **Stable tag:** 1.0.9<br>
     7**Stable tag:** 1.0.10<br>
    88**License:** GPLv3 or later<br>
    99**License URI:** http://www.gnu.org/licenses/gpl-3.0.html<br>
  • poll-creator/trunk/includes/Admin/PollsListTable.php

    r3348002 r3396185  
    152152     */
    153153    public function column_type( $item ) {
    154         return sprintf( '<span tooltip="%s" flow="right">%s</span>', ucfirst( $item->get_type() ?? '' ), $item->get_icon() );
     154        $icon = $item->get_icon();
     155
     156        // Check if the icon is an SVG string
     157        if ( strpos( $icon, '<svg' ) !== false ) {
     158            // If it's an SVG, render it directly
     159            $icon_html = $icon;
     160        } else {
     161            // If it's a dashicon class or other string, wrap it in dashicons format
     162            $icon_html = sprintf( '<span class="dashicons dashicons-%s"></span>', esc_attr( $icon ) );
     163        }
     164
     165        return sprintf( '<span tooltip="%s" flow="right">%s</span>', ucfirst( $item->get_type() ?? '' ), $icon_html );
    155166    }
    156167
  • poll-creator/trunk/includes/REST/PollsController.php

    r3271909 r3396185  
    11<?php
    22/**
    3  * Miusages rest route endpoint.
     3 * Polls rest route endpoint.
    44 *
    5  * @package AwesomeMotive\Miusage
     5 * @package wpRigel\Pollify
    66 */
    77
     
    1919
    2020/**
    21  * MiusageController class.
     21 * PollsController class.
    2222 *
    2323 * @package wpRigel\Pollify\API
  • poll-creator/trunk/includes/REST/VotesController.php

    r3271909 r3396185  
    11<?php
    22/**
    3  * Miusages rest route endpoint.
     3 * Votes rest route endpoint.
    44 *
    5  * @package AwesomeMotive\Miusage
     5 * @package wpRigel\Pollify
    66 */
    77
     
    1818
    1919/**
    20  * MiusageController class.
     20 * VotesController class.
    2121 *
    2222 * @package wpRigel\Pollify\API
  • poll-creator/trunk/includes/Traits/Singleton.php

    r3271909 r3396185  
    33 * Singleton trait which implements Singleton pattern in any class in which this trait is used.
    44 *
    5  * @package AwesomeMotive\Miusage
     5 * @package wpRigel\Pollify
    66 */
    77
  • poll-creator/trunk/includes/Votes.php

    r3361377 r3396185  
    295295                            // Calculate percentage.
    296296                            $options[ $key ]['percentage'] = (int) $vote['votes'] > 0 ? number_format_i18n( ( (int) $vote['votes'] / (int) $total_votes ) * 100, 2 ) : 0;
    297 
    298297                        }
    299298                    }
  • poll-creator/trunk/languages/poll-creator.pot

    r3361377 r3396185  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Pollify 1.0.9\n"
     5"Project-Id-Version: Pollify 1.0.10\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/poll-creator\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-09-14T18:38:32+00:00\n"
     12"POT-Creation-Date: 2025-11-15T09:07:21+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.9.0\n"
     
    4848#: includes/Admin/IPsListTable.php:79
    4949#: includes/Admin/VotesListTable.php:77
    50 #: templates/admin/overview.php:178
     50#: templates/admin/overview.php:179
    5151msgid "Location"
    5252msgstr ""
     
    5454#: includes/Admin/IPsListTable.php:80
    5555#: includes/helpers/functions.php:391
    56 #: templates/admin/overview.php:127
     56#: templates/admin/overview.php:128
    5757msgid "Votes"
    5858msgstr ""
     
    6666#: includes/Admin/IPsListTable.php:141
    6767#: includes/Admin/VotesListTable.php:196
    68 #: templates/admin/overview.php:148
    69 #: templates/admin/overview.php:190
     68#: templates/admin/overview.php:149
     69#: templates/admin/overview.php:191
    7070msgid "Unknown"
    7171msgstr ""
     
    7777
    7878#: includes/Admin/IPsListTable.php:169
    79 #: includes/Admin/PollsListTable.php:320
     79#: includes/Admin/PollsListTable.php:331
    8080#: includes/Admin/VotesListTable.php:246
    8181msgid "Filter"
     
    158158msgstr ""
    159159
    160 #: includes/Admin/PollsListTable.php:172
     160#: includes/Admin/PollsListTable.php:183
    161161msgid "Edit"
    162162msgstr ""
    163163
    164 #: includes/Admin/PollsListTable.php:173
     164#: includes/Admin/PollsListTable.php:184
    165165msgid "View frontend"
    166166msgstr ""
    167167
    168 #: includes/Admin/PollsListTable.php:196
    169 #: includes/Admin/PollsListTable.php:283
     168#: includes/Admin/PollsListTable.php:207
     169#: includes/Admin/PollsListTable.php:294
    170170#: src/poll/edit.js:132
    171171msgid "Open"
    172172msgstr ""
    173173
    174 #: includes/Admin/PollsListTable.php:197
    175 #: includes/Admin/PollsListTable.php:211
    176 #: includes/Admin/PollsListTable.php:284
     174#: includes/Admin/PollsListTable.php:208
     175#: includes/Admin/PollsListTable.php:222
     176#: includes/Admin/PollsListTable.php:295
    177177msgid "Closed"
    178178msgstr ""
    179179
    180 #: includes/Admin/PollsListTable.php:198
     180#: includes/Admin/PollsListTable.php:209
    181181msgid "Schedule"
    182182msgstr ""
    183183
    184 #: includes/Admin/PollsListTable.php:199
     184#: includes/Admin/PollsListTable.php:210
    185185msgid "Trash"
    186186msgstr ""
    187187
    188188#. translators: %s: poll end date
    189 #: includes/Admin/PollsListTable.php:207
     189#: includes/Admin/PollsListTable.php:218
    190190msgid "Ended at %s"
    191191msgstr ""
    192192
    193193#. translators: %s: poll end date
    194 #: includes/Admin/PollsListTable.php:215
     194#: includes/Admin/PollsListTable.php:226
    195195msgid "Will be ended on %s"
    196196msgstr ""
    197197
    198198#. translators: %s: votes count
    199 #: includes/Admin/PollsListTable.php:255
     199#: includes/Admin/PollsListTable.php:266
    200200#: templates/admin/overview.php:79
    201201#: templates/results/horizointal-bar-chart.php:31
     
    203203msgstr ""
    204204
    205 #: includes/Admin/PollsListTable.php:282
     205#: includes/Admin/PollsListTable.php:293
    206206msgid "All"
    207207msgstr ""
    208208
    209 #: includes/Admin/PollsListTable.php:305
     209#: includes/Admin/PollsListTable.php:316
    210210msgid "All types"
    211211msgstr ""
     
    224224
    225225#: includes/Admin/VotesListTable.php:78
    226 #: templates/admin/overview.php:179
     226#: templates/admin/overview.php:180
    227227msgid "IP Address"
    228228msgstr ""
     
    237237
    238238#: includes/Admin/VotesListTable.php:137
    239 #: templates/admin/overview.php:251
     239#: templates/admin/overview.php:252
    240240msgid "Guest"
    241241msgstr ""
     
    415415msgstr ""
    416416
    417 #: includes/Votes.php:501
     417#: includes/Votes.php:500
    418418msgid "Client ID or User IP is empty."
    419419msgstr ""
    420420
    421 #: includes/Votes.php:536
     421#: includes/Votes.php:535
    422422msgid "Invalid vote ID."
    423423msgstr ""
     
    437437#. translators: %s: percentage
    438438#: templates/admin/overview.php:85
    439 #: templates/admin/overview.php:92
    440439#: templates/results/horizointal-bar-chart.php:37
    441 #: templates/results/horizointal-bar-chart.php:44
    442440msgid "%s%"
    443441msgstr ""
    444442
    445443#. translators: %s: total votes
    446 #: templates/admin/overview.php:102
     444#: templates/admin/overview.php:103
    447445msgid "Total votes: %s"
    448446msgstr ""
    449447
    450 #: templates/admin/overview.php:107
    451 #: templates/results/horizointal-bar-chart.php:59
     448#: templates/admin/overview.php:108
     449#: templates/results/horizointal-bar-chart.php:60
    452450msgid "No results found for this poll"
    453451msgstr ""
    454452
    455 #: templates/admin/overview.php:115
     453#: templates/admin/overview.php:116
    456454msgid "Popular Location"
    457455msgstr ""
    458456
    459 #: templates/admin/overview.php:127
     457#: templates/admin/overview.php:128
    460458msgid "Country"
    461459msgstr ""
    462460
    463 #: templates/admin/overview.php:155
    464 #: templates/admin/overview.php:219
     461#: templates/admin/overview.php:156
     462#: templates/admin/overview.php:220
    465463msgid "No location data found for this poll"
    466464msgstr ""
    467465
    468 #: templates/admin/overview.php:162
     466#: templates/admin/overview.php:163
    469467msgid "IP overviews"
    470468msgstr ""
    471469
    472 #: templates/admin/overview.php:180
     470#: templates/admin/overview.php:181
    473471msgid "Vote count"
    474472msgstr ""
    475473
    476 #: templates/admin/overview.php:216
     474#: templates/admin/overview.php:217
    477475msgid "See all IP's"
    478476msgstr ""
    479477
    480 #: templates/admin/overview.php:228
     478#: templates/admin/overview.php:229
    481479msgid "Recent votes"
    482480msgstr ""
    483481
    484 #: templates/admin/overview.php:285
     482#: templates/admin/overview.php:286
    485483msgid "See all votes"
    486484msgstr ""
    487485
    488 #: templates/admin/overview.php:289
     486#: templates/admin/overview.php:290
    489487msgid "No recent votes found for this poll"
    490488msgstr ""
    491489
    492 #: templates/admin/overview.php:305
    493 #: templates/admin/overview.php:322
     490#: templates/admin/overview.php:306
     491#: templates/admin/overview.php:323
    494492msgid "Search by IP"
    495493msgstr ""
     
    517515
    518516#. translators: %s: total votes
    519 #: templates/results/horizointal-bar-chart.php:54
     517#: templates/results/horizointal-bar-chart.php:55
    520518msgid "Total votes %s"
    521519msgstr ""
  • poll-creator/trunk/package.json

    r3361377 r3396185  
    11{
    22    "name": "poll-creator",
    3     "version": "1.0.9",
     3    "version": "1.0.10",
    44    "description": "Feedback Polls, Anonymous Polls, Up/down Voting and NPS Surveys",
    55    "author": "wpRigel",
  • poll-creator/trunk/pollify.php

    r3361377 r3396185  
    44 * Plugin URI: https://wprigel.com/pollify/
    55 * Description: Pollify is the ultimate poll creator and survey maker plugin for WordPress, 100% powered by the Gutenberg editor. No short code required, no capping on vote counts. Enjoy the freedom & boost user engagement.
    6  * Version: 1.0.9
     6 * Version: 1.0.10
    77 * Author: wprigel
    88 * Author URI: http://wprigel.com/
     
    5050
    5151// Define some constant for getting path and urls and version of the plugin.
    52 define( 'POLLIFY_VERSION', '1.0.9' );
     52define( 'POLLIFY_VERSION', '1.0.10' );
    5353define( 'POLLIFY_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
    5454define( 'POLLIFY_ASSET_PATH', untrailingslashit( POLLIFY_PATH . '/assets' ) );
  • poll-creator/trunk/readme.txt

    r3361377 r3396185  
    1 === Pollify - Feedback Polls, Anonymous Polls, Up/down Voting and NPS Surveys ===
     1=== Pollify - Feedback Polls, Anonymous Polls, Up/down Voting, NPS Surveys, Export data ===
    22Contributors: wprigel
    33Tags: poll plugin, poll, poll maker, vote, survey
     
    55Tested up to: 6.8.2
    66Requires PHP: 8.0
    7 Stable tag: 1.0.9
     7Stable tag: 1.0.10
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8585* **Up and Down vote**: Enable users to vote using like/dislike or emojis, providing quick feedback on products or content. (Pro)
    8686* **Kudos**: feature allows users to give quick, positive feedback — such as clapping or applause — without needing to write anything (Pro)
     87* **Engagement**: Boost interaction by seamlessly gathering user feedback directly from your website’s frontend (Pro)
     88* **NPS**: Allow users to select answers within a 1-10 range. (Pro)
    8789* **Rating**: Create rating forms, utilizing stars or emojis, to gauge user opinions on products or topics. (Upcoming in pro)
    88 * **NPS**: Allow users to select answers within a 1-10 range. (Pro)
    8990* **VS**: Facilitate competition between two options, such as products or individuals, with stylish versus voting formats. (Upcoming in pro)
    90 * **Feedback**: Solicit detailed responses from participants, allowing them to provide comprehensive answers using short text or paragraphs. (Upcoming in pro)
    9191
    9292=== Pollify Poll Maker Plugin Free Features at a Glance: ===
     
    147147- IP blocker allows blocking votes from specific IP addresses, preventing spam or unwanted participation.
    148148- IP and user wise vote restriction prevents multiple votes from the same IP address or user, ensuring fair polling.
     149- Engagement Block: Collect user feedback directly from the frontend using a dedicated block.
     150- Export poll results in multiple formats, including CSV, PDF, DOCX, and Excel
    149151- VS Type of Poll (Versus) enables the creation of polls comparing options side by side (Upcoming in pro)
    150152- Import/Export Polls help in Importing and exporting poll configurations for easy sharing or backup. (Upcoming in pro)
    151153- Send mail to a user (integrated with email services ) (Upcoming in pro).
    152 - Export Results to CSV allows exporting poll data into CSV format for further analysis or reporting. (Upcoming in pro)
    153154- Vote by user and role (Upcoming in pro).
    154155- Email campaign using email services. (Upcoming in pro).
     
    198199== Changelog ==
    199200
     201v1.0.10 -> November 15, 2025
     202--------------------------------------------
     203- [Fix] Fixed number format issues for other countries
     204- [Fix] Added custom svg icon support for rendering on backend poll
     205- [Fix] Fix some typo on class defination
     206- [Fix] Fixed vote location flag icon style issue.
     207
    200208v1.0.9 -> September 15, 2025
    201209--------------------------------------------
  • poll-creator/trunk/templates/admin/overview.php

    r3361377 r3396185  
    8989                                    <div class="horizointal-bar-chart__bar-indicator">
    9090                                        <?php
    91                                             /* translators: %s: percentage */
    92                                             $percentage_width = wp_sprintf( __( '%s%', 'poll-creator' ), $result_option['percentage'] );
     91                                        // Convert localized percentage back to float and format for CSS (must use period as decimal separator).
     92                                        $percentage_value = (float) str_replace( ',', '.', (string) $result_option['percentage'] );
     93                                        $percentage_width = number_format( $percentage_value, 2, '.', '' ) . '%';
    9394                                        ?>
    9495                                        <div class="bar-fill" style="width:<?php echo esc_html( $percentage_width ); ?>"></div>
  • poll-creator/trunk/templates/results/horizointal-bar-chart.php

    r3109668 r3396185  
    4141                <div class="horizointal-bar-chart__bar-indicator">
    4242                    <?php
    43                     /* translators: %s: percentage */
    44                     $percentage_style = wp_sprintf( __( '%s%', 'poll-creator' ), $result_option['percentage'] )
     43                    // Convert localized percentage back to float and format for CSS (must use period as decimal separator).
     44                    $percentage_value = (float) str_replace( ',', '.', (string) $result_option['percentage'] );
     45                    $percentage_style = number_format( $percentage_value, 2, '.', '' ) . '%';
    4546                    ?>
    4647                    <div class="bar-fill" style="width:<?php echo esc_html( $percentage_style ); ?>"></div>
Note: See TracChangeset for help on using the changeset viewer.