Optin Forms - Version 1.2.8.3

Version Description

  • Fixes issue with missing styling on forms
Download this release

Release Info

Developer FancyThemes
Plugin Icon 128x128 Optin Forms
Version 1.2.8.3
Comparing to
See all releases

Code changes from version 1.2.8.2 to 1.2.8.3

Files changed (3) hide show
  1. includes/functions.php +0 -5
  2. optin-forms.php +5 -5
  3. readme.txt +4 -1
includes/functions.php CHANGED
@@ -617,11 +617,6 @@ function optinforms_get_used_fonts() {
617
  // Now include only these fonts to optimize load time
618
  function optinforms_used_fonts() {
619
 
620
- // if no font needed return false
621
- if ( ! optinforms_get_used_fonts() ) {
622
- return false;
623
- }
624
-
625
  $optinforms_google_url = "//fonts.googleapis.com/css?family=";
626
  return $optinforms_google_url.optinforms_get_used_fonts();
627
 
617
  // Now include only these fonts to optimize load time
618
  function optinforms_used_fonts() {
619
 
 
 
 
 
 
620
  $optinforms_google_url = "//fonts.googleapis.com/css?family=";
621
  return $optinforms_google_url.optinforms_get_used_fonts();
622
 
optin-forms.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Optin Forms
4
  Plugin URI: http://fancythemes.com/plugins/optin-forms/
5
  Description: Create beautiful optin forms with ease. Choose a form design, customize it, and add your form to your blog with a simple mouse-click.
6
  Author: FancyThemes
7
- Version: 1.2.8.2
8
  Author URI: http://www.fancythemes.com
9
  Text Domain: optin-forms
10
  Domain Path: /languages/
@@ -116,10 +116,10 @@ class Optin_Forms {
116
  */
117
  public function optinforms_scripts() {
118
  wp_enqueue_script('jquery');
119
- wp_enqueue_style('optinforms-stylesheet', plugins_url('/css/optinforms.css', __FILE__ ), array('optinforms-googleFont'));
120
- wp_enqueue_script('placeholder', plugins_url('/js/placeholder.js', __FILE__ ));
121
- if ( optinforms_used_fonts() ) {
122
- wp_register_style('optinforms-googleFont', optinforms_used_fonts());
123
  }
124
 
125
  global $optinforms_forms;
4
  Plugin URI: http://fancythemes.com/plugins/optin-forms/
5
  Description: Create beautiful optin forms with ease. Choose a form design, customize it, and add your form to your blog with a simple mouse-click.
6
  Author: FancyThemes
7
+ Version: 1.2.8.3
8
  Author URI: http://www.fancythemes.com
9
  Text Domain: optin-forms
10
  Domain Path: /languages/
116
  */
117
  public function optinforms_scripts() {
118
  wp_enqueue_script('jquery');
119
+ wp_enqueue_style('optinforms-stylesheet', plugins_url('/css/optinforms.css', __FILE__ ) );
120
+ wp_enqueue_script('placeholder', plugins_url('/js/placeholder.js', __FILE__ ));
121
+ if ( optinforms_used_fonts() !== '//fonts.googleapis.com/css?family=' ) {
122
+ wp_enqueue_style('optinforms-googleFont', optinforms_used_fonts());
123
  }
124
 
125
  global $optinforms_forms;
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: wpkube, FancyThemes
3
  Tags: optin, form, forms, aweber, email subscriber, icontact, mailchimp, getresponse, mad mimi, newsletter, mailchimp forms, mailchimp integrations, mailchimp plugin, getresponse forms, subscribe, aweber forms, after post optin form, after post optin form plugin, lead generation, mobile optin forms, mobile optins, sidebar form, sidebar optin form, wordpress after post optin form, wordpress lead generation, wordpress popups, optin locker, social locker, enter email to download, interspire, email marketer, email marketing, email, e-mail, list, list building, opt-in, newsletter, email list, autoresponder, popup, pop-up, mailing, mailing list, mail, webform, newsletter plugin, optin plugin, opt-in plugin, conversion, design, convertkit, convert, kit
4
  Requires at least: 3.2
5
  Tested up to: 4.8
6
- Stable tag: 1.2.8.2
7
 
8
  Create beautiful optin forms with ease. Choose a form design, customize it, and add your form to your blog with a simple mouse-click.
9
 
@@ -54,6 +54,9 @@ Having trouble with the plugin? Simply post your question to the [support forum]
54
  3. Add your form to your website with a simple mouse-click.
55
 
56
  == Changelog ==
 
 
 
57
  = 1.2.8.2 =
58
  * Fixes issue with Google Fonts console error for form design 06
59
 
3
  Tags: optin, form, forms, aweber, email subscriber, icontact, mailchimp, getresponse, mad mimi, newsletter, mailchimp forms, mailchimp integrations, mailchimp plugin, getresponse forms, subscribe, aweber forms, after post optin form, after post optin form plugin, lead generation, mobile optin forms, mobile optins, sidebar form, sidebar optin form, wordpress after post optin form, wordpress lead generation, wordpress popups, optin locker, social locker, enter email to download, interspire, email marketer, email marketing, email, e-mail, list, list building, opt-in, newsletter, email list, autoresponder, popup, pop-up, mailing, mailing list, mail, webform, newsletter plugin, optin plugin, opt-in plugin, conversion, design, convertkit, convert, kit
4
  Requires at least: 3.2
5
  Tested up to: 4.8
6
+ Stable tag: 1.2.8.3
7
 
8
  Create beautiful optin forms with ease. Choose a form design, customize it, and add your form to your blog with a simple mouse-click.
9
 
54
  3. Add your form to your website with a simple mouse-click.
55
 
56
  == Changelog ==
57
+ = 1.2.8.3 =
58
+ * Fixes issue with missing styling on forms
59
+
60
  = 1.2.8.2 =
61
  * Fixes issue with Google Fonts console error for form design 06
62