Version Description
- deprecated function get_currentuserinfo() in 4.5 version. and remove it.
Download this release
Release Info
Developer | priyanshu.mittal |
Plugin | Easy Coming Soon |
Version | 1.8.5 |
Comparing to | |
See all releases |
Code changes from version 1.8.4.1 to 1.8.5
- coming-soon-plugin.php +3 -3
- readme.txt +5 -2
coming-soon-plugin.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name:Easy Coming Soon
|
4 |
Description: Easy coming Soon plugin allows you to quickly create a launch / under construction page for your website. Collect E-mails and connect with users on Social Networks.
|
5 |
-
Version: 1.8.
|
6 |
Author:Ankit Agarwal, Priyanshu Mittal
|
7 |
Author URI: http://webriti.com
|
8 |
Plugin URI: http://webriti.com/easy-coming-soon-pro-detail-page/
|
@@ -131,8 +131,8 @@ function cmgs_my_custom_menu()
|
|
131 |
if (is_user_logged_in() )
|
132 |
{
|
133 |
//get logined in user role
|
134 |
-
global $current_user;
|
135 |
-
get_currentuserinfo();
|
136 |
$LoggedInUserID = $current_user->ID;
|
137 |
$UserData = get_userdata( $LoggedInUserID );
|
138 |
//if user role not 'administrator' redirect him to message page
|
2 |
/*
|
3 |
Plugin Name:Easy Coming Soon
|
4 |
Description: Easy coming Soon plugin allows you to quickly create a launch / under construction page for your website. Collect E-mails and connect with users on Social Networks.
|
5 |
+
Version: 1.8.5
|
6 |
Author:Ankit Agarwal, Priyanshu Mittal
|
7 |
Author URI: http://webriti.com
|
8 |
Plugin URI: http://webriti.com/easy-coming-soon-pro-detail-page/
|
131 |
if (is_user_logged_in() )
|
132 |
{
|
133 |
//get logined in user role
|
134 |
+
global $current_user; /* Global variable already have the current user info so need to call get_currentuserinfo or wp_get_current_user */
|
135 |
+
// get_currentuserinfo(); /* Function is deprecated in the version 4.5 and above new function wp_get_current_user added */
|
136 |
$LoggedInUserID = $current_user->ID;
|
137 |
$UserData = get_userdata( $LoggedInUserID );
|
138 |
//if user role not 'administrator' redirect him to message page
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: a.ankit, deepeshpaliwal,priyanshu.mittal
|
|
3 |
Donate link: http://www.webriti.com/
|
4 |
Tags: coming soon wordpress plugin,coming soon, coming soon page, construction, landing page, launch, launch page, maintenance, maintenance mode, under construction, admin, newsletter, offline, site offline, wordpress coming soon, wordpress under construction, wordpress maintenance mode,email,gmail,subscriber,notify,message,user,preview,wordpress under construction page,wordpress landing page, ultimate coming soon page, ultimate landing page, wordpress maintenance mode plugin
|
5 |
Requires at least: 3.3+
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -112,6 +112,9 @@ In case you face any problem, contact us via the [Forums](http://wordpress.org/s
|
|
112 |
|
113 |
== Changelog ==
|
114 |
|
|
|
|
|
|
|
115 |
= 1.8.4 =
|
116 |
1. Fixed media upload query.
|
117 |
|
3 |
Donate link: http://www.webriti.com/
|
4 |
Tags: coming soon wordpress plugin,coming soon, coming soon page, construction, landing page, launch, launch page, maintenance, maintenance mode, under construction, admin, newsletter, offline, site offline, wordpress coming soon, wordpress under construction, wordpress maintenance mode,email,gmail,subscriber,notify,message,user,preview,wordpress under construction page,wordpress landing page, ultimate coming soon page, ultimate landing page, wordpress maintenance mode plugin
|
5 |
Requires at least: 3.3+
|
6 |
+
Tested up to: 4.5.1
|
7 |
+
Stable tag: 1.8.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
112 |
|
113 |
== Changelog ==
|
114 |
|
115 |
+
= 1.8.5 =
|
116 |
+
1. deprecated function get_currentuserinfo() in 4.5 version. and remove it.
|
117 |
+
|
118 |
= 1.8.4 =
|
119 |
1. Fixed media upload query.
|
120 |
|