Version Description
Download this release
Release Info
Developer | cgastrell |
Plugin | Crowdsignal Forms |
Version | 1.6.6 |
Comparing to | |
See all releases |
Code changes from version 1.6.5 to 1.6.6
- README.TXT +18 -1
- build/apifetch.asset.php +1 -1
- build/apifetch.js +1 -1
- changelog.txt +4 -0
- crowdsignal-forms.php +2 -2
- includes/admin/class-crowdsignal-forms-settings.php +1 -1
- includes/admin/class-crowdsignal-forms-setup.php +1 -1
- includes/frontend/class-crowdsignal-forms-blocks-assets.php +8 -0
- languages/crowdsignal-forms.pot +2 -2
README.TXT
CHANGED
@@ -4,7 +4,7 @@ Tags: polls, forms, surveys, gutenberg, block
|
|
4 |
Requires at least: 5.0
|
5 |
Requires PHP: 5.6.20
|
6 |
Tested up to: 5.8.3
|
7 |
-
Stable tag: 1.6.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -67,6 +67,23 @@ Compare our [simple and affordable plans](https://crowdsignal.com/pricing/) or t
|
|
67 |
|
68 |
== Changelog ==
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
= 1.6.4 =
|
71 |
* Update/survey help landing page (#231)
|
72 |
* add/quiz variation to CS Embed block (#230)
|
4 |
Requires at least: 5.0
|
5 |
Requires PHP: 5.6.20
|
6 |
Tested up to: 5.8.3
|
7 |
+
Stable tag: 1.6.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
67 |
|
68 |
== Changelog ==
|
69 |
|
70 |
+
= 1.6.6 =
|
71 |
+
* update package lock
|
72 |
+
* Add the site_url() to the wp-json URL so directory installs work. (#247)
|
73 |
+
|
74 |
+
= 1.6.5 =
|
75 |
+
* Fix makefile and dependencies (#245)
|
76 |
+
* Fix the (optional) text that shows up on the front end for email (#243)
|
77 |
+
* GH build action for named releases (#242)
|
78 |
+
* Back to PHP 7.4 for builds (#241)
|
79 |
+
* Create store (#234)
|
80 |
+
* Update docker to build with PHP 8.1 (#237)
|
81 |
+
* update build action to use php 8.1 (#240)
|
82 |
+
* Update development environment (#236)
|
83 |
+
* Update feedback button block condition for triggering the widget mode (#235)
|
84 |
+
* Build Tools: Add `allow-plugins` to `composer.json` for v2-compat (#227)
|
85 |
+
* fix/add missing ref links to quiz variation (#233)
|
86 |
+
|
87 |
= 1.6.4 =
|
88 |
* Update/survey help landing page (#231)
|
89 |
* add/quiz variation to CS Embed block (#230)
|
build/apifetch.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '9e6660e91c71984df853f753f4ffca28');
|
build/apifetch.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
window.crowdsignalForms=window.crowdsignalForms||{},window.crowdsignalForms.apiFetch=function(r){var e={};function t(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return r[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=r,t.c=e,t.d=function(r,e,n){t.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:n})},t.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},t.t=function(r,e){if(1&e&&(r=t(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var o in r)t.d(n,o,function(e){return r[e]}.bind(null,o));return n},t.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(e,"a",e),e},t.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},t.p="",t(t.s=12)}([function(r,e){!function(){r.exports=this.regeneratorRuntime}()},function(r,e){r.exports=function(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}},function(r,e,t){var n=t(11);r.exports=function(r,e){if(null==r)return{};var t,o,i=n(r,e);if(Object.getOwnPropertySymbols){var
|
1 |
+
window.crowdsignalForms=window.crowdsignalForms||{},window.crowdsignalForms.apiFetch=function(r){var e={};function t(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return r[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=r,t.c=e,t.d=function(r,e,n){t.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:n})},t.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},t.t=function(r,e){if(1&e&&(r=t(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var o in r)t.d(n,o,function(e){return r[e]}.bind(null,o));return n},t.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(e,"a",e),e},t.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},t.p="",t(t.s=12)}([function(r,e){!function(){r.exports=this.regeneratorRuntime}()},function(r,e){r.exports=function(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}},function(r,e,t){var n=t(11);r.exports=function(r,e){if(null==r)return{};var t,o,i=n(r,e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(r);for(o=0;o<c.length;o++)t=c[o],e.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(r,t)&&(i[t]=r[t])}return i}},function(r,e){function t(r,e,t,n,o,i,c){try{var u=r[i](c),a=u.value}catch(f){return void t(f)}u.done?e(a):Promise.resolve(a).then(n,o)}r.exports=function(r){return function(){var e=this,n=arguments;return new Promise((function(o,i){var c=r.apply(e,n);function u(r){t(c,o,i,u,a,"next",r)}function a(r){t(c,o,i,u,a,"throw",r)}u(void 0)}))}}},function(r,e){!function(){r.exports=this.lodash}()},function(r,e,t){var n=t(6),o=t(7),i=t(8),c=t(10);r.exports=function(r){return n(r)||o(r)||i(r)||c()}},function(r,e){r.exports=function(r){if(Array.isArray(r))return r}},function(r,e){r.exports=function(r){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(r))return Array.from(r)}},function(r,e,t){var n=t(9);r.exports=function(r,e){if(r){if("string"==typeof r)return n(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n(r,e):void 0}}},function(r,e){r.exports=function(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}},function(r,e){r.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(r,e){r.exports=function(r,e){if(null==r)return{};var t,n,o={},i=Object.keys(r);for(n=0;n<i.length;n++)t=i[n],e.indexOf(t)>=0||(o[t]=r[t]);return o}},function(r,e,t){"use strict";t.r(e);var n=t(0),o=t.n(n),i=t(1),c=t.n(i),u=t(5),a=t.n(u),f=t(2),s=t.n(f),p=t(3),l=t.n(p),d=t(4);function b(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,n)}return t}function y(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?b(Object(t),!0).forEach((function(e){c()(r,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}))}return r}function O(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,n)}return t}function w(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?O(Object(t),!0).forEach((function(e){c()(r,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}))}return r}var m=[],v=function(){var r=l()(o.a.mark((function r(e,t){var n,i,c,u,f,p;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=e.path,i=s()(e,["path"]),c=a()(t),u=c[0],f=c.slice(1),u){r.next=7;break}return r.next=5,window.fetch(n,i);case 5:return p=r.sent,r.abrupt("return",p.json());case 7:return r.abrupt("return",u(w({path:n},i),(function(r){return v(r,f)})));case 8:case"end":return r.stop()}}),r)})));return function(e,t){return r.apply(this,arguments)}}(),h=function(){var r=l()(o.a.mark((function r(e){return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",v(e,m));case 1:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}();h.use=function(r){return m.push(r)},h.disable=function(r){var e=Object(d.findIndex)(m,(function(e){return e===r}));e&&m.splice(e,1)},h.middleware={defaultHeaders:function(r,e){return e(y({},r,{headers:y({},r.headers||{},{Accept:"application/json, */*;q=0.1"})}))},formatURL:function(r,e){return 0===r.path.indexOf("/crowdsignal-forms/v1")&&(r.path=_crowdsignalFormsURL+"/wp-json".concat(r.path)),e(r)},formatRequest:function(r,e){var t=r.data,n=s()(r,["data"]);return e(t?y({},n,{headers:y({},n.headers,{"Content-Type":"application/json"}),body:JSON.stringify(t)}):n)},wpAuth:function(r,e){return window._crowdsignalFormsWpNonce?e(y({credentials:"same-origin",mode:"same-origin"},r,{headers:y({"X-WP-Nonce":window._crowdsignalFormsWpNonce},r.headers)})):e(r)}},Object(d.forEach)(h.middleware,h.use);e.default=h}]).default;
|
changelog.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
= 1.6.5 =
|
2 |
* Fix makefile and dependencies (#245)
|
3 |
* fix the (optional) text that shows up on the front end for email (#243)
|
1 |
+
= 1.6.6 =
|
2 |
+
* update package lock
|
3 |
+
* Add the site_url() to the wp-json URL so directory installs work. (#247)
|
4 |
+
|
5 |
= 1.6.5 =
|
6 |
* Fix makefile and dependencies (#245)
|
7 |
* fix the (optional) text that shows up on the front end for email (#243)
|
crowdsignal-forms.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
* Plugin Name: Crowdsignal Forms
|
16 |
* Plugin URI: https://crowdsignal.com/crowdsignal-forms/
|
17 |
* Description: Crowdsignal Form Blocks
|
18 |
-
* Version: 1.6.
|
19 |
* Author: Automattic
|
20 |
* Author URI: https://automattic.com/
|
21 |
* License: GPL-2.0+
|
@@ -28,7 +28,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
28 |
die;
|
29 |
}
|
30 |
|
31 |
-
define( 'CROWDSIGNAL_FORMS_VERSION', '1.6.
|
32 |
define( 'CROWDSIGNAL_FORMS_PLUGIN_FILE', __FILE__ );
|
33 |
define( 'CROWDSIGNAL_FORMS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
34 |
|
15 |
* Plugin Name: Crowdsignal Forms
|
16 |
* Plugin URI: https://crowdsignal.com/crowdsignal-forms/
|
17 |
* Description: Crowdsignal Form Blocks
|
18 |
+
* Version: 1.6.6
|
19 |
* Author: Automattic
|
20 |
* Author URI: https://automattic.com/
|
21 |
* License: GPL-2.0+
|
28 |
die;
|
29 |
}
|
30 |
|
31 |
+
define( 'CROWDSIGNAL_FORMS_VERSION', '1.6.6' );
|
32 |
define( 'CROWDSIGNAL_FORMS_PLUGIN_FILE', __FILE__ );
|
33 |
define( 'CROWDSIGNAL_FORMS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
34 |
|
includes/admin/class-crowdsignal-forms-settings.php
CHANGED
@@ -66,7 +66,7 @@ class Crowdsignal_Forms_Settings {
|
|
66 |
* Enqueues scripts for setup page.
|
67 |
*/
|
68 |
public function admin_enqueue_scripts() {
|
69 |
-
wp_enqueue_style( 'admin-styles', plugin_dir_url( __FILE__ ) . '/admin-styles.css', array(), '1.6.
|
70 |
wp_enqueue_script( 'videopress', 'https://videopress.com/videopress-iframe.js', array(), '1.0', false );
|
71 |
}
|
72 |
|
66 |
* Enqueues scripts for setup page.
|
67 |
*/
|
68 |
public function admin_enqueue_scripts() {
|
69 |
+
wp_enqueue_style( 'admin-styles', plugin_dir_url( __FILE__ ) . '/admin-styles.css', array(), '1.6.6' );
|
70 |
wp_enqueue_script( 'videopress', 'https://videopress.com/videopress-iframe.js', array(), '1.0', false );
|
71 |
}
|
72 |
|
includes/admin/class-crowdsignal-forms-setup.php
CHANGED
@@ -67,7 +67,7 @@ class Crowdsignal_Forms_Setup {
|
|
67 |
* Enqueues scripts for setup page.
|
68 |
*/
|
69 |
public function admin_enqueue_scripts() {
|
70 |
-
wp_enqueue_style( 'admin-styles', plugin_dir_url( __FILE__ ) . '/admin-styles.css', array(), '1.6.
|
71 |
wp_enqueue_script( 'videopress', 'https://videopress.com/videopress-iframe.js', array(), '1.0', false );
|
72 |
}
|
73 |
|
67 |
* Enqueues scripts for setup page.
|
68 |
*/
|
69 |
public function admin_enqueue_scripts() {
|
70 |
+
wp_enqueue_style( 'admin-styles', plugin_dir_url( __FILE__ ) . '/admin-styles.css', array(), '1.6.6' );
|
71 |
wp_enqueue_script( 'videopress', 'https://videopress.com/videopress-iframe.js', array(), '1.0', false );
|
72 |
}
|
73 |
|
includes/frontend/class-crowdsignal-forms-blocks-assets.php
CHANGED
@@ -105,6 +105,14 @@ class Crowdsignal_Forms_Blocks_Assets {
|
|
105 |
'before'
|
106 |
);
|
107 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
}
|
109 |
|
110 |
/**
|
105 |
'before'
|
106 |
);
|
107 |
}
|
108 |
+
|
109 |
+
if ( self::APIFETCH === $id ) {
|
110 |
+
wp_add_inline_script(
|
111 |
+
self::APIFETCH,
|
112 |
+
sprintf( "_crowdsignalFormsURL='%s';", site_url() ),
|
113 |
+
'before'
|
114 |
+
);
|
115 |
+
}
|
116 |
}
|
117 |
|
118 |
/**
|
languages/crowdsignal-forms.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Crowdsignal Forms 1.6.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/crowdsignal-forms\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2022-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.6.0\n"
|
15 |
"X-Domain: crowdsignal-forms\n"
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Crowdsignal Forms 1.6.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/crowdsignal-forms\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2022-09-01T19:22:27+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.6.0\n"
|
15 |
"X-Domain: crowdsignal-forms\n"
|