Version Description
- Tweak ad display
Download this release
Release Info
| Developer | tlovett1 |
| Plugin | |
| Version | 6.9.2 |
| Comparing to | |
| See all releases | |
Code changes from version 6.9.1 to 6.9.2
- bin/production-ready.sh +0 -29
- build/css/admin.css +4 -0
- build/css/admin.css.map +1 -1
- build/css/admin.min.css +1 -1
- classes/class-ccf-ads.php +0 -13
- custom-contact-forms.php +1 -1
- readme.txt +5 -2
bin/production-ready.sh
DELETED
|
@@ -1,29 +0,0 @@
|
|
| 1 |
-
#!/usr/bin/env bash
|
| 2 |
-
|
| 3 |
-
echo "Are you sure you want to do this? Uncommitted work could be lost. [y/n]"
|
| 4 |
-
read input_variable
|
| 5 |
-
|
| 6 |
-
if [ "$input_variable" == "y" ]; then
|
| 7 |
-
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
| 8 |
-
|
| 9 |
-
cd "$DIR/../"
|
| 10 |
-
|
| 11 |
-
rm bin/install-wp-tests.sh > /dev/null 2>&1
|
| 12 |
-
|
| 13 |
-
rm -rf bower_components > /dev/null 2>&1
|
| 14 |
-
rm -rf node_modules > /dev/null 2>&1
|
| 15 |
-
rm -rf scss > /dev/null 2>&1
|
| 16 |
-
rm -rf tests > /dev/null 2>&1
|
| 17 |
-
rm -rf .sass-cache > /dev/null 2>&1
|
| 18 |
-
rm -rf vendor/wp-api/wp-api/.git > /dev/null 2>&1
|
| 19 |
-
|
| 20 |
-
rm .travis.yml > /dev/null 2>&1
|
| 21 |
-
rm Gruntfile.js > /dev/null 2>&1
|
| 22 |
-
rm Dockunit.json > /dev/null 2>&1
|
| 23 |
-
rm phpunit.xml > /dev/null 2>&1
|
| 24 |
-
rm .jshintrc > /dev/null 2>&1
|
| 25 |
-
|
| 26 |
-
bower install --production > /dev/null 2>&1
|
| 27 |
-
|
| 28 |
-
echo "Done! Custom Contact Forms is cleaned up and production ready."
|
| 29 |
-
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
build/css/admin.css
CHANGED
|
@@ -16,6 +16,10 @@
|
|
| 16 |
cursor: pointer;
|
| 17 |
-webkit-font-smoothing: antialiased; }
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
.ccf-hosting-offer ul {
|
| 20 |
list-style-type: disc;
|
| 21 |
margin-left: 30px; }
|
| 16 |
cursor: pointer;
|
| 17 |
-webkit-font-smoothing: antialiased; }
|
| 18 |
|
| 19 |
+
.ccf-hosting-offer:after {
|
| 20 |
+
display: block;
|
| 21 |
+
content: ' '; }
|
| 22 |
+
|
| 23 |
.ccf-hosting-offer ul {
|
| 24 |
list-style-type: disc;
|
| 25 |
margin-left: 30px; }
|
build/css/admin.css.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"version": 3,
|
| 3 |
-
"mappings": ";AAAA,UASC;EARA,WAAW,EAAE,MAAM;EACnB,GAAG,EAAC,2BAA2B;EAC/B,GAAG,EAAC,mNAA8D;EAIlE,WAAW,EAAE,MAAM;EACnB,UAAU,EAAE,MAAM;AAIlB,0CAAsB;EACrB,WAAW,EAAE,MAAM;EACnB,OAAO,EAAE,GAAG;EACZ,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,MAAM;EACnB,YAAY,EAAE,MAAM;EACpB,cAAc,EAAE,IAAI;EACpB,WAAW,EAAE,CAAC;EACd,MAAM,EAAE,OAAO;EACf,sBAAsB,EAAE,WAAW;;
|
| 4 |
"sources": ["../../scss/admin.scss"],
|
| 5 |
"names": [],
|
| 6 |
"file": "admin.css"
|
| 1 |
{
|
| 2 |
"version": 3,
|
| 3 |
+
"mappings": ";AAAA,UASC;EARA,WAAW,EAAE,MAAM;EACnB,GAAG,EAAC,2BAA2B;EAC/B,GAAG,EAAC,mNAA8D;EAIlE,WAAW,EAAE,MAAM;EACnB,UAAU,EAAE,MAAM;AAIlB,0CAAsB;EACrB,WAAW,EAAE,MAAM;EACnB,OAAO,EAAE,GAAG;EACZ,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,MAAM;EACnB,YAAY,EAAE,MAAM;EACpB,cAAc,EAAE,IAAI;EACpB,WAAW,EAAE,CAAC;EACd,MAAM,EAAE,OAAO;EACf,sBAAsB,EAAE,WAAW;;AAIrC,wBAAyB;EACxB,OAAO,EAAE,KAAK;EACd,OAAO,EAAE,GAAG;;AAGb,qBAAsB;EACrB,eAAe,EAAE,IAAI;EACrB,WAAW,EAAE,IAAI;;AAGlB,qCAAsC;EACrC,YAAY,EAAE,IAAI",
|
| 4 |
"sources": ["../../scss/admin.scss"],
|
| 5 |
"names": [],
|
| 6 |
"file": "admin.css"
|
build/css/admin.min.css
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
@charset "UTF-8";@font-face{font-family:menu;src:url(../../fonts/menu.eot);src:url(../../fonts/menu.eot?#iefix) format("embedded-opentype"),url(../../fonts/menu.woff) format("woff"),url(../../fonts/menu.ttf) format("truetype"),url(../../fonts/menu.svg#form-manager) format("svg");font-weight:400;font-style:normal}#menu-posts-ccf_form .wp-menu-image:before{font-family:menu;content:"";speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;cursor:pointer;-webkit-font-smoothing:antialiased}.ccf-hosting-offer ul{list-style-type:disc;margin-left:30px}.ccf-hosting-offer input[type=text]{margin-right:20px}
|
| 1 |
+
@charset "UTF-8";@font-face{font-family:menu;src:url(../../fonts/menu.eot);src:url(../../fonts/menu.eot?#iefix) format("embedded-opentype"),url(../../fonts/menu.woff) format("woff"),url(../../fonts/menu.ttf) format("truetype"),url(../../fonts/menu.svg#form-manager) format("svg");font-weight:400;font-style:normal}#menu-posts-ccf_form .wp-menu-image:before{font-family:menu;content:"";speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;cursor:pointer;-webkit-font-smoothing:antialiased}.ccf-hosting-offer:after{display:block;content:' '}.ccf-hosting-offer ul{list-style-type:disc;margin-left:30px}.ccf-hosting-offer input[type=text]{margin-right:20px}
|
classes/class-ccf-ads.php
CHANGED
|
@@ -17,19 +17,6 @@ class CCF_Ads {
|
|
| 17 |
update_option( 'ccf_hide_ads', true );
|
| 18 |
} elseif ( ! empty( $_POST['ccf_hosting_signup'] ) && ! empty( $_POST['email'] ) ) {
|
| 19 |
|
| 20 |
-
$payload = array(
|
| 21 |
-
'email_address' => $_POST['email'],
|
| 22 |
-
'status' => 'subscribed',
|
| 23 |
-
'merge_fields' => array(
|
| 24 |
-
'URL' => 'http://' . $_SERVER['HTTP_HOST'],
|
| 25 |
-
)
|
| 26 |
-
);
|
| 27 |
-
|
| 28 |
-
$request = wp_remote_request( 'https://test:b7d9f4eff3654c742a805ed6d8ebc304-us8@us8.api.mailchimp.com/3.0/lists/b4ed816a24/members', array(
|
| 29 |
-
'method' => 'POST',
|
| 30 |
-
'body' => json_encode( $payload ),
|
| 31 |
-
) );
|
| 32 |
-
|
| 33 |
$headers = 'From: CCF User <' . $_POST['email'] . '>' . "\r\n";
|
| 34 |
wp_mail( 'tlovett88@gmail.com', 'I Want WordPress Hosting on http://' . $_SERVER['HTTP_HOST'], 'Hey! I\'d love some info on WordPress hosting. My email is ' . $_POST['email'] . ' and my website is http://' . $_SERVER['HTTP_HOST'] . '.', $headers );
|
| 35 |
|
| 17 |
update_option( 'ccf_hide_ads', true );
|
| 18 |
} elseif ( ! empty( $_POST['ccf_hosting_signup'] ) && ! empty( $_POST['email'] ) ) {
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
$headers = 'From: CCF User <' . $_POST['email'] . '>' . "\r\n";
|
| 21 |
wp_mail( 'tlovett88@gmail.com', 'I Want WordPress Hosting on http://' . $_SERVER['HTTP_HOST'], 'Hey! I\'d love some info on WordPress hosting. My email is ' . $_POST['email'] . ' and my website is http://' . $_SERVER['HTTP_HOST'] . '.', $headers );
|
| 22 |
|
custom-contact-forms.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
* Plugin URI: http://www.taylorlovett.com
|
| 5 |
* Description: Build beautiful custom forms the WordPress way. View live previews of your forms while you build them.
|
| 6 |
* Author: Taylor Lovett
|
| 7 |
-
* Version: 6.9.
|
| 8 |
* Author URI: http://www.taylorlovett.com
|
| 9 |
*/
|
| 10 |
|
| 4 |
* Plugin URI: http://www.taylorlovett.com
|
| 5 |
* Description: Build beautiful custom forms the WordPress way. View live previews of your forms while you build them.
|
| 6 |
* Author: Taylor Lovett
|
| 7 |
+
* Version: 6.9.2
|
| 8 |
* Author URI: http://www.taylorlovett.com
|
| 9 |
*/
|
| 10 |
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
| 4 |
Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers, forms
|
| 5 |
Requires at least: 3.9
|
| 6 |
Tested up to: 4.4
|
| 7 |
-
Stable tag: 6.9.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -37,7 +37,10 @@ For questions, feature requests, and support concerning the Custom Contact Forms
|
|
| 37 |
|
| 38 |
== Changelog ==
|
| 39 |
|
| 40 |
-
= 6.9.
|
|
|
|
|
|
|
|
|
|
| 41 |
* Ads
|
| 42 |
|
| 43 |
= 6.9.0 =
|
| 4 |
Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers, forms
|
| 5 |
Requires at least: 3.9
|
| 6 |
Tested up to: 4.4
|
| 7 |
+
Stable tag: 6.9.2
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 37 |
|
| 38 |
== Changelog ==
|
| 39 |
|
| 40 |
+
= 6.9.2 =
|
| 41 |
+
* Tweak ad display
|
| 42 |
+
|
| 43 |
+
= 6.9.1 =
|
| 44 |
* Ads
|
| 45 |
|
| 46 |
= 6.9.0 =
|
