Changeset 2915770
- Timestamp:
- 05/22/2023 11:28:04 AM (3 years ago)
- Location:
- mailcamp/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (3 diffs)
-
includes/class-mailcamp-api.php (modified) (3 diffs)
-
includes/core-functions.php (modified) (1 diff)
-
mailcamp.php (modified) (2 diffs)
-
readme.md (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mailcamp/trunk/README.txt
r2885751 r2915770 5 5 Requires at least: 4.9.1 6 6 Tested up to: 6.0.2 7 Stable tag: 1.5. 77 Stable tag: 1.5.8 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. 7=24 = Version 1.5.8 = 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.8 == 35 * improved - RSS archive performance improvement 33 36 34 37 == 1.5.7 == -
mailcamp/trunk/includes/class-mailcamp-api.php
r2885751 r2915770 25 25 public $connection = false; 26 26 private $xml_data; 27 private $xml_timeout = 3; 27 28 public $result; 28 29 public $test = false; … … 267 268 <listid>' . $listid . '</listid> 268 269 <num_to_retrieve>' . $count . '</num_to_retrieve> 270 <include_body>false</include_body> 269 271 </details> 270 272 '; 271 272 $this->execute(); 273 274 return $this->result->data; 273 274 $this->xml_timeout = 10; 275 276 $this->execute(); 277 278 return $this->result; 275 279 } 276 280 … … 322 326 curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, true ); 323 327 } 324 curl_setopt( $ch, CURLOPT_TIMEOUT, 3);328 curl_setopt( $ch, CURLOPT_TIMEOUT, $this->xml_timeout ); 325 329 curl_setopt( $ch, CURLOPT_POSTFIELDS, 'xml=' . $xml_data ); 326 330 -
mailcamp/trunk/includes/core-functions.php
r2789211 r2915770 313 313 if ( $api_connection->status === true ) { 314 314 $archives = $mc_api->getArchives($listid, 100); 315 if ($archives->status === false) { 316 $error_message = 'Error: '.$archives->data; 317 return $error_message; 318 } 315 319 $html = '<table class="mc-rss-newsletters">'; 316 foreach ( $archives-> item as $key => $newsletter ) {320 foreach ( $archives->data->item as $key => $newsletter ) { 317 321 $link = str_replace( 'xml.php', '', $options_api['api_path'] ) . 'display.php?List=' . $listid . '&N=' . $newsletter->newsletterid; 318 322 $html .= '<tr> -
mailcamp/trunk/mailcamp.php
r2885753 r2915770 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. 716 * Version: 1.5.8 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. 7');35 define('MAILCAMP_VERSION', '1.5.8'); 36 36 /** 37 37 * The code that runs during plugin activation. -
mailcamp/trunk/readme.md
r2885752 r2915770 5 5 Requires at least: 4.9.1 6 6 Tested up to: 6.0.2 7 Stable tag: 1.5. 77 Stable tag: 1.5.8 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. 7=23 = Version 1.5.8 = 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.8 ### 34 * improved - RSS archive performance improvement 32 35 33 36 ### 1.5.7 ###
Note: See TracChangeset
for help on using the changeset viewer.