Plugin Directory

Changeset 3145552


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

Removed 1.2.2 files

Location:
easy-poll/trunk
Files:
14 edited

Legend:

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

    r3139894 r3145552  
    1 document.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")}));
     1document.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")}}));
  • easy-poll/trunk/easy-poll.php

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

    r3139894 r3145552  
    1 # Copyright (C) 2024 Shewa
     1# Copyright (C) 2023 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.2\n"
     5"Project-Id-Version: Easy Poll 1.2.1\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: 2024-08-22T17:08:20+00:00\n"
     12"POT-Creation-Date: 2023-01-25T05:01:26+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.11.0\n"
     14"X-Generator: WP-CLI 2.7.1\n"
    1515"X-Domain: easy-poll\n"
    1616
    1717#. Plugin Name of the plugin
    18 #: easy-poll.php
    1918#: includes/Admin/Menu/MainMenu.php:64
    2019#: includes/Admin/Menu/MainMenu.php:73
     
    2322
    2423#. Plugin URI of the plugin
    25 #: easy-poll.php
    2624msgid "https://shewazone.com/products/easy-poll"
    2725msgstr ""
    2826
    2927#. Description of the plugin
    30 #: easy-poll.php
    3128msgid "A simple plugin for creating polls, survey, user's feedback management system"
    3229msgstr ""
    3330
    3431#. Author of the plugin
    35 #: easy-poll.php
    3632msgid "Shewa"
    3733msgstr ""
    3834
    3935#. Author URI of the plugin
    40 #: easy-poll.php
    4136msgid "https://shewazone.com"
    4237msgstr ""
     
    5348#: includes/Admin/Menu/SubMenu/Polls.php:40
    5449#: includes/CustomPosts/EasyPollPost.php:64
     50#: tests/PHPUnit/EasyPollPostTest.php:64
    5551msgid "Polls"
    5652msgstr ""
     
    6965
    7066#: includes/CustomPosts/EasyPollPost.php:53
     67#: tests/PHPUnit/EasyPollPostTest.php:53
    7168msgid "Poll"
    7269msgstr ""
    7370
    7471#: includes/CustomPosts/EasyPollPost.php:55
     72#: tests/PHPUnit/EasyPollPostTest.php:55
    7573msgctxt "post type general name"
    7674msgid "Polls"
     
    7876
    7977#: includes/CustomPosts/EasyPollPost.php:56
     78#: tests/PHPUnit/EasyPollPostTest.php:56
    8079msgctxt "post type singular name"
    8180msgid "Poll"
     
    8382
    8483#: 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
    9091msgctxt "add new on admin bar"
    9192msgid "Poll"
     
    9394
    9495#: includes/CustomPosts/EasyPollPost.php:59
     96#: tests/PHPUnit/EasyPollPostTest.php:59
    9597msgctxt "tutor Poll add"
    9698msgid "Add New"
     
    98100
    99101#: includes/CustomPosts/EasyPollPost.php:60
     102#: tests/PHPUnit/EasyPollPostTest.php:60
    100103msgid "Add New Poll"
    101104msgstr ""
    102105
    103106#: includes/CustomPosts/EasyPollPost.php:61
     107#: tests/PHPUnit/EasyPollPostTest.php:61
    104108msgid "New Poll"
    105109msgstr ""
    106110
    107111#: includes/CustomPosts/EasyPollPost.php:62
     112#: tests/PHPUnit/EasyPollPostTest.php:62
    108113msgid "Edit Poll"
    109114msgstr ""
    110115
    111116#: includes/CustomPosts/EasyPollPost.php:63
     117#: tests/PHPUnit/EasyPollPostTest.php:63
    112118msgid "View Poll"
    113119msgstr ""
    114120
    115121#: includes/CustomPosts/EasyPollPost.php:65
     122#: tests/PHPUnit/EasyPollPostTest.php:65
    116123msgid "Search Polls"
    117124msgstr ""
    118125
    119126#: includes/CustomPosts/EasyPollPost.php:66
     127#: tests/PHPUnit/EasyPollPostTest.php:66
    120128msgid "Parent Polls:"
    121129msgstr ""
    122130
    123131#: includes/CustomPosts/EasyPollPost.php:67
     132#: tests/PHPUnit/EasyPollPostTest.php:67
    124133msgid "No Polls found."
    125134msgstr ""
    126135
    127136#: includes/CustomPosts/EasyPollPost.php:68
     137#: tests/PHPUnit/EasyPollPostTest.php:68
    128138msgid "No Polls found in Trash."
    129139msgstr ""
    130140
    131141#: includes/CustomPosts/EasyPollPost.php:70
     142#: tests/PHPUnit/EasyPollPostTest.php:70
    132143msgid "Easy poll custom post type"
    133144msgstr ""
     
    437448msgstr ""
    438449
    439 #: views/metabox/poll-builder.php:32
     450#: views/metabox/poll-builder.php:33
    440451msgid "Start Date Time"
    441452msgstr ""
    442453
    443 #: views/metabox/poll-builder.php:38
     454#: views/metabox/poll-builder.php:39
    444455msgid "Expiration Date Time"
    445456msgstr ""
    446457
    447 #: views/metabox/poll-builder.php:44
     458#: views/metabox/poll-builder.php:45
    448459msgid "Timezone"
    449460msgstr ""
    450461
    451 #: views/metabox/poll-builder.php:59
     462#: views/metabox/poll-builder.php:60
    452463msgid "Add Question, Single/Multiple Choice"
    453464msgstr ""
    454465
    455 #: views/metabox/poll-builder.php:63
     466#: views/metabox/poll-builder.php:64
    456467msgid "Add Question, Input/Textarea"
    457468msgstr ""
    458469
    459 #: views/metabox/poll-builder.php:71
     470#: views/metabox/poll-builder.php:72
    460471msgid "Show Poll Summary (Single Type) to Users after Submit the Poll"
    461472msgstr ""
    462473
    463 #: views/metabox/poll-builder.php:82
     474#: views/metabox/poll-builder.php:83
    464475msgid "Poll Questions"
    465476msgstr ""
    466477
    467 #: views/metabox/poll-builder.php:93
     478#: views/metabox/poll-builder.php:94
    468479msgid "Do you want to delete this question?"
    469480msgstr ""
    470481
    471 #: views/metabox/poll-builder.php:93
     482#: views/metabox/poll-builder.php:94
    472483msgid "Warning: Questions & their feedback will be deleted permanently!"
    473484msgstr ""
    474485
    475 #: views/metabox/poll-builder.php:105
     486#: views/metabox/poll-builder.php:106
    476487#: assets/scripts/backend/poll-builder.js:54
    477488#: assets/scripts/backend/poll-builder.js:109
  • easy-poll/trunk/readme.txt

    r3139894 r3145552  
    44Tags: Poll, survey, feedback, contact-form, form, quiz, vote, online-poll
    55Requires at least: 5.3
    6 Tested up to: 6.6
     6Tested up to: 6.3
    77Requires PHP: 7.0
    8 Stable tag: 1.2.2
     8Stable tag: 1.2.1
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    103103New: Now Users can see the poll summary percentage of single-type questions after submitting the poll
    104104
     105= 1.2.1 - 25 January, 2023 =
     106Fix: JS error showing on the console of report summary page
     107Fix: Show poll summary checkbox on the meta box not remaining selected
     108
    105109=== Upgrade Notice ===
  • easy-poll/trunk/vendor/autoload.php

    r3139894 r3145552  
    33// autoload.php @generated by Composer
    44
     5if (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
    523require_once __DIR__ . '/composer/autoload_real.php';
    624
    7 return ComposerAutoloaderInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa::getLoader();
     25return ComposerAutoloaderInit7d2efb7a7c990deec8853dc6c9f628c9::getLoader();
  • easy-poll/trunk/vendor/composer/InstalledVersions.php

    r3139894 r3145552  
    2222 *
    2323 * To require its presence, you can require `composer-runtime-api ^2.0`
     24 *
     25 * @final
    2426 */
    2527class InstalledVersions
     
    2729    /**
    2830     * @var mixed[]|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
     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
    3032     */
    3133    private static $installed;
     
    3840    /**
    3941     * @var array[]
    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}>}>
     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[]}>}>
    4143     */
    4244    private static $installedByVendor = array();
     
    242244    /**
    243245     * @return array
    244      * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
     246     * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
    245247     */
    246248    public static function getRootPackage()
     
    256258     * @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.
    257259     * @return array[]
    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}>}
     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[]}>}
    259261     */
    260262    public static function getRawData()
     
    279281     *
    280282     * @return array[]
    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}>}>
     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[]}>}>
    282284     */
    283285    public static function getAllRawData()
     
    302304     * @return void
    303305     *
    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
     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
    305307     */
    306308    public static function reload($data)
     
    312314    /**
    313315     * @return array[]
    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}>}>
     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[]}>}>
    315317     */
    316318    private static function getInstalled()
  • easy-poll/trunk/vendor/composer/LICENSE

    r3139894 r3145552  
     1
    12Copyright (c) Nils Adermann, Jordi Boggiano
    23
     
    1819OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    1920THE SOFTWARE.
     21
  • easy-poll/trunk/vendor/composer/autoload_classmap.php

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

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

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

    r3139894 r3145552  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa
     5class ComposerAutoloaderInit7d2efb7a7c990deec8853dc6c9f628c9
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    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'));
     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'));
    3030
    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         }
     31        require __DIR__ . '/autoload_static.php';
     32        call_user_func(\Composer\Autoload\ComposerStaticInit7d2efb7a7c990deec8853dc6c9f628c9::getInitializer($loader));
    5233
    5334        $loader->register(true);
  • easy-poll/trunk/vendor/composer/autoload_static.php

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

    r3139894 r3145552  
    11<?php return array(
    22    'root' => array(
    3         'pretty_version' => 'dev-dev',
    4         'version' => 'dev-dev',
     3        'name' => 'easy/poll',
     4        'pretty_version' => 'dev-main',
     5        'version' => 'dev-main',
     6        'reference' => '592efbb3ca136036c0ecb7231c103caba9f1016b',
    57        'type' => 'library',
    68        'install_path' => __DIR__ . '/../../',
    79        'aliases' => array(),
    8         'reference' => '552a2da11f548701b2e75cc5310f3d7cdfc30782',
    9         'name' => 'easy/poll',
    1010        'dev' => false,
    1111    ),
    1212    'versions' => array(
    1313        'easy/poll' => array(
    14             'pretty_version' => 'dev-dev',
    15             'version' => 'dev-dev',
     14            'pretty_version' => 'dev-main',
     15            'version' => 'dev-main',
     16            'reference' => '592efbb3ca136036c0ecb7231c103caba9f1016b',
    1617            'type' => 'library',
    1718            'install_path' => __DIR__ . '/../../',
    1819            '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',
    2526            'type' => 'library',
    2627            'install_path' => __DIR__ . '/../squizlabs/php_codesniffer',
    2728            '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',
    3435            'type' => 'phpcodesniffer-standard',
    3536            'install_path' => __DIR__ . '/../wp-coding-standards/wpcs',
    3637            'aliases' => array(),
    37             'reference' => '7da1894633f168fe244afc6de00d141f27517b62',
    3838            'dev_requirement' => false,
    3939        ),
  • easy-poll/trunk/views/metabox/poll-builder.php

    r3139894 r3145552  
    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();
     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 );
    1718
    1819?>
     
    6768    <!-- poll specific settings -->
    6869    <div class="ep-d-flex ep-gap-10 ep-align-center ep-mt-20">
    69         <input type="checkbox" id="ep-show-poll-summary" name="ep-show-poll-summary" class="ep-mt-10 ep-checkbox" value=""/>
     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' : '' ); ?>/>
    7071        <label for="ep-show-poll-summary">
    7172            <?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.