Changeset 3107966
- Timestamp:
- 06/26/2024 09:33:19 AM (22 months ago)
- Location:
- mailcamp/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (3 diffs)
-
includes/core-functions.php (modified) (1 diff)
-
mailcamp.php (modified) (2 diffs)
-
public/class-mailcamp-public.php (modified) (1 diff)
-
readme.md (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mailcamp/trunk/README.txt
r3078692 r3107966 5 5 Requires at least: 4.9.1 6 6 Tested up to: 6.3.3 7 Stable tag: 1.5.1 77 Stable tag: 1.5.18 8 8 Requires PHP: 5.6 9 9 License: GPLv2 or later … … 22 22 This section describes how to install the plugin and get started using it. 23 23 24 = Version 1.5.1 7=24 = Version 1.5.18 = 25 25 1. Unzip our archive and upload the entire mailcamp directory to your `/wp-content/plugins/ directory` 26 26 2. Activate the plugin through the **Plugins** menu in WordPress … … 31 31 32 32 == Changelog == 33 34 == 1.5.18 == 35 * improved - reduced API calls 33 36 34 37 == 1.5.17 == -
mailcamp/trunk/includes/core-functions.php
r3029533 r3107966 230 230 $options_api = get_option( 'mailcamp_options_api' ); 231 231 $options_form = get_option( 'mailcamp_options_form' ); 232 232 233 $fields = []; 233 234 if ( !isset($options_form['mailcamp_list_fields']) || empty( $options_form['mailcamp_list_fields'] ) ) { 234 if ( !isset($options_form['mailcamp_list_fields']) || empty($options_form['mailcamp_list_fields']) ) { 235 235 return $fields; 236 236 } 237 237 238 if ( ! isset( $options_form['custom_fields']) ) {238 if ( !isset($options_form['custom_fields']) ) { 239 239 240 240 $listid = $options_form['mailcamp_lists']; -
mailcamp/trunk/mailcamp.php
r3078692 r3107966 14 14 * Plugin URI: https://mailcamp.nl/ecommerce/koppel-wordpress-plugin-aan-mailinglijst-in-mailcamp/ 15 15 * Description: MailCamp form plugin. A simple plugin that adds a highly effective subscription form to your site. 16 * Version: 1.5.1 716 * Version: 1.5.18 17 17 * Author: Silas de Rooy 18 18 * Author URI: https://mailcamp.nl … … 33 33 * Rename this for your plugin and update it as you release new versions. 34 34 */ 35 define('MAILCAMP_VERSION', '1.5.1 7');35 define('MAILCAMP_VERSION', '1.5.18'); 36 36 /** 37 37 * The code that runs during plugin activation. -
mailcamp/trunk/public/class-mailcamp-public.php
r3029962 r3107966 114 114 */ 115 115 public function add_subscriber_to_list(){ 116 // check if terms were accepted 117 if ( !isset( $_POST["CustomFields"]['accepted'] ) || isset( $_POST["CustomFields"]['accepted'] ) && $_POST["CustomFields"]['accepted'] !== 'check' ) { 118 echo json_encode([ false, __('Whoops .. the subscription has failed, contact the administrator of this site', 'mailcamp')]); 119 exit; 120 } 121 // check captcha 122 $captcha_answer = (int)$_POST['captcha']; 123 if ($captcha_answer <= 0) { 124 echo json_encode([ false, __('Whoops .. the subscription has failed, contact the administrator of this site', 'mailcamp')]); 125 exit; 126 } 116 127 $options = get_option( 'mailcamp_options_api' ); 117 128 -
mailcamp/trunk/readme.md
r3078692 r3107966 5 5 Requires at least: 4.9.1 6 6 Tested up to: 6.3.3 7 Stable tag: 1.5.1 77 Stable tag: 1.5.18 8 8 Requires PHP: 5.6 9 9 License: GPLv2 or later … … 21 21 This section describes how to install the plugin and get started using it. 22 22 23 = Version 1.5.1 7=23 = Version 1.5.18 = 24 24 1. Unzip our archive and upload the entire mailcamp directory to your `/wp-content/plugins/ directory` 25 25 2. Activate the plugin through the **Plugins** menu in WordPress … … 30 30 31 31 ## Changelog ## 32 33 ### 1.5.18 ### 34 * improved - reduced API calls 32 35 33 36 ### 1.5.17 ###
Note: See TracChangeset
for help on using the changeset viewer.