Changeset 3145557
- Timestamp:
- 09/02/2024 05:26:04 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) (3 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
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")}}));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")})); -
easy-poll/trunk/easy-poll.php
r3145552 r3145557 8 8 * Text Domain: easy-poll 9 9 * Domain Path: /languages 10 * Version: 1.2. 110 * Version: 1.2.2 11 11 * 12 12 * @package EasyPoll -
easy-poll/trunk/languages/easy-poll.pot
r3145552 r3145557 1 # Copyright (C) 202 3Shewa1 # Copyright (C) 2024 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. 1\n"5 "Project-Id-Version: Easy Poll 1.2.2\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 3-01-25T05:01:26+00:00\n"12 "POT-Creation-Date: 2024-08-22T17:08:20+00:00\n" 13 13 "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" 15 15 "X-Domain: easy-poll\n" 16 16 17 17 #. Plugin Name of the plugin 18 #: easy-poll.php 18 19 #: includes/Admin/Menu/MainMenu.php:64 19 20 #: includes/Admin/Menu/MainMenu.php:73 … … 22 23 23 24 #. Plugin URI of the plugin 25 #: easy-poll.php 24 26 msgid "https://shewazone.com/products/easy-poll" 25 27 msgstr "" 26 28 27 29 #. Description of the plugin 30 #: easy-poll.php 28 31 msgid "A simple plugin for creating polls, survey, user's feedback management system" 29 32 msgstr "" 30 33 31 34 #. Author of the plugin 35 #: easy-poll.php 32 36 msgid "Shewa" 33 37 msgstr "" 34 38 35 39 #. Author URI of the plugin 40 #: easy-poll.php 36 41 msgid "https://shewazone.com" 37 42 msgstr "" … … 48 53 #: includes/Admin/Menu/SubMenu/Polls.php:40 49 54 #: includes/CustomPosts/EasyPollPost.php:64 50 #: tests/PHPUnit/EasyPollPostTest.php:6451 55 msgid "Polls" 52 56 msgstr "" … … 65 69 66 70 #: includes/CustomPosts/EasyPollPost.php:53 67 #: tests/PHPUnit/EasyPollPostTest.php:5368 71 msgid "Poll" 69 72 msgstr "" 70 73 71 74 #: includes/CustomPosts/EasyPollPost.php:55 72 #: tests/PHPUnit/EasyPollPostTest.php:5573 75 msgctxt "post type general name" 74 76 msgid "Polls" … … 76 78 77 79 #: includes/CustomPosts/EasyPollPost.php:56 78 #: tests/PHPUnit/EasyPollPostTest.php:5679 80 msgctxt "post type singular name" 80 81 msgid "Poll" … … 82 83 83 84 #: includes/CustomPosts/EasyPollPost.php:57 84 #: tests/PHPUnit/EasyPollPostTest.php:5785 85 msgctxt "admin menu" 86 86 msgid "Polls" … … 88 88 89 89 #: includes/CustomPosts/EasyPollPost.php:58 90 #: tests/PHPUnit/EasyPollPostTest.php:5891 90 msgctxt "add new on admin bar" 92 91 msgid "Poll" … … 94 93 95 94 #: includes/CustomPosts/EasyPollPost.php:59 96 #: tests/PHPUnit/EasyPollPostTest.php:5997 95 msgctxt "tutor Poll add" 98 96 msgid "Add New" … … 100 98 101 99 #: includes/CustomPosts/EasyPollPost.php:60 102 #: tests/PHPUnit/EasyPollPostTest.php:60103 100 msgid "Add New Poll" 104 101 msgstr "" 105 102 106 103 #: includes/CustomPosts/EasyPollPost.php:61 107 #: tests/PHPUnit/EasyPollPostTest.php:61108 104 msgid "New Poll" 109 105 msgstr "" 110 106 111 107 #: includes/CustomPosts/EasyPollPost.php:62 112 #: tests/PHPUnit/EasyPollPostTest.php:62113 108 msgid "Edit Poll" 114 109 msgstr "" 115 110 116 111 #: includes/CustomPosts/EasyPollPost.php:63 117 #: tests/PHPUnit/EasyPollPostTest.php:63118 112 msgid "View Poll" 119 113 msgstr "" 120 114 121 115 #: includes/CustomPosts/EasyPollPost.php:65 122 #: tests/PHPUnit/EasyPollPostTest.php:65123 116 msgid "Search Polls" 124 117 msgstr "" 125 118 126 119 #: includes/CustomPosts/EasyPollPost.php:66 127 #: tests/PHPUnit/EasyPollPostTest.php:66128 120 msgid "Parent Polls:" 129 121 msgstr "" 130 122 131 123 #: includes/CustomPosts/EasyPollPost.php:67 132 #: tests/PHPUnit/EasyPollPostTest.php:67133 124 msgid "No Polls found." 134 125 msgstr "" 135 126 136 127 #: includes/CustomPosts/EasyPollPost.php:68 137 #: tests/PHPUnit/EasyPollPostTest.php:68138 128 msgid "No Polls found in Trash." 139 129 msgstr "" 140 130 141 131 #: includes/CustomPosts/EasyPollPost.php:70 142 #: tests/PHPUnit/EasyPollPostTest.php:70143 132 msgid "Easy poll custom post type" 144 133 msgstr "" … … 448 437 msgstr "" 449 438 450 #: views/metabox/poll-builder.php:3 3439 #: views/metabox/poll-builder.php:32 451 440 msgid "Start Date Time" 452 441 msgstr "" 453 442 454 #: views/metabox/poll-builder.php:3 9443 #: views/metabox/poll-builder.php:38 455 444 msgid "Expiration Date Time" 456 445 msgstr "" 457 446 458 #: views/metabox/poll-builder.php:4 5447 #: views/metabox/poll-builder.php:44 459 448 msgid "Timezone" 460 449 msgstr "" 461 450 462 #: views/metabox/poll-builder.php: 60451 #: views/metabox/poll-builder.php:59 463 452 msgid "Add Question, Single/Multiple Choice" 464 453 msgstr "" 465 454 466 #: views/metabox/poll-builder.php:6 4455 #: views/metabox/poll-builder.php:63 467 456 msgid "Add Question, Input/Textarea" 468 457 msgstr "" 469 458 470 #: views/metabox/poll-builder.php:7 2459 #: views/metabox/poll-builder.php:71 471 460 msgid "Show Poll Summary (Single Type) to Users after Submit the Poll" 472 461 msgstr "" 473 462 474 #: views/metabox/poll-builder.php:8 3463 #: views/metabox/poll-builder.php:82 475 464 msgid "Poll Questions" 476 465 msgstr "" 477 466 478 #: views/metabox/poll-builder.php:9 4467 #: views/metabox/poll-builder.php:93 479 468 msgid "Do you want to delete this question?" 480 469 msgstr "" 481 470 482 #: views/metabox/poll-builder.php:9 4471 #: views/metabox/poll-builder.php:93 483 472 msgid "Warning: Questions & their feedback will be deleted permanently!" 484 473 msgstr "" 485 474 486 #: views/metabox/poll-builder.php:10 6475 #: views/metabox/poll-builder.php:105 487 476 #: assets/scripts/backend/poll-builder.js:54 488 477 #: assets/scripts/backend/poll-builder.js:109 -
easy-poll/trunk/readme.txt
r3145552 r3145557 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. 36 Tested up to: 6.6 7 7 Requires PHP: 7.0 8 Stable tag: 1.2. 18 Stable tag: 1.2.2 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 88 88 === Changelog === 89 89 90 = 1.0.0 = 91 * Plugin released 90 = 1.2.2 - 02 September, 2024 = 91 Update: Compatibility with latest WordPress 92 93 = 1.2.0 - 25 January, 2023 = 94 New: Now Admin can see Active poll statistics report on the backend 95 New: Now Admin can see the poll summary percentage of single-type questions 96 New: Now Users can see the poll summary percentage of single-type questions after submitting the poll 92 97 93 98 = 1.1.0 - 10 December, 2022 = … … 98 103 Fix: Javascript error showing on the console 99 104 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 108 107 109 108 === Upgrade Notice === -
easy-poll/trunk/vendor/autoload.php
r3145552 r3145557 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_ERROR20 );21 }22 23 5 require_once __DIR__ . '/composer/autoload_real.php'; 24 6 25 return ComposerAutoloaderInit 7d2efb7a7c990deec8853dc6c9f628c9::getLoader();7 return ComposerAutoloaderInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa::getLoader(); -
easy-poll/trunk/vendor/composer/InstalledVersions.php
r3145552 r3145557 22 22 * 23 23 * To require its presence, you can require `composer-runtime-api ^2.0` 24 *25 * @final26 24 */ 27 25 class InstalledVersions … … 29 27 /** 30 28 * @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{}|null29 * @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 32 30 */ 33 31 private static $installed; … … 40 38 /** 41 39 * @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}>}> 43 41 */ 44 42 private static $installedByVendor = array(); … … 244 242 /** 245 243 * @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} 247 245 */ 248 246 public static function getRootPackage() … … 258 256 * @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. 259 257 * @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}>} 261 259 */ 262 260 public static function getRawData() … … 281 279 * 282 280 * @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}>}> 284 282 */ 285 283 public static function getAllRawData() … … 304 302 * @return void 305 303 * 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[]}>} $data304 * @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 307 305 */ 308 306 public static function reload($data) … … 314 312 /** 315 313 * @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}>}> 317 315 */ 318 316 private static function getInstalled() -
easy-poll/trunk/vendor/composer/LICENSE
r3145552 r3145557 1 2 1 Copyright (c) Nils Adermann, Jordi Boggiano 3 2 … … 19 18 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 19 THE SOFTWARE. 21 -
easy-poll/trunk/vendor/composer/autoload_classmap.php
r3145552 r3145557 3 3 // autoload_classmap.php @generated by Composer 4 4 5 $vendorDir = dirname( __DIR__);5 $vendorDir = dirname(dirname(__FILE__)); 6 6 $baseDir = dirname($vendorDir); 7 7 -
easy-poll/trunk/vendor/composer/autoload_namespaces.php
r3145552 r3145557 3 3 // autoload_namespaces.php @generated by Composer 4 4 5 $vendorDir = dirname( __DIR__);5 $vendorDir = dirname(dirname(__FILE__)); 6 6 $baseDir = dirname($vendorDir); 7 7 -
easy-poll/trunk/vendor/composer/autoload_psr4.php
r3145552 r3145557 3 3 // autoload_psr4.php @generated by Composer 4 4 5 $vendorDir = dirname( __DIR__);5 $vendorDir = dirname(dirname(__FILE__)); 6 6 $baseDir = dirname($vendorDir); 7 7 -
easy-poll/trunk/vendor/composer/autoload_real.php
r3145552 r3145557 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 7d2efb7a7c990deec8853dc6c9f628c95 class ComposerAutoloaderInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 7d2efb7a7c990deec8853dc6c9f628c9', 'loadClassLoader'), true, true);28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname( __DIR__));29 spl_autoload_unregister(array('ComposerAutoloaderInit 7d2efb7a7c990deec8853dc6c9f628c9', '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')); 30 30 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 } 33 52 34 53 $loader->register(true); -
easy-poll/trunk/vendor/composer/autoload_static.php
r3145552 r3145557 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 7d2efb7a7c990deec8853dc6c9f628c97 class ComposerStaticInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 28 28 { 29 29 return \Closure::bind(function () use ($loader) { 30 $loader->prefixLengthsPsr4 = ComposerStaticInit 7d2efb7a7c990deec8853dc6c9f628c9::$prefixLengthsPsr4;31 $loader->prefixDirsPsr4 = ComposerStaticInit 7d2efb7a7c990deec8853dc6c9f628c9::$prefixDirsPsr4;32 $loader->classMap = ComposerStaticInit 7d2efb7a7c990deec8853dc6c9f628c9::$classMap;30 $loader->prefixLengthsPsr4 = ComposerStaticInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa::$prefixLengthsPsr4; 31 $loader->prefixDirsPsr4 = ComposerStaticInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa::$prefixDirsPsr4; 32 $loader->classMap = ComposerStaticInit3a4a9dcb2fc02f3e0a7bf2bcc8867cfa::$classMap; 33 33 34 34 }, null, ClassLoader::class); -
easy-poll/trunk/vendor/composer/installed.php
r3145552 r3145557 1 1 <?php return array( 2 2 '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', 7 5 'type' => 'library', 8 6 'install_path' => __DIR__ . '/../../', 9 7 '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-main', 15 'version' => 'dev-main', 16 'reference' => '592efbb3ca136036c0ecb7231c103caba9f1016b', 14 'pretty_version' => 'dev-dev', 15 'version' => 'dev-dev', 17 16 'type' => 'library', 18 17 'install_path' => __DIR__ . '/../../', 19 18 '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',26 25 'type' => 'library', 27 26 'install_path' => __DIR__ . '/../squizlabs/php_codesniffer', 28 27 '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',35 34 'type' => 'phpcodesniffer-standard', 36 35 'install_path' => __DIR__ . '/../wp-coding-standards/wpcs', 37 36 'aliases' => array(), 37 'reference' => '7da1894633f168fe244afc6de00d141f27517b62', 38 38 'dev_requirement' => false, 39 39 ), -
easy-poll/trunk/views/metabox/poll-builder.php
r3145552 r3145557 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(); 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(); 18 17 19 18 ?> … … 68 67 <!-- poll specific settings --> 69 68 <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=""/> 71 70 <label for="ep-show-poll-summary"> 72 71 <?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.