Changeset 3145552
- Timestamp:
- 09/02/2024 05:06:44 PM (19 months ago)
- Location:
- easy-poll/trunk
- Files:
-
- 14 edited
-
assets/lib/chart/chart-config.js (modified) (1 diff)
-
easy-poll.php (modified) (1 diff)
-
languages/easy-poll.pot (modified) (11 diffs)
-
readme.txt (modified) (2 diffs)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/InstalledVersions.php (modified) (8 diffs)
-
vendor/composer/LICENSE (modified) (2 diffs)
-
vendor/composer/autoload_classmap.php (modified) (1 diff)
-
vendor/composer/autoload_namespaces.php (modified) (1 diff)
-
vendor/composer/autoload_psr4.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (2 diffs)
-
vendor/composer/autoload_static.php (modified) (2 diffs)
-
vendor/composer/installed.php (modified) (3 diffs)
-
views/metabox/poll-builder.php (modified) (2 diffs)
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")}));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")}})); -
easy-poll/trunk/easy-poll.php
r3139894 r3145552 8 8 * Text Domain: easy-poll 9 9 * Domain Path: /languages 10 * Version: 1.2. 210 * Version: 1.2.1 11 11 * 12 12 * @package EasyPoll -
easy-poll/trunk/languages/easy-poll.pot
r3139894 r3145552 1 # Copyright (C) 202 4Shewa1 # Copyright (C) 2023 Shewa 2 2 # This file is distributed under the same license as the Easy Poll plugin. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Easy Poll 1.2. 2\n"5 "Project-Id-Version: Easy Poll 1.2.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/easy-poll\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 4-08-22T17:08:20+00:00\n"12 "POT-Creation-Date: 2023-01-25T05:01:26+00:00\n" 13 13 "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" 15 15 "X-Domain: easy-poll\n" 16 16 17 17 #. Plugin Name of the plugin 18 #: easy-poll.php19 18 #: includes/Admin/Menu/MainMenu.php:64 20 19 #: includes/Admin/Menu/MainMenu.php:73 … … 23 22 24 23 #. Plugin URI of the plugin 25 #: easy-poll.php26 24 msgid "https://shewazone.com/products/easy-poll" 27 25 msgstr "" 28 26 29 27 #. Description of the plugin 30 #: easy-poll.php31 28 msgid "A simple plugin for creating polls, survey, user's feedback management system" 32 29 msgstr "" 33 30 34 31 #. Author of the plugin 35 #: easy-poll.php36 32 msgid "Shewa" 37 33 msgstr "" 38 34 39 35 #. Author URI of the plugin 40 #: easy-poll.php41 36 msgid "https://shewazone.com" 42 37 msgstr "" … … 53 48 #: includes/Admin/Menu/SubMenu/Polls.php:40 54 49 #: includes/CustomPosts/EasyPollPost.php:64 50 #: tests/PHPUnit/EasyPollPostTest.php:64 55 51 msgid "Polls" 56 52 msgstr "" … … 69 65 70 66 #: includes/CustomPosts/EasyPollPost.php:53 67 #: tests/PHPUnit/EasyPollPostTest.php:53 71 68 msgid "Poll" 72 69 msgstr "" 73 70 74 71 #: includes/CustomPosts/EasyPollPost.php:55 72 #: tests/PHPUnit/EasyPollPostTest.php:55 75 73 msgctxt "post type general name" 76 74 msgid "Polls" … … 78 76 79 77 #: includes/CustomPosts/EasyPollPost.php:56 78 #: tests/PHPUnit/EasyPollPostTest.php:56 80 79 msgctxt "post type singular name" 81 80 msgid "Poll" … … 83 82 84 83 #: includes/CustomPosts/EasyPollPost.php:57 84 #: tests/PHPUnit/EasyPollPostTest.php:57 85 85 msgctxt "admin menu" 86 86 msgid "Polls" … … 88 88 89 89 #: includes/CustomPosts/EasyPollPost.php:58 90 #: tests/PHPUnit/EasyPollPostTest.php:58 90 91 msgctxt "add new on admin bar" 91 92 msgid "Poll" … … 93 94 94 95 #: includes/CustomPosts/EasyPollPost.php:59 96 #: tests/PHPUnit/EasyPollPostTest.php:59 95 97 msgctxt "tutor Poll add" 96 98 msgid "Add New" … … 98 100 99 101 #: includes/CustomPosts/EasyPollPost.php:60 102 #: tests/PHPUnit/EasyPollPostTest.php:60 100 103 msgid "Add New Poll" 101 104 msgstr "" 102 105 103 106 #: includes/CustomPosts/EasyPollPost.php:61 107 #: tests/PHPUnit/EasyPollPostTest.php:61 104 108 msgid "New Poll" 105 109 msgstr "" 106 110 107 111 #: includes/CustomPosts/EasyPollPost.php:62 112 #: tests/PHPUnit/EasyPollPostTest.php:62 108 113 msgid "Edit Poll" 109 114 msgstr "" 110 115 111 116 #: includes/CustomPosts/EasyPollPost.php:63 117 #: tests/PHPUnit/EasyPollPostTest.php:63 112 118 msgid "View Poll" 113 119 msgstr "" 114 120 115 121 #: includes/CustomPosts/EasyPollPost.php:65 122 #: tests/PHPUnit/EasyPollPostTest.php:65 116 123 msgid "Search Polls" 117 124 msgstr "" 118 125 119 126 #: includes/CustomPosts/EasyPollPost.php:66 127 #: tests/PHPUnit/EasyPollPostTest.php:66 120 128 msgid "Parent Polls:" 121 129 msgstr "" 122 130 123 131 #: includes/CustomPosts/EasyPollPost.php:67 132 #: tests/PHPUnit/EasyPollPostTest.php:67 124 133 msgid "No Polls found." 125 134 msgstr "" 126 135 127 136 #: includes/CustomPosts/EasyPollPost.php:68 137 #: tests/PHPUnit/EasyPollPostTest.php:68 128 138 msgid "No Polls found in Trash." 129 139 msgstr "" 130 140 131 141 #: includes/CustomPosts/EasyPollPost.php:70 142 #: tests/PHPUnit/EasyPollPostTest.php:70 132 143 msgid "Easy poll custom post type" 133 144 msgstr "" … … 437 448 msgstr "" 438 449 439 #: views/metabox/poll-builder.php:3 2450 #: views/metabox/poll-builder.php:33 440 451 msgid "Start Date Time" 441 452 msgstr "" 442 453 443 #: views/metabox/poll-builder.php:3 8454 #: views/metabox/poll-builder.php:39 444 455 msgid "Expiration Date Time" 445 456 msgstr "" 446 457 447 #: views/metabox/poll-builder.php:4 4458 #: views/metabox/poll-builder.php:45 448 459 msgid "Timezone" 449 460 msgstr "" 450 461 451 #: views/metabox/poll-builder.php: 59462 #: views/metabox/poll-builder.php:60 452 463 msgid "Add Question, Single/Multiple Choice" 453 464 msgstr "" 454 465 455 #: views/metabox/poll-builder.php:6 3466 #: views/metabox/poll-builder.php:64 456 467 msgid "Add Question, Input/Textarea" 457 468 msgstr "" 458 469 459 #: views/metabox/poll-builder.php:7 1470 #: views/metabox/poll-builder.php:72 460 471 msgid "Show Poll Summary (Single Type) to Users after Submit the Poll" 461 472 msgstr "" 462 473 463 #: views/metabox/poll-builder.php:8 2474 #: views/metabox/poll-builder.php:83 464 475 msgid "Poll Questions" 465 476 msgstr "" 466 477 467 #: views/metabox/poll-builder.php:9 3478 #: views/metabox/poll-builder.php:94 468 479 msgid "Do you want to delete this question?" 469 480 msgstr "" 470 481 471 #: views/metabox/poll-builder.php:9 3482 #: views/metabox/poll-builder.php:94 472 483 msgid "Warning: Questions & their feedback will be deleted permanently!" 473 484 msgstr "" 474 485 475 #: views/metabox/poll-builder.php:10 5486 #: views/metabox/poll-builder.php:106 476 487 #: assets/scripts/backend/poll-builder.js:54 477 488 #: assets/scripts/backend/poll-builder.js:109 -
easy-poll/trunk/readme.txt
r3139894 r3145552 4 4 Tags: Poll, survey, feedback, contact-form, form, quiz, vote, online-poll 5 5 Requires at least: 5.3 6 Tested up to: 6. 66 Tested up to: 6.3 7 7 Requires PHP: 7.0 8 Stable tag: 1.2. 28 Stable tag: 1.2.1 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 103 103 New: Now Users can see the poll summary percentage of single-type questions after submitting the poll 104 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 108 105 109 === Upgrade Notice === -
easy-poll/trunk/vendor/autoload.php
r3139894 r3145552 3 3 // autoload.php @generated by Composer 4 4 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 5 23 require_once __DIR__ . '/composer/autoload_real.php'; 6 24 7 return ComposerAutoloaderInit 3a4a9dcb2fc02f3e0a7bf2bcc8867cfa::getLoader();25 return ComposerAutoloaderInit7d2efb7a7c990deec8853dc6c9f628c9::getLoader(); -
easy-poll/trunk/vendor/composer/InstalledVersions.php
r3139894 r3145552 22 22 * 23 23 * To require its presence, you can require `composer-runtime-api ^2.0` 24 * 25 * @final 24 26 */ 25 27 class InstalledVersions … … 27 29 /** 28 30 * @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{}|null31 * @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 30 32 */ 31 33 private static $installed; … … 38 40 /** 39 41 * @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[]}>}> 41 43 */ 42 44 private static $installedByVendor = array(); … … 242 244 /** 243 245 * @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} 245 247 */ 246 248 public static function getRootPackage() … … 256 258 * @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. 257 259 * @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[]}>} 259 261 */ 260 262 public static function getRawData() … … 279 281 * 280 282 * @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[]}>}> 282 284 */ 283 285 public static function getAllRawData() … … 302 304 * @return void 303 305 * 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}>} $data306 * @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 305 307 */ 306 308 public static function reload($data) … … 312 314 /** 313 315 * @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[]}>}> 315 317 */ 316 318 private static function getInstalled() -
easy-poll/trunk/vendor/composer/LICENSE
r3139894 r3145552 1 1 2 Copyright (c) Nils Adermann, Jordi Boggiano 2 3 … … 18 19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 20 THE SOFTWARE. 21 -
easy-poll/trunk/vendor/composer/autoload_classmap.php
r3139894 r3145552 3 3 // autoload_classmap.php @generated by Composer 4 4 5 $vendorDir = dirname( dirname(__FILE__));5 $vendorDir = dirname(__DIR__); 6 6 $baseDir = dirname($vendorDir); 7 7 -
easy-poll/trunk/vendor/composer/autoload_namespaces.php
r3139894 r3145552 3 3 // autoload_namespaces.php @generated by Composer 4 4 5 $vendorDir = dirname( dirname(__FILE__));5 $vendorDir = dirname(__DIR__); 6 6 $baseDir = dirname($vendorDir); 7 7 -
easy-poll/trunk/vendor/composer/autoload_psr4.php
r3139894 r3145552 3 3 // autoload_psr4.php @generated by Composer 4 4 5 $vendorDir = dirname( dirname(__FILE__));5 $vendorDir = dirname(__DIR__); 6 6 $baseDir = dirname($vendorDir); 7 7 -
easy-poll/trunk/vendor/composer/autoload_real.php
r3139894 r3145552 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 3a4a9dcb2fc02f3e0a7bf2bcc8867cfa5 class ComposerAutoloaderInit7d2efb7a7c990deec8853dc6c9f628c9 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 3a4a9dcb2fc02f3e0a7bf2bcc8867cfa', 'loadClassLoader'), true, true);28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname( \dirname(__FILE__)));29 spl_autoload_unregister(array('ComposerAutoloaderInit 3a4a9dcb2fc02f3e0a7bf2bcc8867cfa', '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')); 30 30 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)); 52 33 53 34 $loader->register(true); -
easy-poll/trunk/vendor/composer/autoload_static.php
r3139894 r3145552 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 3a4a9dcb2fc02f3e0a7bf2bcc8867cfa7 class ComposerStaticInit7d2efb7a7c990deec8853dc6c9f628c9 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 28 28 { 29 29 return \Closure::bind(function () use ($loader) { 30 $loader->prefixLengthsPsr4 = ComposerStaticInit 3a4a9dcb2fc02f3e0a7bf2bcc8867cfa::$prefixLengthsPsr4;31 $loader->prefixDirsPsr4 = ComposerStaticInit 3a4a9dcb2fc02f3e0a7bf2bcc8867cfa::$prefixDirsPsr4;32 $loader->classMap = ComposerStaticInit 3a4a9dcb2fc02f3e0a7bf2bcc8867cfa::$classMap;30 $loader->prefixLengthsPsr4 = ComposerStaticInit7d2efb7a7c990deec8853dc6c9f628c9::$prefixLengthsPsr4; 31 $loader->prefixDirsPsr4 = ComposerStaticInit7d2efb7a7c990deec8853dc6c9f628c9::$prefixDirsPsr4; 32 $loader->classMap = ComposerStaticInit7d2efb7a7c990deec8853dc6c9f628c9::$classMap; 33 33 34 34 }, null, ClassLoader::class); -
easy-poll/trunk/vendor/composer/installed.php
r3139894 r3145552 1 1 <?php return array( 2 2 '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', 5 7 'type' => 'library', 6 8 'install_path' => __DIR__ . '/../../', 7 9 'aliases' => array(), 8 'reference' => '552a2da11f548701b2e75cc5310f3d7cdfc30782',9 'name' => 'easy/poll',10 10 'dev' => false, 11 11 ), 12 12 'versions' => array( 13 13 'easy/poll' => array( 14 'pretty_version' => 'dev-dev', 15 'version' => 'dev-dev', 14 'pretty_version' => 'dev-main', 15 'version' => 'dev-main', 16 'reference' => '592efbb3ca136036c0ecb7231c103caba9f1016b', 16 17 'type' => 'library', 17 18 'install_path' => __DIR__ . '/../../', 18 19 'aliases' => array(), 19 'reference' => '552a2da11f548701b2e75cc5310f3d7cdfc30782',20 20 'dev_requirement' => false, 21 21 ), … … 23 23 'pretty_version' => '3.7.1', 24 24 'version' => '3.7.1.0', 25 'reference' => '1359e176e9307e906dc3d890bcc9603ff6d90619', 25 26 'type' => 'library', 26 27 'install_path' => __DIR__ . '/../squizlabs/php_codesniffer', 27 28 'aliases' => array(), 28 'reference' => '1359e176e9307e906dc3d890bcc9603ff6d90619',29 29 'dev_requirement' => false, 30 30 ), … … 32 32 'pretty_version' => '2.3.0', 33 33 'version' => '2.3.0.0', 34 'reference' => '7da1894633f168fe244afc6de00d141f27517b62', 34 35 'type' => 'phpcodesniffer-standard', 35 36 'install_path' => __DIR__ . '/../wp-coding-standards/wpcs', 36 37 'aliases' => array(), 37 'reference' => '7da1894633f168fe244afc6de00d141f27517b62',38 38 'dev_requirement' => false, 39 39 ), -
easy-poll/trunk/views/metabox/poll-builder.php
r3139894 r3145552 11 11 use EasyPoll\Utilities\Utilities; 12 12 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 ); 17 18 18 19 ?> … … 67 68 <!-- poll specific settings --> 68 69 <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' : '' ); ?>/> 70 71 <label for="ep-show-poll-summary"> 71 72 <?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.