CMP – Coming Soon & Maintenance Plugin by NiteoThemes - Version 3.5.5

Version Description

Download this release

Release Info

Developer niteo
Plugin Icon 128x128 CMP – Coming Soon & Maintenance Plugin by NiteoThemes
Version 3.5.5
Comparing to
See all releases

Code changes from version 3.5.4 to 3.5.5

inc/class-cmp-render_html.php CHANGED
@@ -509,6 +509,10 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
509
  echo ( $mode == 'text' ) ? '<li class="social-child' . $liclass . '"><a href="https://api.whatsapp.com/send?phone='.esc_html(str_replace('+', '', $social['url'])).'" target="_blank" class="social-'.$social['name'].'">'.ucfirst($social['name']).'</a></li>' : '<li class="social-child' . $liclass . '"><a href="https://api.whatsapp.com/send?phone='.esc_html(str_replace('+', '', $social['url'])).'" target="_blank" class="social-'.$social['name'].'">'.$theme_html.'<i class="fa fa-'.$social['name'].'" aria-hidden="true"></i></a></li>';
510
  break;
511
 
 
 
 
 
512
  default:
513
  echo ( $mode == 'text' ) ? '<li class="social-child' . $liclass . '"><a href="'.esc_url($social['url']).'" target="top" class="social-'.$social['name'].'">'.ucfirst($social['name']).'</a></li>' : '<li class="social-child' . $liclass . '"><a href="'.esc_url($social['url']).'" target="top" class="social-'.$social['name'].'">'.$theme_html.'<i class="fa fa-'.$social['name'].'" aria-hidden="true"></i></a></li>';
514
  break;
509
  echo ( $mode == 'text' ) ? '<li class="social-child' . $liclass . '"><a href="https://api.whatsapp.com/send?phone='.esc_html(str_replace('+', '', $social['url'])).'" target="_blank" class="social-'.$social['name'].'">'.ucfirst($social['name']).'</a></li>' : '<li class="social-child' . $liclass . '"><a href="https://api.whatsapp.com/send?phone='.esc_html(str_replace('+', '', $social['url'])).'" target="_blank" class="social-'.$social['name'].'">'.$theme_html.'<i class="fa fa-'.$social['name'].'" aria-hidden="true"></i></a></li>';
510
  break;
511
 
512
+ case 'youtube':
513
+ echo ( $mode == 'text' ) ? '<li class="social-child' . $liclass . '"><a href="'.esc_url($social['url']).'" target="top" class="social-'.$social['name'].'">YouTube</a></li>' : '<li class="social-child' . $liclass . '"><a href="'.esc_url($social['url']).'" target="top" class="social-'.$social['name'].'">'.$theme_html.'<i class="fa fa-'.$social['name'].'" aria-hidden="true"></i></a></li>';
514
+ break;
515
+
516
  default:
517
  echo ( $mode == 'text' ) ? '<li class="social-child' . $liclass . '"><a href="'.esc_url($social['url']).'" target="top" class="social-'.$social['name'].'">'.ucfirst($social['name']).'</a></li>' : '<li class="social-child' . $liclass . '"><a href="'.esc_url($social['url']).'" target="top" class="social-'.$social['name'].'">'.$theme_html.'<i class="fa fa-'.$social['name'].'" aria-hidden="true"></i></a></li>';
518
  break;
inc/settings/settings-social-media.php CHANGED
@@ -77,6 +77,10 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
77
  $title = ucfirst( $social['name'] );
78
  $url = 'https://plus.google.com/profile';
79
  break;
 
 
 
 
80
  case 'behance':
81
  $title = ucfirst( $social['name'] );
82
  $url = 'https://behance.net/profile';
77
  $title = ucfirst( $social['name'] );
78
  $url = 'https://plus.google.com/profile';
79
  break;
80
+ case 'youtube':
81
+ $title = 'YouTube';
82
+ $url = 'https://youtube.com/user/username';
83
+ break;
84
  case 'behance':
85
  $title = ucfirst( $social['name'] );
86
  $url = 'https://behance.net/profile';
niteo-cmp.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: CMP - Coming Soon & Maintenance Plugin
4
  Plugin URI: https://wordpress.org/plugins/cmp-coming-soon-maintenance/
5
  Description: Display customizable landing page for Coming Soon, Maintenance & Under Construction page.
6
- Version: 3.5.4
7
  Author: NiteoThemes
8
  Author URI: https://www.niteothemes.com
9
  Text Domain: cmp-coming-soon-maintenance
@@ -64,7 +64,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
64
 
65
  private function constants() {
66
  // define constants
67
- $this->define( 'CMP_VERSION', '3.5.4' );
68
  $this->define( 'CMP_DEBUG', FALSE );
69
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
70
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
3
  Plugin Name: CMP - Coming Soon & Maintenance Plugin
4
  Plugin URI: https://wordpress.org/plugins/cmp-coming-soon-maintenance/
5
  Description: Display customizable landing page for Coming Soon, Maintenance & Under Construction page.
6
+ Version: 3.5.5
7
  Author: NiteoThemes
8
  Author URI: https://www.niteothemes.com
9
  Text Domain: cmp-coming-soon-maintenance
64
 
65
  private function constants() {
66
  // define constants
67
+ $this->define( 'CMP_VERSION', '3.5.5' );
68
  $this->define( 'CMP_DEBUG', FALSE );
69
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
70
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: coming soon, landing page, launch page, maintenance mode, under constructi
5
  Requires at least: 3.0
6
  Requires PHP: 5.3
7
  Tested up to: 5.2
8
- Stable tag: 3.5.4
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -135,6 +135,11 @@ https://www.youtube.com/watch?v=uxuJfHzwdtE
135
  <p>Nothing is better than a good feedback! Please go to <a href="https://wordpress.org/support/plugin/cmp-coming-soon-maintenance/reviews/">Plugin reviews</a> and rate it! Alternatively you can click on a Donate button too!:)</p>
136
 
137
  == Changelog ==
 
 
 
 
 
138
  <h4>CMP 3.5.4 - 12-Jun-19</h4>
139
  <ul>
140
  <li>Resolved issue with SEO image not properly set for Open Graph Protocol - thanks to @jeegrobot!</li>
5
  Requires at least: 3.0
6
  Requires PHP: 5.3
7
  Tested up to: 5.2
8
+ Stable tag: 3.5.5
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
135
  <p>Nothing is better than a good feedback! Please go to <a href="https://wordpress.org/support/plugin/cmp-coming-soon-maintenance/reviews/">Plugin reviews</a> and rate it! Alternatively you can click on a Donate button too!:)</p>
136
 
137
  == Changelog ==
138
+ <h4>CMP 3.5.5 - 13-Jun-19</h4>
139
+ <ul>
140
+ <li>YouTube brand name corrected - @khpro!</li>
141
+ </ul>
142
+
143
  <h4>CMP 3.5.4 - 12-Jun-19</h4>
144
  <ul>
145
  <li>Resolved issue with SEO image not properly set for Open Graph Protocol - thanks to @jeegrobot!</li>