WhatsApp Chat WP - Version 5.0.7

Version Description

  • New. Admin WhatsApp Icon
Download this release

Release Info

Developer quadlayers
Plugin Icon 128x128 WhatsApp Chat WP
Version 5.0.7
Comparing to
See all releases

Code changes from version 5.0.6 to 5.0.7

includes/controllers/WelcomeController.php CHANGED
@@ -2,31 +2,31 @@
2
 
3
  class QLWAPP_Welcome_Controller {
4
 
5
- protected static $instance;
6
-
7
- function add_menu() {
8
- add_menu_page(QLWAPP_PLUGIN_NAME, QLWAPP_PLUGIN_NAME, 'edit_posts', QLWAPP_DOMAIN, array($this, 'add_panel'), plugins_url('/assets/backend/img/icon.png', QLWAPP_PLUGIN_FILE));
9
-
10
- add_submenu_page(QLWAPP_DOMAIN, esc_html__('Welcome', 'wp-whatsapp-chat'), esc_html__('Welcome', 'wp-whatsapp-chat'), 'edit_posts', QLWAPP_DOMAIN, array($this, 'add_panel'));
11
- }
12
-
13
- function add_panel() {
14
- global $submenu;
15
- include (QLWAPP_PLUGIN_DIR . '/includes/view/backend/pages/parts/header.php');
16
- include (QLWAPP_PLUGIN_DIR . '/includes/view/backend/pages/welcome.php');
17
- }
18
-
19
- function init() {
20
- add_action('admin_menu', array($this, 'add_menu'));
21
- }
22
-
23
- public static function instance() {
24
- if (!isset(self::$instance)) {
25
- self::$instance = new self();
26
- self::$instance->init();
27
- }
28
- return self::$instance;
29
- }
30
 
31
  }
32
 
2
 
3
  class QLWAPP_Welcome_Controller {
4
 
5
+ protected static $instance;
6
+
7
+ function add_menu() {
8
+ add_menu_page( QLWAPP_PLUGIN_NAME, QLWAPP_PLUGIN_NAME, 'edit_posts', QLWAPP_DOMAIN, array( $this, 'add_panel' ), 'dashicons-whatsapp' );
9
+
10
+ add_submenu_page( QLWAPP_DOMAIN, esc_html__( 'Welcome', 'wp-whatsapp-chat' ), esc_html__( 'Welcome', 'wp-whatsapp-chat' ), 'edit_posts', QLWAPP_DOMAIN, array( $this, 'add_panel' ) );
11
+ }
12
+
13
+ function add_panel() {
14
+ global $submenu;
15
+ include QLWAPP_PLUGIN_DIR . '/includes/view/backend/pages/parts/header.php';
16
+ include QLWAPP_PLUGIN_DIR . '/includes/view/backend/pages/welcome.php';
17
+ }
18
+
19
+ function init() {
20
+ add_action( 'admin_menu', array( $this, 'add_menu' ) );
21
+ }
22
+
23
+ public static function instance() {
24
+ if ( ! isset( self::$instance ) ) {
25
+ self::$instance = new self();
26
+ self::$instance->init();
27
+ }
28
+ return self::$instance;
29
+ }
30
 
31
  }
32
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: whatsapp, whatsapp business, click to chat, whatsapp chat, whatsapp suppor
5
  Requires at least: 4.6
6
  Requires PHP: 5.6
7
  Tested up to: 6.0.1
8
- Stable tag: 5.0.6
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -117,6 +117,9 @@ Don't use: +001-(555)1234567
117
 
118
  == Changelog ==
119
 
 
 
 
120
  = 5.0.6 =
121
  * New. WhatsApp chat message vars
122
 
5
  Requires at least: 4.6
6
  Requires PHP: 5.6
7
  Tested up to: 6.0.1
8
+ Stable tag: 5.0.7
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
 
117
 
118
  == Changelog ==
119
 
120
+ = 5.0.7 =
121
+ * New. Admin WhatsApp Icon
122
+
123
  = 5.0.6 =
124
  * New. WhatsApp chat message vars
125
 
wp-whatsapp-chat.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Social Chat
5
  * Description: Social Chat allows your visitors to contact you or your team through WhatsApp chat with a single click.
6
  * Plugin URI: https://quadlayers.com/portfolio/whatsapp-chat/
7
- * Version: 5.0.6
8
  * Author: QuadLayers
9
  * Author URI: https://quadlayers.com
10
  * License: GPLv3
@@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
17
  }
18
 
19
  define( 'QLWAPP_PLUGIN_NAME', 'Social Chat' );
20
- define( 'QLWAPP_PLUGIN_VERSION', '5.0.6' );
21
  define( 'QLWAPP_PLUGIN_FILE', __FILE__ );
22
  define( 'QLWAPP_PLUGIN_DIR', __DIR__ . DIRECTORY_SEPARATOR );
23
  define( 'QLWAPP_PREFIX', 'qlwapp' );
4
  * Plugin Name: Social Chat
5
  * Description: Social Chat allows your visitors to contact you or your team through WhatsApp chat with a single click.
6
  * Plugin URI: https://quadlayers.com/portfolio/whatsapp-chat/
7
+ * Version: 5.0.7
8
  * Author: QuadLayers
9
  * Author URI: https://quadlayers.com
10
  * License: GPLv3
17
  }
18
 
19
  define( 'QLWAPP_PLUGIN_NAME', 'Social Chat' );
20
+ define( 'QLWAPP_PLUGIN_VERSION', '5.0.7' );
21
  define( 'QLWAPP_PLUGIN_FILE', __FILE__ );
22
  define( 'QLWAPP_PLUGIN_DIR', __DIR__ . DIRECTORY_SEPARATOR );
23
  define( 'QLWAPP_PREFIX', 'qlwapp' );