Changeset 1710422
- Timestamp:
- 08/08/2017 05:14:55 PM (9 years ago)
- Location:
- typeform/trunk
- Files:
-
- 4 edited
-
index.php (modified) (1 diff)
-
package.json (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
typeform-actions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
typeform/trunk/index.php
r1647265 r1710422 5 5 Plugin URI: http://typeform.com 6 6 Description: Build beautiful, interactive, mobile-ready forms, surveys, and questionnaires without code. 7 Version: 0.7. 37 Version: 0.7.4 8 8 Author: Typeform 9 9 Author URI: http://typeform.com -
typeform/trunk/package.json
r1599677 r1710422 8 8 "eslint-config-standard": "^6.2.1", 9 9 "eslint-plugin-promise": "^3.4.1", 10 "eslint-plugin-react": "^6.9.0", 10 11 "eslint-plugin-standard": "^2.0.1", 11 12 "gulp": "^3.9.1", … … 27 28 "name": "typeform-wordpress", 28 29 "description": "=== Typeform | Create beautiful contact forms & much more === Contributors: jepser, typeform Tags: typeform, forms, surveys, quizzes, form builder, survey builder, quiz builder, custom forms, mobile forms, payment forms, order forms, feedback forms, enquiry forms, stripe, dropbox, google sheets, mailchimp, salesforce, hubspot, activecampaign, infusionsoft, asana, hipchat, slack, trello, zendesk Requires at least: 4.2 Tested up to: 4.7 License: GPLv2 License URI: http://www.gnu.org/licenses/gpl-2.0.html", 29 "version": "0.7. 0",30 "version": "0.7.4", 30 31 "main": "Gulpfile.js", 31 32 "scripts": { -
typeform/trunk/readme.txt
r1703249 r1710422 3 3 Tags: typeform, forms, surveys, quizzes, form builder, survey builder, quiz builder, custom forms, mobile forms, payment forms, order forms, feedback forms, enquiry forms, stripe, dropbox, google sheets, mailchimp, salesforce, hubspot, activecampaign, infusionsoft, asana, hipchat, slack, trello, zendesk 4 4 Requires at least: 4.5 5 Tested up to: 4.8. 05 Tested up to: 4.8.1 6 6 License: GPLv2 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 75 75 == Changelog == 76 76 77 = 0.7.4 = 78 * Query parameters from the WordPress preview are now prevented from being passed to the typeform as hidden fields 79 77 80 = 0.7.3 = 78 81 * Change array definition to old school array() instead of [], it broke several old sites -
typeform/trunk/typeform-actions.php
r1647265 r1710422 75 75 function tf_add_query_url($url) 76 76 { 77 return (isset($_GET) && !empty($_GET)) ? $url . '?' . http_build_query($_GET) : $url; 77 if (!isset($_GET) || empty($_GET)) { 78 return $url; 79 } 80 81 $ignore = array("preview_id", "preview_nonce", "post_format", "_thumbnail_id", "preview"); 82 $params = array_filter($_GET, function ($k) use ($ignore) { 83 return !in_array($k, $ignore, true); 84 }, ARRAY_FILTER_USE_KEY); 85 $query = http_build_query($params); 86 87 $separator = strlen($query) ? strpos($url, '?') === false ? '?' : '&' : ''; 88 89 return sprintf("%s%s%s", $url, $separator, $query); 78 90 } 79 91
Note: See TracChangeset
for help on using the changeset viewer.