Changeset 2450075
- Timestamp:
- 01/04/2021 06:08:06 PM (5 years ago)
- Location:
- wp-action-network/trunk
- Files:
-
- 3 added
- 3 edited
-
actionnetwork.php (modified) (3 diffs)
-
blocks (added)
-
blocks/block.css (added)
-
blocks/block.js (added)
-
includes/actionnetwork-widgets.class.php (modified) (4 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-action-network/trunk/actionnetwork.php
r2370598 r2450075 2 2 /* 3 3 * @package ActionNetwork 4 * @version 1.2 4 * @version 1.2.1 5 5 * 6 6 * Plugin Name: Action Network … … 34 34 */ 35 35 global $actionnetwork_version; 36 $actionnetwork_version = '1.2 ';36 $actionnetwork_version = '1.2.1'; 37 37 global $actionnetwork_db_version; 38 38 $actionnetwork_db_version = '1.0.7'; … … 52 52 53 53 // test for particular updates here 54 if ($actionnetwork_version == '1.2.1') { 55 $notices[] = sprintf( 56 /* translators: %s is a link to https://wordpress.org/plugins/wp-action-network/ */ 57 __('The %s has been updated to version 1.2.1. This update provides a Gutenberg Editor button as well as a bug fix related to hCaptcha.', 'actionnetwork'), 58 '<a href="https://wordpress.org/plugins/wp-action-network/">Action Network plugin</a>' 59 ); 60 } 61 54 62 if ($actionnetwork_version == '1.2') { 55 63 $notices[] = sprintf( -
wp-action-network/trunk/includes/actionnetwork-widgets.class.php
r2370598 r2450075 614 614 $zip_code = isset($submission['zip_code']) ? $submission['zip_code'] : ''; 615 615 $errors = isset($submission['errors']) ? $submission['errors'] : array(); 616 $spam_protect = true; 616 617 617 618 wp_enqueue_style( 'actionnetwork-signup-css', plugins_url('../signup.css', __FILE__) ); … … 636 637 'item_element' => 'li', 637 638 'item_class' => 'actionnetwork-signup-item', 638 'spam_protect' => 0,639 'spam_protect' => 1, 639 640 ); 640 641 foreach ($defaults as $key => $value) { … … 723 724 if ( $data === null ) { $data = $_REQUEST; } 724 725 726 $spam_protect = true; 727 if($spam_protect){ 728 //wp_enqueue_script( 'actionnetwork-hcaptcha', 'https://www.hCaptcha.com/1/api.js' ); 729 $hcaptcha_site_key = get_option('actionnetwork_hcaptcha_site_key'); 730 $hcaptcha_secret_key = get_option('actionnetwork_hcaptcha_secret_key'); 731 } 732 725 733 // check for nonce 726 734 if ( ! isset( $data['actionnetwork_signup_nonce_field'] ) || … … 738 746 // verify 739 747 $submission['errors'] = array(); 740 748 741 749 // Check for captcha result 742 750 if($spam_protect){ -
wp-action-network/trunk/readme.txt
r2370598 r2450075 3 3 Tags: signup, events, action network, online organizing 4 4 Requires at least: 4.6 5 Tested up to: 5. 56 Stable tag: 1.2 5 Tested up to: 5.6 6 Stable tag: 1.2.1 7 7 License: GPLv3 or later 8 8 License URI: https://www.gnu.org/licenses/gpl.html … … 44 44 == Changelog == 45 45 46 = 1.2.1 = 47 48 * Added Gutenberg Editor button. 49 * Bug fix relatd to hCaptcha. 50 46 51 = 1.2 = 47 52 … … 75 80 == Upgrade Notice == 76 81 82 = 1.2.1 = 83 84 Added Gutenberg Editor button. 85 86 = 1.2 = 87 88 This major update includes the following updates: 89 hCaptcha ability added for API based forms. 90 shortcode button for tinymce WYSIWYG. 91 77 92 = 1.1.1 = 78 93 Fixed problem which would cause updates from wordpress.org to crash … … 86 101 = 1.0 = 87 102 Install from wordpress.org to stay up-to-date 88 89
Note: See TracChangeset
for help on using the changeset viewer.