Plugin Directory

Changeset 3145557


Ignore:
Timestamp:
09/02/2024 05:26:04 PM (19 months ago)
Author:
shewa
Message:

Released 1.2.2

Location:
easy-poll/trunk
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • easy-poll/trunk/assets/lib/chart/chart-config.js

    r3145552 r3145557  
    1 document.addEventListener("DOMContentLoaded",(async function(){const e=document.getElementById("ep-active-polls-chart");if(e){const t=new FormData;t.set(epData.nonce_action,epData.nonce),t.set("action","ep_get_active_polls_report");const n=document.getElementById("ep-loading-msg");n.innerHTML="Generating report...";const a=await fetch(epData.url,{method:"POST",body:t});if(n.innerHTML="",a.ok){const t=await a.json(),{success:n,data:o}=t;if(n){const t=[],n=[];for(poll of o)t.push(poll.post_title),n.push(poll.total_submission);new Chart(e,{type:"bar",data:{labels:t,datasets:[{label:"Polls",data:n,borderWidth:1}]},options:{barThickness:50,scales:{y:{beginAtZero:!0},x:{ticks:{callback:function(e){let n=t[e];return n.length>10&&(n=n.substring(0,12)+"..."),n}}}}}})}else alert(o)}else alert("Something went wrong, please refresh the page")}}));
     1document.addEventListener("DOMContentLoaded",(async function(){const e=document.getElementById("ep-active-polls-chart"),t=new FormData;t.set(epData.nonce_action,epData.nonce),t.set("action","ep_get_active_polls_report");const n=document.getElementById("ep-loading-msg");n.innerHTML="Generating report...";const a=await fetch(epData.url,{method:"POST",body:t});if(n.innerHTML="",a.ok){const t=await a.json(),{success:n,data:o}=t;if(n){const t=[],n=[];for(poll of o)t.push(poll.post_title),n.push(poll.total_submission);new Chart(e,{type:"bar",data:{labels:t,datasets:[{label:"Polls",data:n,borderWidth:1}]},options:{barThickness:50,scales:{y:{beginAtZero:!0},x:{ticks:{callback:function(e){let n=t[e];return n.length>10&&(n=n.substring(0,12)+"..."),n}}}}}})}else alert(o)}else alert("Something went wrong, please refresh the page")}));
  • easy-poll/trunk/easy-poll.php

    r3145552 r3145557  
    88 * Text Domain:     easy-poll
    99 * Domain Path:     /languages
    10  * Version:         1.2.1
     10 * Version:         1.2.2
    1111 *
    1212 * @package         EasyPoll
  • easy-poll/trunk/languages/easy-poll.pot

    r3145552 r3145557  
    1 # Copyright (C) 2023 Shewa
     1# Copyright (C) 2024 Shewa
    22# This file is distributed under the same license as the Easy Poll plugin.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Easy Poll 1.2.1\n"
     5"Project-Id-Version: Easy Poll 1.2.2\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/easy-poll\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: 2023-01-25T05:01:26+00:00\n"
     12"POT-Creation-Date: 2024-08-22T17:08:20+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.7.1\n"
     14"X-Generator: WP-CLI 2.11.0\n"
    1515"X-Domain: easy-poll\n"
    1616
    1717#. Plugin Name of the plugin
     18#: easy-poll.php
    1819#: includes/Admin/Menu/MainMenu.php:64
    1920#: includes/Admin/Menu/MainMenu.php:73
     
    2223
    2324#. Plugin URI of the plugin
     25#: easy-poll.php
    2426msgid "https://shewazone.com/products/easy-poll"
    2527msgstr ""
    2628
    2729#. Description of the plugin
     30#: easy-poll.php
    2831msgid "A simple plugin for creating polls, survey, user's feedback management system"
    2932msgstr ""
    3033
    3134#. Author of the plugin
     35#: easy-poll.php
    3236msgid "Shewa"
    3337msgstr ""
    3438
    3539#. Author URI of the plugin
     40#: easy-poll.php
    3641msgid "https://shewazone.com"
    3742msgstr ""
     
    4853#: includes/Admin/Menu/SubMenu/Polls.php:40
    4954#: includes/CustomPosts/EasyPollPost.php:64
    50 #: tests/PHPUnit/EasyPollPostTest.php:64
    5155msgid "Polls"
    5256msgstr ""
     
    6569
    6670#: includes/CustomPosts/EasyPollPost.php:53
    67 #: tests/PHPUnit/EasyPollPostTest.php:53
    6871msgid "Poll"
    6972msgstr ""
    7073
    7174#: includes/CustomPosts/EasyPollPost.php:55
    72 #: tests/PHPUnit/EasyPollPostTest.php:55
    7375msgctxt "post type general name"
    7476msgid "Polls"
     
    7678
    7779#: includes/CustomPosts/EasyPollPost.php:56
    78 #: tests/PHPUnit/EasyPollPostTest.php:56
    7980msgctxt "post type singular name"
    8081msgid "Poll"
     
    8283
    8384#: includes/CustomPosts/EasyPollPost.php:57
    84 #: tests/PHPUnit/EasyPollPostTest.php:57
    8585msgctxt "admin menu"
    8686msgid "Polls"
     
    8888
    8989#: includes/CustomPosts/EasyPollPost.php:58
    90 #: tests/PHPUnit/EasyPollPostTest.php:58
    9190msgctxt "add new on admin bar"
    9291msgid "Poll"
     
    9493
    9594#: includes/CustomPosts/EasyPollPost.php:59
    96 #: tests/PHPUnit/EasyPollPostTest.php:59
    9795msgctxt "tutor Poll add"
    9896msgid "Add New"
     
    10098
    10199#: includes/CustomPosts/EasyPollPost.php:60
    102 #: tests/PHPUnit/EasyPollPostTest.php:60
    103100msgid "Add New Poll"
    104101msgstr ""
    105102
    106103#: includes/CustomPosts/EasyPollPost.php:61
    107 #: tests/PHPUnit/EasyPollPostTest.php:61
    108104msgid "New Poll"
    109105msgstr ""
    110106
    111107#: includes/CustomPosts/EasyPollPost.php:62
    112 #: tests/PHPUnit/EasyPollPostTest.php:62
    113108msgid "Edit Poll"
    114109msgstr ""
    115110
    116111#: includes/CustomPosts/EasyPollPost.php:63
    117 #: tests/PHPUnit/EasyPollPostTest.php:63
    118112msgid "View Poll"
    119113msgstr ""
    120114
    121115#: includes/CustomPosts/EasyPollPost.php:65
    122 #: tests/PHPUnit/EasyPollPostTest.php:65
    123116msgid "Search Polls"
    124117msgstr ""
    125118
    126119#: includes/CustomPosts/EasyPollPost.php:66
    127 #: tests/PHPUnit/EasyPollPostTest.php:66
    128120msgid "Parent Polls:"
    129121msgstr ""
    130122
    131123#: includes/CustomPosts/EasyPollPost.php:67
    132 #: tests/PHPUnit/EasyPollPostTest.php:67
    133124msgid "No Polls found."
    134125msgstr ""
    135126
    136127#: includes/CustomPosts/EasyPollPost.php:68
    137 #: tests/PHPUnit/EasyPollPostTest.php:68
    138128msgid "No Polls found in Trash."
    139129msgstr ""
    140130
    141131#: includes/CustomPosts/EasyPollPost.php:70
    142 #: tests/PHPUnit/EasyPollPostTest.php:70
    143132msgid "Easy poll custom post type"
    144133msgstr ""
     
    448437msgstr ""
    449438
    450 #: views/metabox/poll-builder.php:33
     439#: views/metabox/poll-builder.php:32
    451440msgid "Start Date Time"
    452441msgstr ""
    453442
    454 #: views/metabox/poll-builder.php:39
     443#: views/metabox/poll-builder.php:38
    455444msgid "Expiration Date Time"
    456445msgstr ""
    457446
    458 #: views/metabox/poll-builder.php:45
     447#: views/metabox/poll-builder.php:44
    459448msgid "Timezone"
    460449msgstr ""
    461450
    462 #: views/metabox/poll-builder.php:60
     451#: views/metabox/poll-builder.php:59
    463452msgid "Add Question, Single/Multiple Choice"
    464453msgstr ""
    465454
    466 #: views/metabox/poll-builder.php:64
     455#: views/metabox/poll-builder.php:63
    467456msgid "Add Question, Input/Textarea"
    468457msgstr ""
    469458
    470 #: views/metabox/poll-builder.php:72
     459#: views/metabox/poll-builder.php:71
    471460msgid "Show Poll Summary (Single Type) to Users after Submit the Poll"
    472461msgstr ""
    473462
    474 #: views/metabox/poll-builder.php:83
     463#: views/metabox/poll-builder.php:82
    475464msgid "Poll Questions"
    476465msgstr ""
    477466
    478 #: views/metabox/poll-builder.php:94
     467#: views/metabox/poll-builder.php:93
    479468msgid "Do you want to delete this question?"
    480469msgstr ""
    481470
    482 #: views/metabox/poll-builder.php:94
     471#: views/metabox/poll-builder.php:93
    483472msgid "Warning: Questions & their feedback will be deleted permanently!"
    484473msgstr ""
    485474
    486 #: views/metabox/poll-builder.php:106
     475#: views/metabox/poll-builder.php:105
    487476#: assets/scripts/backend/poll-builder.js:54
    488477#: assets/scripts/backend/poll-builder.js:109
  • easy-poll/trunk/readme.txt

    r3145552 r3145557  
    44Tags: Poll, survey, feedback, contact-form, form, quiz, vote, online-poll
    55Requires at least: 5.3
    6 Tested up to: 6.3
     6Tested up to: 6.6
    77Requires PHP: 7.0
    8 Stable tag: 1.2.1
     8Stable tag: 1.2.2
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    8888=== Changelog ===
    8989
    90 = 1.0.0 =
    91 * Plugin released
     90= 1.2.2 - 02 September, 2024 =
     91Update: Compatibility with latest WordPress
     92
     93= 1.2.0 - 25 January, 2023 =
     94New: Now Admin can see Active poll statistics report on the backend
     95New: Now Admin can see the poll summary percentage of single-type questions
     96New: Now Users can see the poll summary percentage of single-type questions after submitting the poll
    9297
    9398= 1.1.0 - 10 December, 2022 =
     
    98103Fix: Javascript error showing on the console
    99104
    100 = 1.2.0 - 25 January, 2023 =
    101 New: Now Admin can see Active poll statistics report on the backend
    102 New: Now Admin can see the poll summary percentage of single-type questions
    103 New: Now Users can see the poll summary percentage of single-type questions after submitting the poll
    104 
    105 = 1.2.1 - 25 January, 2023 =
    106 Fix: JS error showing on the console of report summary page
    107 Fix: Show poll summary checkbox on the meta box not remaining selected
     105= 1.0.0 =
     106* Plugin released
    108107
    109108=== Upgrade Notice ===
  • easy-poll/trunk/vendor/autoload.php

    r3145552 r3145557  
    33// autoload.php @generated by Composer
    44
    5 if (PHP_VERSION_ID < 50600) {
    6     if (!headers_sent()) {
    7         header('HTTP/1.1 500 Internal Server Error');
    8     }
    9     $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
    10     if (!ini_get('display_errors')) {
    11         if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
    12             fwrite(STDERR, $err);
    13         } elseif (!headers_sent()) {
    14             echo $err;
    15         }
    16     }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
    21 }
    22 
    235require_once __DIR__ . '/composer/autoload_real.php';
    246
    25 return ComposerAutoloaderInit7d2efb7a7c990deec8853dc6c9f628c9::getLoader();
     7return ComposerAutoloaderInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa::getLoader();
  • easy-poll/trunk/vendor/composer/InstalledVersions.php

    r3145552 r3145557  
    2222 *
    2323 * To require its presence, you can require `composer-runtime-api ^2.0`
    24  *
    25  * @final
    2624 */
    2725class InstalledVersions
     
    2927    /**
    3028     * @var mixed[]|null
    31      * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
     29     * @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
    3230     */
    3331    private static $installed;
     
    4038    /**
    4139     * @var array[]
    42      * @psalm-var array<string, array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
     40     * @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
    4341     */
    4442    private static $installedByVendor = array();
     
    244242    /**
    245243     * @return array
    246      * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
     244     * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
    247245     */
    248246    public static function getRootPackage()
     
    258256     * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
    259257     * @return array[]
    260      * @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}
     258     * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
    261259     */
    262260    public static function getRawData()
     
    281279     *
    282280     * @return array[]
    283      * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
     281     * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
    284282     */
    285283    public static function getAllRawData()
     
    304302     * @return void
    305303     *
    306      * @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $data
     304     * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
    307305     */
    308306    public static function reload($data)
     
    314312    /**
    315313     * @return array[]
    316      * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
     314     * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
    317315     */
    318316    private static function getInstalled()
  • easy-poll/trunk/vendor/composer/LICENSE

    r3145552 r3145557  
    1 
    21Copyright (c) Nils Adermann, Jordi Boggiano
    32
     
    1918OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    2019THE SOFTWARE.
    21 
  • easy-poll/trunk/vendor/composer/autoload_classmap.php

    r3145552 r3145557  
    33// autoload_classmap.php @generated by Composer
    44
    5 $vendorDir = dirname(__DIR__);
     5$vendorDir = dirname(dirname(__FILE__));
    66$baseDir = dirname($vendorDir);
    77
  • easy-poll/trunk/vendor/composer/autoload_namespaces.php

    r3145552 r3145557  
    33// autoload_namespaces.php @generated by Composer
    44
    5 $vendorDir = dirname(__DIR__);
     5$vendorDir = dirname(dirname(__FILE__));
    66$baseDir = dirname($vendorDir);
    77
  • easy-poll/trunk/vendor/composer/autoload_psr4.php

    r3145552 r3145557  
    33// autoload_psr4.php @generated by Composer
    44
    5 $vendorDir = dirname(__DIR__);
     5$vendorDir = dirname(dirname(__FILE__));
    66$baseDir = dirname($vendorDir);
    77
  • easy-poll/trunk/vendor/composer/autoload_real.php

    r3145552 r3145557  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit7d2efb7a7c990deec8853dc6c9f628c9
     5class ComposerAutoloaderInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit7d2efb7a7c990deec8853dc6c9f628c9', 'loadClassLoader'), true, true);
    28         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit7d2efb7a7c990deec8853dc6c9f628c9', 'loadClassLoader'));
     27        spl_autoload_register(array('ComposerAutoloaderInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa', 'loadClassLoader'), true, true);
     28        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa', 'loadClassLoader'));
    3030
    31         require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit7d2efb7a7c990deec8853dc6c9f628c9::getInitializer($loader));
     31        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     32        if ($useStaticLoader) {
     33            require __DIR__ . '/autoload_static.php';
     34
     35            call_user_func(\Composer\Autoload\ComposerStaticInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa::getInitializer($loader));
     36        } else {
     37            $map = require __DIR__ . '/autoload_namespaces.php';
     38            foreach ($map as $namespace => $path) {
     39                $loader->set($namespace, $path);
     40            }
     41
     42            $map = require __DIR__ . '/autoload_psr4.php';
     43            foreach ($map as $namespace => $path) {
     44                $loader->setPsr4($namespace, $path);
     45            }
     46
     47            $classMap = require __DIR__ . '/autoload_classmap.php';
     48            if ($classMap) {
     49                $loader->addClassMap($classMap);
     50            }
     51        }
    3352
    3453        $loader->register(true);
  • easy-poll/trunk/vendor/composer/autoload_static.php

    r3145552 r3145557  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit7d2efb7a7c990deec8853dc6c9f628c9
     7class ComposerStaticInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2828    {
    2929        return \Closure::bind(function () use ($loader) {
    30             $loader->prefixLengthsPsr4 = ComposerStaticInit7d2efb7a7c990deec8853dc6c9f628c9::$prefixLengthsPsr4;
    31             $loader->prefixDirsPsr4 = ComposerStaticInit7d2efb7a7c990deec8853dc6c9f628c9::$prefixDirsPsr4;
    32             $loader->classMap = ComposerStaticInit7d2efb7a7c990deec8853dc6c9f628c9::$classMap;
     30            $loader->prefixLengthsPsr4 = ComposerStaticInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa::$prefixLengthsPsr4;
     31            $loader->prefixDirsPsr4 = ComposerStaticInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa::$prefixDirsPsr4;
     32            $loader->classMap = ComposerStaticInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa::$classMap;
    3333
    3434        }, null, ClassLoader::class);
  • easy-poll/trunk/vendor/composer/installed.php

    r3145552 r3145557  
    11<?php return array(
    22    'root' => array(
    3         'name' => 'easy/poll',
    4         'pretty_version' => 'dev-main',
    5         'version' => 'dev-main',
    6         'reference' => '592efbb3ca136036c0ecb7231c103caba9f1016b',
     3        'pretty_version' => 'dev-dev',
     4        'version' => 'dev-dev',
    75        'type' => 'library',
    86        'install_path' => __DIR__ . '/../../',
    97        'aliases' => array(),
     8        'reference' => '552a2da11f548701b2e75cc5310f3d7cdfc30782',
     9        'name' => 'easy/poll',
    1010        'dev' => false,
    1111    ),
    1212    'versions' => array(
    1313        'easy/poll' => array(
    14             'pretty_version' => 'dev-main',
    15             'version' => 'dev-main',
    16             'reference' => '592efbb3ca136036c0ecb7231c103caba9f1016b',
     14            'pretty_version' => 'dev-dev',
     15            'version' => 'dev-dev',
    1716            'type' => 'library',
    1817            'install_path' => __DIR__ . '/../../',
    1918            'aliases' => array(),
     19            'reference' => '552a2da11f548701b2e75cc5310f3d7cdfc30782',
    2020            'dev_requirement' => false,
    2121        ),
     
    2323            'pretty_version' => '3.7.1',
    2424            'version' => '3.7.1.0',
    25             'reference' => '1359e176e9307e906dc3d890bcc9603ff6d90619',
    2625            'type' => 'library',
    2726            'install_path' => __DIR__ . '/../squizlabs/php_codesniffer',
    2827            'aliases' => array(),
     28            'reference' => '1359e176e9307e906dc3d890bcc9603ff6d90619',
    2929            'dev_requirement' => false,
    3030        ),
     
    3232            'pretty_version' => '2.3.0',
    3333            'version' => '2.3.0.0',
    34             'reference' => '7da1894633f168fe244afc6de00d141f27517b62',
    3534            'type' => 'phpcodesniffer-standard',
    3635            'install_path' => __DIR__ . '/../wp-coding-standards/wpcs',
    3736            'aliases' => array(),
     37            'reference' => '7da1894633f168fe244afc6de00d141f27517b62',
    3838            'dev_requirement' => false,
    3939        ),
  • easy-poll/trunk/views/metabox/poll-builder.php

    r3145552 r3145557  
    1111use EasyPoll\Utilities\Utilities;
    1212
    13 $fields            = FormField::get_poll_fields_with_option( get_the_ID() );
    14 $timezones         = Utilities::timezone_lists();
    15 $datetime          = PostCallBack::get_poll_datetime( get_the_ID() );
    16 $plugin_data       = EasyPoll::plugin_data();
    17 $show_poll_summary = get_post_meta( get_the_ID(), PostCallBack::SHOW_POLL_SUMMARY_KEY, true );
     13$fields      = FormField::get_poll_fields_with_option( get_the_ID() );
     14$timezones   = Utilities::timezone_lists();
     15$datetime    = PostCallBack::get_poll_datetime( get_the_ID() );
     16$plugin_data = EasyPoll::plugin_data();
    1817
    1918?>
     
    6867    <!-- poll specific settings -->
    6968    <div class="ep-d-flex ep-gap-10 ep-align-center ep-mt-20">
    70         <input type="checkbox" id="ep-show-poll-summary" name="ep-show-poll-summary" class="ep-mt-10 ep-checkbox" <?php echo esc_attr( $show_poll_summary ? 'checked' : '' ); ?>/>
     69        <input type="checkbox" id="ep-show-poll-summary" name="ep-show-poll-summary" class="ep-mt-10 ep-checkbox" value=""/>
    7170        <label for="ep-show-poll-summary">
    7271            <?php esc_html_e( 'Show Poll Summary (Single Type) to Users after Submit the Poll', 'easy-poll' ); ?>
Note: See TracChangeset for help on using the changeset viewer.