Version Description
- Fixed: issue with PHP 5.5+ syntax when we need 5.4+
- Added: Prevention of plugin loading for users below PHP version 5.4 to avoid incompatibility issues.
Download this release
Release Info
Developer | constantcontact |
Plugin | Constant Contact Forms |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
- assets/wporg/banner-1544x500.jpg +0 -0
- assets/wporg/banner-772x250.jpg +0 -0
- assets/wporg/icon-128x128.png +0 -0
- assets/wporg/icon-256x256.png +0 -0
- assets/wporg/screenshot-1.png +0 -0
- assets/wporg/screenshot-2.png +0 -0
- assets/wporg/screenshot-3.png +0 -0
- assets/wporg/screenshot-4.png +0 -0
- constant-contact-forms.php +23 -65
- gulpfile.js +0 -173
- includes/class-admin-pages.php +1 -1
- includes/class-admin.php +1 -1
- includes/class-api.php +1 -1
- includes/class-auth-redirect.php +1 -1
- includes/class-builder-fields.php +1 -2
- includes/class-builder.php +1 -1
- includes/class-check.php +2 -2
- includes/class-connect.php +63 -5
- includes/class-cpts.php +1 -1
- includes/class-display-shortcode.php +1 -1
- includes/class-display.php +1 -1
- includes/class-lists.php +1 -1
- includes/class-mail.php +1 -1
- includes/class-middleware.php +1 -1
- includes/class-notification-content.php +1 -1
- includes/class-notifications.php +1 -1
- includes/class-process-form.php +1 -1
- includes/class-settings.php +4 -3
- includes/class-shortcode-admin.php +1 -1
- includes/class-shortcode.php +1 -1
- includes/class-updates.php +1 -1
- includes/helper-functions.php +1 -1
- languages/constant-contact-forms.pot +40 -37
- readme.txt +6 -2
assets/wporg/banner-1544x500.jpg
DELETED
Binary file
|
assets/wporg/banner-772x250.jpg
DELETED
Binary file
|
assets/wporg/icon-128x128.png
DELETED
Binary file
|
assets/wporg/icon-256x256.png
DELETED
Binary file
|
assets/wporg/screenshot-1.png
DELETED
Binary file
|
assets/wporg/screenshot-2.png
DELETED
Binary file
|
assets/wporg/screenshot-3.png
DELETED
Binary file
|
assets/wporg/screenshot-4.png
DELETED
Binary file
|
constant-contact-forms.php
CHANGED
@@ -4,18 +4,18 @@
|
|
4 |
*
|
5 |
* @package ConstantContactForms
|
6 |
* @subpackage Loader
|
7 |
-
* @author
|
8 |
-
* @since 1.0.
|
9 |
* @license GPLv3
|
10 |
*
|
11 |
* @wordpress-plugin
|
12 |
* Plugin Name: Constant Contact Forms for WordPress
|
13 |
-
* Plugin URI:
|
14 |
* Description: Be a better marketer. All it takes is Constant Contact email marketing.
|
15 |
-
* Version:
|
16 |
-
* Author:
|
17 |
-
* Author URI:
|
18 |
-
* License:
|
19 |
* Text Domain: constant-contact-forms
|
20 |
* Domain Path: /languages
|
21 |
*/
|
@@ -77,7 +77,7 @@ class Constant_Contact {
|
|
77 |
* @var string
|
78 |
* @since 1.0.0
|
79 |
*/
|
80 |
-
const VERSION = '1.0.
|
81 |
|
82 |
/**
|
83 |
* URL of plugin directory
|
@@ -205,6 +205,11 @@ class Constant_Contact {
|
|
205 |
$this->url = plugin_dir_url( __FILE__ );
|
206 |
$this->path = plugin_dir_path( __FILE__ );
|
207 |
|
|
|
|
|
|
|
|
|
|
|
208 |
// Load our plugin and our libraries
|
209 |
$this->plugin_classes();
|
210 |
$this->load_libs();
|
@@ -218,6 +223,15 @@ class Constant_Contact {
|
|
218 |
Constant_Contact::include_file( 'helper-functions', false );
|
219 |
}
|
220 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
/**
|
222 |
* Attach other plugin classes to the base plugin class.
|
223 |
*
|
@@ -386,62 +400,6 @@ class Constant_Contact {
|
|
386 |
}
|
387 |
}
|
388 |
|
389 |
-
/**
|
390 |
-
* Checks to see if the server will support encryption functionality
|
391 |
-
*
|
392 |
-
* @since 1.0.0
|
393 |
-
* @return boolean if we should load/use the encryption libraries
|
394 |
-
*/
|
395 |
-
public function is_encryption_ready() {
|
396 |
-
|
397 |
-
// Make sure we have our openssl libraries
|
398 |
-
if ( ! function_exists( 'openssl_encrypt' ) || ! function_exists( 'openssl_decrypt' ) ) {
|
399 |
-
return false;
|
400 |
-
}
|
401 |
-
|
402 |
-
// Check to make sure we dont' get any exceptions when loading the class
|
403 |
-
if ( ! $this->check_crypto_class() ) {
|
404 |
-
return false;
|
405 |
-
}
|
406 |
-
|
407 |
-
// We should be good
|
408 |
-
return true;
|
409 |
-
}
|
410 |
-
|
411 |
-
/**
|
412 |
-
* Helper method to check our crypto clases
|
413 |
-
*
|
414 |
-
* @since 1.0.0
|
415 |
-
* @return boolean if we can encrpyt or not
|
416 |
-
*/
|
417 |
-
public function check_crypto_class() {
|
418 |
-
|
419 |
-
try {
|
420 |
-
$return = false;
|
421 |
-
$this->load_libs( true );
|
422 |
-
|
423 |
-
// If we have the Runtime test class
|
424 |
-
if ( class_exists( 'Defuse\Crypto\RuntimeTests' ) ) {
|
425 |
-
|
426 |
-
// If we have our Crpyto class, we'll run the included
|
427 |
-
// runtime tests and see if we get the correct response.
|
428 |
-
$tests = new Defuse\Crypto\RuntimeTests;
|
429 |
-
$tests = $tests->runtimeTest();
|
430 |
-
$return = true;
|
431 |
-
}
|
432 |
-
} catch ( Exception $exception ) {
|
433 |
-
|
434 |
-
// If we caught an exception of some kind, then we're not able
|
435 |
-
// to use this library
|
436 |
-
if ( $exception ) {
|
437 |
-
$return = false;
|
438 |
-
}
|
439 |
-
}
|
440 |
-
|
441 |
-
// Send back if we can or can't use the library
|
442 |
-
return $return;
|
443 |
-
}
|
444 |
-
|
445 |
/**
|
446 |
* Save our dismissed first form notification
|
447 |
*
|
@@ -561,7 +519,7 @@ class Constant_Contact {
|
|
561 |
$license = $this->dir( self::LICENSE_FILE );
|
562 |
|
563 |
if ( ! is_readable( $license ) ) {
|
564 |
-
return __( 'Error loading
|
565 |
}
|
566 |
|
567 |
return file_get_contents( $license );
|
4 |
*
|
5 |
* @package ConstantContactForms
|
6 |
* @subpackage Loader
|
7 |
+
* @author Constant Contact
|
8 |
+
* @since 1.0.1
|
9 |
* @license GPLv3
|
10 |
*
|
11 |
* @wordpress-plugin
|
12 |
* Plugin Name: Constant Contact Forms for WordPress
|
13 |
+
* Plugin URI: https://www.constantcontact.com
|
14 |
* Description: Be a better marketer. All it takes is Constant Contact email marketing.
|
15 |
+
* Version: 1.0.1
|
16 |
+
* Author: Constant Contact
|
17 |
+
* Author URI: https://www.constantcontact.com
|
18 |
+
* License: GPLv3
|
19 |
* Text Domain: constant-contact-forms
|
20 |
* Domain Path: /languages
|
21 |
*/
|
77 |
* @var string
|
78 |
* @since 1.0.0
|
79 |
*/
|
80 |
+
const VERSION = '1.0.1';
|
81 |
|
82 |
/**
|
83 |
* URL of plugin directory
|
205 |
$this->url = plugin_dir_url( __FILE__ );
|
206 |
$this->path = plugin_dir_path( __FILE__ );
|
207 |
|
208 |
+
if ( version_compare( PHP_VERSION, '5.4.0', '<' ) ) {
|
209 |
+
add_action( 'admin_notices', array( $this, 'minimum_version' ) );
|
210 |
+
return;
|
211 |
+
}
|
212 |
+
|
213 |
// Load our plugin and our libraries
|
214 |
$this->plugin_classes();
|
215 |
$this->load_libs();
|
223 |
Constant_Contact::include_file( 'helper-functions', false );
|
224 |
}
|
225 |
|
226 |
+
/**
|
227 |
+
* Display an admin notice for users on less than PHP 5.4.x.
|
228 |
+
*
|
229 |
+
* @since 1.0.1
|
230 |
+
*/
|
231 |
+
public function minimum_version() {
|
232 |
+
echo '<div id="message" class="notice is-dismissible error"><p>' . esc_html__( 'This plugin requires PHP 5.4 or higher. Your hosting provider or website administrator should be able to assist in updating your PHP version.', 'constant-contact-forms' ) . '</p></div>';
|
233 |
+
}
|
234 |
+
|
235 |
/**
|
236 |
* Attach other plugin classes to the base plugin class.
|
237 |
*
|
400 |
}
|
401 |
}
|
402 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
403 |
/**
|
404 |
* Save our dismissed first form notification
|
405 |
*
|
519 |
$license = $this->dir( self::LICENSE_FILE );
|
520 |
|
521 |
if ( ! is_readable( $license ) ) {
|
522 |
+
return __( 'Error loading license.', 'constant-contact-forms' );
|
523 |
}
|
524 |
|
525 |
return file_get_contents( $license );
|
gulpfile.js
DELETED
@@ -1,173 +0,0 @@
|
|
1 |
-
var gulp = require('gulp');
|
2 |
-
|
3 |
-
var autoprefixer = require('autoprefixer');
|
4 |
-
var concat = require('gulp-concat');
|
5 |
-
var cssnano = require('gulp-cssnano');
|
6 |
-
var del = require('del');
|
7 |
-
var fs = require('fs'); // node file system manipulation
|
8 |
-
var gulp = require('gulp');
|
9 |
-
var gutil = require('gulp-util');
|
10 |
-
var mqpacker = require('css-mqpacker');
|
11 |
-
var notify = require('gulp-notify');
|
12 |
-
var path = require('path'); // node path module
|
13 |
-
var plumber = require('gulp-plumber');
|
14 |
-
var postcss = require('gulp-postcss');
|
15 |
-
var rename = require('gulp-rename');
|
16 |
-
var sass = require('gulp-sass');
|
17 |
-
var sort = require('gulp-sort');
|
18 |
-
var sourcemaps = require('gulp-sourcemaps');
|
19 |
-
var uglify = require('gulp-uglify');
|
20 |
-
|
21 |
-
// Set variable for paths
|
22 |
-
var scriptsPath = 'assets/js';
|
23 |
-
|
24 |
-
/**
|
25 |
-
* Handle errors and alert the user.
|
26 |
-
*/
|
27 |
-
function handleErrors () {
|
28 |
-
var args = Array.prototype.slice.call(arguments);
|
29 |
-
|
30 |
-
notify.onError({
|
31 |
-
title: 'Task Failed [<%= error.message %>',
|
32 |
-
message: 'See console.',
|
33 |
-
sound: 'Sosumi' // See: https://github.com/mikaelbr/node-notifier#all-notification-options-with-their-defaults
|
34 |
-
}).apply(this, args);
|
35 |
-
|
36 |
-
gutil.beep(); // Beep 'sosumi' again
|
37 |
-
|
38 |
-
// Prevent the 'watch' task from stopping
|
39 |
-
this.emit('end');
|
40 |
-
}
|
41 |
-
|
42 |
-
/**
|
43 |
-
* Read directory name for filename
|
44 |
-
*/
|
45 |
-
function getFolders(dir) {
|
46 |
-
return fs.readdirSync(dir)
|
47 |
-
.filter(function(file) {
|
48 |
-
return fs.statSync(path.join(dir, file)).isDirectory();
|
49 |
-
});
|
50 |
-
}
|
51 |
-
|
52 |
-
/**
|
53 |
-
* Get folder names in /assets/js/, and map to filename
|
54 |
-
* based on foldername, concatenate all scripts in folder,
|
55 |
-
* and minify, e.g.
|
56 |
-
* assets/js/wp-admin/*.js -> assets/js/wp-admin.js and assets/js/wp-admin.min.js
|
57 |
-
*/
|
58 |
-
gulp.task('scripts', function() {
|
59 |
-
var folders = getFolders(scriptsPath);
|
60 |
-
|
61 |
-
var tasks = folders.map(function(folder) {
|
62 |
-
return gulp.src(path.join(scriptsPath, folder, '/**/*.js'))
|
63 |
-
// concat into foldername.js
|
64 |
-
.pipe(concat(folder + '.js'))
|
65 |
-
// write to output
|
66 |
-
.pipe(gulp.dest(scriptsPath))
|
67 |
-
// minify
|
68 |
-
.pipe(uglify())
|
69 |
-
// rename to folder.min.js
|
70 |
-
.pipe(rename(folder + '.min.js'))
|
71 |
-
// write to output again
|
72 |
-
.pipe(gulp.dest(scriptsPath));
|
73 |
-
});
|
74 |
-
|
75 |
-
return tasks;
|
76 |
-
});
|
77 |
-
|
78 |
-
/**
|
79 |
-
* Delete style.css and style.min.css before we minify and optimize
|
80 |
-
*/
|
81 |
-
gulp.task('clean:styles', function() {
|
82 |
-
return del(['assets/css/style.css', 'assets/css/style.min.css'])
|
83 |
-
});
|
84 |
-
|
85 |
-
/**
|
86 |
-
* Compile Sass
|
87 |
-
*
|
88 |
-
* https://www.npmjs.com/package/gulp-sass
|
89 |
-
*/
|
90 |
-
gulp.task('sass', function() {
|
91 |
-
return gulp.src('assets/sass/*.scss')
|
92 |
-
|
93 |
-
// Deal with errors.
|
94 |
-
.pipe(plumber({ errorHandler: handleErrors }))
|
95 |
-
|
96 |
-
// Compile Sass using LibSass.
|
97 |
-
.pipe(sass({
|
98 |
-
outputStyle: 'expanded' // Options: nested, expanded, compact, compressed
|
99 |
-
}))
|
100 |
-
|
101 |
-
// Create style.css.
|
102 |
-
.pipe(gulp.dest('./assets/css'))
|
103 |
-
});
|
104 |
-
|
105 |
-
/**
|
106 |
-
* Run stylesheet through PostCSS.
|
107 |
-
*
|
108 |
-
* https://www.npmjs.com/package/gulp-postcss
|
109 |
-
* https://www.npmjs.com/package/gulp-autoprefixer
|
110 |
-
* https://www.npmjs.com/package/css-mqpacker
|
111 |
-
*/
|
112 |
-
gulp.task('postcss', ['sass'], function() {
|
113 |
-
return gulp.src('assets/css/style.css')
|
114 |
-
|
115 |
-
// Wrap tasks in a sourcemap.
|
116 |
-
.pipe(sourcemaps.init())
|
117 |
-
|
118 |
-
// Deal with errors.
|
119 |
-
.pipe(plumber({ errorHandler: handleErrors }))
|
120 |
-
|
121 |
-
// Parse with PostCSS plugins.
|
122 |
-
.pipe(postcss([
|
123 |
-
autoprefixer({
|
124 |
-
browsers: ['last 2 version']
|
125 |
-
}),
|
126 |
-
mqpacker({
|
127 |
-
sort: true
|
128 |
-
}),
|
129 |
-
]))
|
130 |
-
|
131 |
-
// Create sourcemap.
|
132 |
-
.pipe(sourcemaps.write())
|
133 |
-
|
134 |
-
// Create style.css.
|
135 |
-
.pipe(gulp.dest('./assets/css'))
|
136 |
-
});
|
137 |
-
|
138 |
-
/**
|
139 |
-
* Minify and optimize style.css.
|
140 |
-
*
|
141 |
-
* https://www.npmjs.com/package/gulp-cssnano
|
142 |
-
*/
|
143 |
-
gulp.task('cssnano', ['postcss'], function() {
|
144 |
-
return gulp.src('assets/css/style.css')
|
145 |
-
|
146 |
-
// handle any errors
|
147 |
-
.pipe(plumber({ errorHandler: handleErrors }))
|
148 |
-
|
149 |
-
.pipe(cssnano({
|
150 |
-
safe: true // Use safe optimizations
|
151 |
-
}))
|
152 |
-
|
153 |
-
// rename file from style.css to style.min.css
|
154 |
-
.pipe(rename('style.min.css'))
|
155 |
-
|
156 |
-
.pipe(gulp.dest('./assets/css'))
|
157 |
-
});
|
158 |
-
|
159 |
-
/**
|
160 |
-
* Define default Gulp watch task
|
161 |
-
*/
|
162 |
-
gulp.task('watch', function() {
|
163 |
-
gulp.watch('./assets/sass/*.scss', ['cssnano']);
|
164 |
-
gulp.watch('./assets/js/**/*.js', ['scripts']);
|
165 |
-
});
|
166 |
-
|
167 |
-
/**
|
168 |
-
* Create individual tasks.
|
169 |
-
*/
|
170 |
-
//gulp.task('scripts', ['scripts']);
|
171 |
-
gulp.task('js', ['scripts']);
|
172 |
-
gulp.task('styles', ['cssnano']);
|
173 |
-
gulp.task('default', ['styles', 'js']);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/class-admin-pages.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage AdminPages
|
5 |
-
* @author
|
6 |
* @since 1.0.1
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage AdminPages
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.1
|
7 |
*/
|
8 |
|
includes/class-admin.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Admin
|
5 |
-
* @author
|
6 |
* @since 1.0.1
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Admin
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.1
|
7 |
*/
|
8 |
|
includes/class-api.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage API
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage API
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
includes/class-auth-redirect.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage AuthRedirect
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage AuthRedirect
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
includes/class-builder-fields.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage BuilderFields
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
@@ -277,7 +277,6 @@ class ConstantContact_Builder_Fields {
|
|
277 |
// Add our field description
|
278 |
$fields_metabox->add_group_field( $custom_group, array(
|
279 |
'name' => __( 'Field Description', 'constant-contact-forms' ),
|
280 |
-
'desc' => __( '', 'constant-contact-forms' ),
|
281 |
'id' => $this->prefix . 'field_desc',
|
282 |
'type' => 'text',
|
283 |
'default' => 'Ex: Enter email address',
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage BuilderFields
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
277 |
// Add our field description
|
278 |
$fields_metabox->add_group_field( $custom_group, array(
|
279 |
'name' => __( 'Field Description', 'constant-contact-forms' ),
|
|
|
280 |
'id' => $this->prefix . 'field_desc',
|
281 |
'type' => 'text',
|
282 |
'default' => 'Ex: Enter email address',
|
includes/class-builder.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Builder
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Builder
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
includes/class-check.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Check
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
@@ -117,7 +117,7 @@ class ConstantContact_Check {
|
|
117 |
}
|
118 |
|
119 |
// Check to see if we can load the encryption library
|
120 |
-
$crypto =
|
121 |
echo '<tr><td>' . esc_attr_e( 'Encrpytion Library: ', 'constant-contact-forms' ) . '</td><td>' . esc_attr( $this->exists_text( $crypto ) ) . '</td></tr>';
|
122 |
|
123 |
echo '</table>';
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Check
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
117 |
}
|
118 |
|
119 |
// Check to see if we can load the encryption library
|
120 |
+
$crypto = $this->plugin->connect->check_crypto_class();
|
121 |
echo '<tr><td>' . esc_attr_e( 'Encrpytion Library: ', 'constant-contact-forms' ) . '</td><td>' . esc_attr( $this->exists_text( $crypto ) ) . '</td></tr>';
|
122 |
|
123 |
echo '</table>';
|
includes/class-connect.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Connect
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
@@ -291,7 +291,7 @@ class ConstantContact_Connect {
|
|
291 |
*/
|
292 |
public function e_get( $check_key, $fallback_to_ctct_opt = false ) {
|
293 |
|
294 |
-
if ( !
|
295 |
return get_option( $check_key, '' );
|
296 |
}
|
297 |
|
@@ -341,7 +341,7 @@ class ConstantContact_Connect {
|
|
341 |
*/
|
342 |
public function e_set( $check_key, $data, $autoload = false ) {
|
343 |
|
344 |
-
if ( !
|
345 |
update_option( $check_key, $data );
|
346 |
return $data;
|
347 |
}
|
@@ -410,7 +410,7 @@ class ConstantContact_Connect {
|
|
410 |
*/
|
411 |
public function get_encrpyt_key() {
|
412 |
|
413 |
-
if ( !
|
414 |
return 'ctct_key';
|
415 |
}
|
416 |
|
@@ -435,7 +435,7 @@ class ConstantContact_Connect {
|
|
435 |
public function generate_and_save_key( $first_try = true ) {
|
436 |
|
437 |
// If we can't run encryption stuff, then don't.
|
438 |
-
if ( !
|
439 |
return 'ctct_key';
|
440 |
}
|
441 |
|
@@ -458,4 +458,62 @@ class ConstantContact_Connect {
|
|
458 |
// Send that key back
|
459 |
return $key;
|
460 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
461 |
}
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Connect
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
291 |
*/
|
292 |
public function e_get( $check_key, $fallback_to_ctct_opt = false ) {
|
293 |
|
294 |
+
if ( ! $this->is_encryption_ready() ) {
|
295 |
return get_option( $check_key, '' );
|
296 |
}
|
297 |
|
341 |
*/
|
342 |
public function e_set( $check_key, $data, $autoload = false ) {
|
343 |
|
344 |
+
if ( ! $this->is_encryption_ready() ) {
|
345 |
update_option( $check_key, $data );
|
346 |
return $data;
|
347 |
}
|
410 |
*/
|
411 |
public function get_encrpyt_key() {
|
412 |
|
413 |
+
if ( ! $this->is_encryption_ready() ) {
|
414 |
return 'ctct_key';
|
415 |
}
|
416 |
|
435 |
public function generate_and_save_key( $first_try = true ) {
|
436 |
|
437 |
// If we can't run encryption stuff, then don't.
|
438 |
+
if ( ! $this->is_encryption_ready() ) {
|
439 |
return 'ctct_key';
|
440 |
}
|
441 |
|
458 |
// Send that key back
|
459 |
return $key;
|
460 |
}
|
461 |
+
|
462 |
+
/**
|
463 |
+
* Checks to see if the server will support encryption functionality.
|
464 |
+
*
|
465 |
+
* @since 1.0.0
|
466 |
+
*
|
467 |
+
* @return boolean If we should load/use the encryption libraries.
|
468 |
+
*/
|
469 |
+
public function is_encryption_ready() {
|
470 |
+
|
471 |
+
// Make sure we have our openssl libraries.
|
472 |
+
if ( ! function_exists( 'openssl_encrypt' ) || ! function_exists( 'openssl_decrypt' ) ) {
|
473 |
+
return false;
|
474 |
+
}
|
475 |
+
|
476 |
+
// Check to make sure we dont' get any exceptions when loading the class.
|
477 |
+
if ( ! $this->check_crypto_class() ) {
|
478 |
+
return false;
|
479 |
+
}
|
480 |
+
|
481 |
+
// We should be good.
|
482 |
+
return true;
|
483 |
+
}
|
484 |
+
|
485 |
+
/**
|
486 |
+
* Helper method to check our crypto clases.
|
487 |
+
*
|
488 |
+
* @since 1.0.0
|
489 |
+
*
|
490 |
+
* @return boolean If we can encrpyt or not.
|
491 |
+
*/
|
492 |
+
public function check_crypto_class() {
|
493 |
+
|
494 |
+
try {
|
495 |
+
$return = false;
|
496 |
+
Constant_Contact::get_instance()->load_libs( true );
|
497 |
+
|
498 |
+
// If we have the Runtime test class.
|
499 |
+
if ( class_exists( 'Defuse\Crypto\RuntimeTests' ) ) {
|
500 |
+
|
501 |
+
// If we have our Crpyto class, we'll run the included
|
502 |
+
// runtime tests and see if we get the correct response.
|
503 |
+
$tests = new Defuse\Crypto\RuntimeTests;
|
504 |
+
$tests = $tests->runtimeTest();
|
505 |
+
$return = true;
|
506 |
+
}
|
507 |
+
} catch ( Exception $exception ) {
|
508 |
+
|
509 |
+
// If we caught an exception of some kind, then we're not able
|
510 |
+
// to use this library.
|
511 |
+
if ( $exception ) {
|
512 |
+
$return = false;
|
513 |
+
}
|
514 |
+
}
|
515 |
+
|
516 |
+
// Send back if we can or can't use the library.
|
517 |
+
return $return;
|
518 |
+
}
|
519 |
}
|
includes/class-cpts.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage CPTS
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage CPTS
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
includes/class-display-shortcode.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage DisplayShortcode
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage DisplayShortcode
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
includes/class-display.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Display
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Display
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
includes/class-lists.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Lists
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Lists
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
includes/class-mail.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Mail
|
5 |
-
* @author
|
6 |
* @since 1.0.2
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Mail
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.2
|
7 |
*/
|
8 |
|
includes/class-middleware.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Middleware
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Middleware
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
includes/class-notification-content.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Notifications_Content
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Notifications_Content
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
includes/class-notifications.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Notifications
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Notifications
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
includes/class-process-form.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage ProcessForm
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage ProcessForm
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
includes/class-settings.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Settings
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
@@ -245,10 +245,11 @@ class ConstantContact_Settings {
|
|
245 |
$business_addr = '';
|
246 |
|
247 |
// We might be able to get it from the API?
|
248 |
-
|
|
|
249 |
// Make sure no one can edit.
|
250 |
$business_name = $disclosure_info['name'] ?: $business_name;
|
251 |
-
$business_addr = $disclosure_info['address'] ?: '';
|
252 |
}
|
253 |
|
254 |
$cmb->add_field( array(
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Settings
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
245 |
$business_addr = '';
|
246 |
|
247 |
// We might be able to get it from the API?
|
248 |
+
$disclosure_info = $this->plugin->api->get_disclosure_info( true );
|
249 |
+
if ( ! empty( $disclosure_info ) ) {
|
250 |
// Make sure no one can edit.
|
251 |
$business_name = $disclosure_info['name'] ?: $business_name;
|
252 |
+
$business_addr = isset( $disclosure_info['address'] ) ?: '';
|
253 |
}
|
254 |
|
255 |
$cmb->add_field( array(
|
includes/class-shortcode-admin.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage ShortcodeAdmin
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage ShortcodeAdmin
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
includes/class-shortcode.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Shortcode
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Shortcode
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
includes/class-updates.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Updates
|
5 |
-
* @author
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
2 |
/**
|
3 |
* @package ConstantContact
|
4 |
* @subpackage Updates
|
5 |
+
* @author Constant Contact
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
includes/helper-functions.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Helper Functions for end-users to leverage when building themes or plugins.
|
4 |
*
|
5 |
* @package ConstantContact
|
6 |
-
* @author
|
7 |
* @since 1.0.0
|
8 |
*/
|
9 |
|
3 |
* Helper Functions for end-users to leverage when building themes or plugins.
|
4 |
*
|
5 |
* @package ConstantContact
|
6 |
+
* @author Constant Contact
|
7 |
* @since 1.0.0
|
8 |
*/
|
9 |
|
languages/constant-contact-forms.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the same license as the Constant Contact Forms for WordPress package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Constant Contact Forms for WordPress 1.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/constant-contact-"
|
7 |
-
"forms
|
8 |
-
"POT-Creation-Date: 2016-09-19
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -13,13 +13,21 @@ msgstr ""
|
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
|
|
|
|
|
16 |
#: constant-contact-forms.php:201 includes/class-builder.php:309
|
17 |
#: includes/class-cpts.php:93 includes/class-cpts.php:151
|
18 |
msgid "Constant Contact"
|
19 |
msgstr ""
|
20 |
|
21 |
-
#: constant-contact-forms.php:
|
22 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
msgstr ""
|
24 |
|
25 |
#: includes/class-admin-pages.php:80
|
@@ -195,7 +203,7 @@ msgstr ""
|
|
195 |
msgid "License"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: includes/class-admin.php:192 includes/class-settings.php:
|
199 |
msgid "Settings updated."
|
200 |
msgstr ""
|
201 |
|
@@ -285,7 +293,7 @@ msgstr ""
|
|
285 |
msgid "Your Business Name"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: includes/class-builder-fields.php:221 includes/class-settings.php:
|
289 |
msgid "Opt-in Affirmation"
|
290 |
msgstr ""
|
291 |
|
@@ -335,59 +343,59 @@ msgstr ""
|
|
335 |
msgid "Field Description"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: includes/class-builder-fields.php:
|
339 |
msgid "Email (required)"
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: includes/class-builder-fields.php:
|
343 |
msgid "First Name"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: includes/class-builder-fields.php:
|
347 |
msgid "Last Name"
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: includes/class-builder-fields.php:
|
351 |
msgid "Phone Number"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: includes/class-builder-fields.php:
|
355 |
msgid "Address"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: includes/class-builder-fields.php:
|
359 |
msgid "Job Title"
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: includes/class-builder-fields.php:
|
363 |
msgid "Company"
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: includes/class-builder-fields.php:
|
367 |
msgid "Website"
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: includes/class-builder-fields.php:
|
371 |
msgid "Birthday"
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: includes/class-builder-fields.php:
|
375 |
msgid "Anniversary"
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: includes/class-builder-fields.php:
|
379 |
msgid "Custom Text Field"
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: includes/class-builder-fields.php:
|
383 |
msgid "Custom Text Area"
|
384 |
msgstr ""
|
385 |
|
386 |
-
#: includes/class-builder-fields.php:
|
387 |
msgid "Select a Field"
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: includes/class-builder-fields.php:
|
391 |
msgid "Required"
|
392 |
msgstr ""
|
393 |
|
@@ -966,31 +974,31 @@ msgstr ""
|
|
966 |
msgid "Business Name"
|
967 |
msgstr ""
|
968 |
|
969 |
-
#: includes/class-settings.php:
|
970 |
msgid "Yes, I would like to receive emails from %s. Sign me up!"
|
971 |
msgstr ""
|
972 |
|
973 |
-
#: includes/class-settings.php:
|
974 |
msgid "Disclosure Name"
|
975 |
msgstr ""
|
976 |
|
977 |
-
#: includes/class-settings.php:
|
978 |
msgid "Disclosure Address"
|
979 |
msgstr ""
|
980 |
|
981 |
-
#: includes/class-settings.php:
|
982 |
msgid "Add a checkbox to the comment field in your posts"
|
983 |
msgstr ""
|
984 |
|
985 |
-
#: includes/class-settings.php:
|
986 |
msgid "Add a checkbox to the main WordPress login page"
|
987 |
msgstr ""
|
988 |
|
989 |
-
#: includes/class-settings.php:
|
990 |
msgid "Add a checkbox to the WordPress user registration page"
|
991 |
msgstr ""
|
992 |
|
993 |
-
#: includes/class-settings.php:
|
994 |
msgid "Sign up to our newsletter."
|
995 |
msgstr ""
|
996 |
|
@@ -1219,18 +1227,13 @@ msgstr ""
|
|
1219 |
msgid "Constant Contact Forms for WordPress"
|
1220 |
msgstr ""
|
1221 |
|
|
|
1222 |
#. Plugin URI of the plugin/theme
|
1223 |
-
|
|
|
|
|
1224 |
msgstr ""
|
1225 |
|
1226 |
#. Description of the plugin/theme
|
1227 |
msgid "Be a better marketer. All it takes is Constant Contact email marketing."
|
1228 |
msgstr ""
|
1229 |
-
|
1230 |
-
#. Author of the plugin/theme
|
1231 |
-
msgid "Pluginize"
|
1232 |
-
msgstr ""
|
1233 |
-
|
1234 |
-
#. Author URI of the plugin/theme
|
1235 |
-
msgid "http://pluginize.com"
|
1236 |
-
msgstr ""
|
2 |
# This file is distributed under the same license as the Constant Contact Forms for WordPress package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Constant Contact Forms for WordPress 1.0.1\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/constant-contact-"
|
7 |
+
"forms\n"
|
8 |
+
"POT-Creation-Date: 2016-09-27 19:08:09+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
|
16 |
+
#. #-#-#-#-# constant-contact-forms.pot (Constant Contact Forms for WordPress 1.0.1) #-#-#-#-#
|
17 |
+
#. Author of the plugin/theme
|
18 |
#: constant-contact-forms.php:201 includes/class-builder.php:309
|
19 |
#: includes/class-cpts.php:93 includes/class-cpts.php:151
|
20 |
msgid "Constant Contact"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: constant-contact-forms.php:232
|
24 |
+
msgid ""
|
25 |
+
"This plugin requires PHP 5.4 or higher. Your hosting provider or website "
|
26 |
+
"administrator should be able to assist in updating your PHP version."
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: constant-contact-forms.php:522
|
30 |
+
msgid "Error loading license."
|
31 |
msgstr ""
|
32 |
|
33 |
#: includes/class-admin-pages.php:80
|
203 |
msgid "License"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: includes/class-admin.php:192 includes/class-settings.php:596
|
207 |
msgid "Settings updated."
|
208 |
msgstr ""
|
209 |
|
293 |
msgid "Your Business Name"
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: includes/class-builder-fields.php:221 includes/class-settings.php:256
|
297 |
msgid "Opt-in Affirmation"
|
298 |
msgstr ""
|
299 |
|
343 |
msgid "Field Description"
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: includes/class-builder-fields.php:286
|
347 |
msgid "Email (required)"
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: includes/class-builder-fields.php:287
|
351 |
msgid "First Name"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: includes/class-builder-fields.php:288
|
355 |
msgid "Last Name"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: includes/class-builder-fields.php:289
|
359 |
msgid "Phone Number"
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: includes/class-builder-fields.php:290
|
363 |
msgid "Address"
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: includes/class-builder-fields.php:291
|
367 |
msgid "Job Title"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: includes/class-builder-fields.php:292
|
371 |
msgid "Company"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: includes/class-builder-fields.php:293
|
375 |
msgid "Website"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: includes/class-builder-fields.php:294
|
379 |
msgid "Birthday"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: includes/class-builder-fields.php:295
|
383 |
msgid "Anniversary"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: includes/class-builder-fields.php:296
|
387 |
msgid "Custom Text Field"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: includes/class-builder-fields.php:297
|
391 |
msgid "Custom Text Area"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: includes/class-builder-fields.php:302
|
395 |
msgid "Select a Field"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: includes/class-builder-fields.php:313
|
399 |
msgid "Required"
|
400 |
msgstr ""
|
401 |
|
974 |
msgid "Business Name"
|
975 |
msgstr ""
|
976 |
|
977 |
+
#: includes/class-settings.php:259
|
978 |
msgid "Yes, I would like to receive emails from %s. Sign me up!"
|
979 |
msgstr ""
|
980 |
|
981 |
+
#: includes/class-settings.php:264
|
982 |
msgid "Disclosure Name"
|
983 |
msgstr ""
|
984 |
|
985 |
+
#: includes/class-settings.php:272
|
986 |
msgid "Disclosure Address"
|
987 |
msgstr ""
|
988 |
|
989 |
+
#: includes/class-settings.php:292
|
990 |
msgid "Add a checkbox to the comment field in your posts"
|
991 |
msgstr ""
|
992 |
|
993 |
+
#: includes/class-settings.php:293
|
994 |
msgid "Add a checkbox to the main WordPress login page"
|
995 |
msgstr ""
|
996 |
|
997 |
+
#: includes/class-settings.php:298
|
998 |
msgid "Add a checkbox to the WordPress user registration page"
|
999 |
msgstr ""
|
1000 |
|
1001 |
+
#: includes/class-settings.php:390
|
1002 |
msgid "Sign up to our newsletter."
|
1003 |
msgstr ""
|
1004 |
|
1227 |
msgid "Constant Contact Forms for WordPress"
|
1228 |
msgstr ""
|
1229 |
|
1230 |
+
#. #-#-#-#-# constant-contact-forms.pot (Constant Contact Forms for WordPress 1.0.1) #-#-#-#-#
|
1231 |
#. Plugin URI of the plugin/theme
|
1232 |
+
#. #-#-#-#-# constant-contact-forms.pot (Constant Contact Forms for WordPress 1.0.1) #-#-#-#-#
|
1233 |
+
#. Author URI of the plugin/theme
|
1234 |
+
msgid "https://www.constantcontact.com"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
#. Description of the plugin/theme
|
1238 |
msgid "Be a better marketer. All it takes is Constant Contact email marketing."
|
1239 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Constant Contact Forms ===
|
2 |
-
Contributors: constantcontact
|
3 |
Tags:
|
4 |
Requires at least: 4.0.0
|
5 |
Tested up to: 4.6.1
|
6 |
-
Stable tag: 1.0.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -31,5 +31,9 @@ BONUS: If you have a Constant Contact account, all new email addresses that you
|
|
31 |
|
32 |
== Changelog ==
|
33 |
|
|
|
|
|
|
|
|
|
34 |
= 1.0.0 =
|
35 |
* Initial Release
|
1 |
=== Constant Contact Forms ===
|
2 |
+
Contributors: constantcontact
|
3 |
Tags:
|
4 |
Requires at least: 4.0.0
|
5 |
Tested up to: 4.6.1
|
6 |
+
Stable tag: 1.0.1
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
31 |
|
32 |
== Changelog ==
|
33 |
|
34 |
+
= 1.0.1 =
|
35 |
+
* Fixed: issue with PHP 5.5+ syntax when we need 5.4+
|
36 |
+
* Added: Prevention of plugin loading for users below PHP version 5.4 to avoid incompatibility issues.
|
37 |
+
|
38 |
= 1.0.0 =
|
39 |
* Initial Release
|