Coming Soon, Under Construction & Maintenance Page - Version 1.63

Version Description

  • 2021/01/29
  • minor update
Download this release

Release Info

Developer WebFactory
Plugin Icon 128x128 Coming Soon, Under Construction & Maintenance Page
Version 1.63
Comparing to
See all releases

Code changes from version 1.62 to 1.63

Files changed (2) hide show
  1. nifty-coming-soon.php +18 -76
  2. readme.txt +7 -7
nifty-coming-soon.php CHANGED
@@ -3,13 +3,28 @@
3
  Plugin Name: Nifty Coming Soon & Maintenance page
4
  Plugin URI: https://wordpress.org/plugins/nifty-coming-soon-and-under-construction-page/
5
  Description: Easy to set up Coming Soon, Maintenance and Under Construction page. It features Responsive design, Countdown timer, Animations, Live Preview, Background Slider, Subscription form and more.
6
- Version: 1.62
7
- Author: WebFactory Ltd
8
- Author URI: https://webfactoryltd.com/
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
  Tested up to: 5.6
12
  Requires PHP: 5.2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  */
14
 
15
 
@@ -259,79 +274,6 @@ if ( isset($_POST['email']) && filter_var($_POST['email'], FILTER_VALIDATE_EMAIL
259
 
260
  } // nifty_subscribe
261
 
262
- /**
263
- * Helper function for adding plugins to featured list
264
- *
265
- * @return array
266
- */
267
- function nifty_featured_plugins_tab($args) {
268
- add_filter('plugins_api_result', 'nifty_plugins_api_result', 10, 3);
269
-
270
- return $args;
271
- }
272
-
273
-
274
- /**
275
- * Add single plugin to featured list
276
- *
277
- * @return object
278
- */
279
- function nifty_add_plugin_featured($plugin_slug, $res, $position) {
280
- // check if plugin is alredy on the list
281
- if (!empty($res->plugins)) {
282
- foreach ($res->plugins as $plugin) {
283
- if (is_object($plugin) && $plugin->slug == $plugin_slug) {
284
- return $res;
285
- }
286
- } // foreach
287
- }
288
-
289
- if ($plugin_info = get_transient('wf-plugin-info-' . $plugin_slug)) {
290
- //$res->plugins[] = $plugin_info;
291
- $tmp1 = array_slice($res->plugins, 0, $position, false);
292
- $tmp2 = array_slice($res->plugins, $position, sizeof($res->plugins) - $position, false);
293
- $res->plugins = array_merge($tmp1, array($plugin_info), $tmp2);
294
- } else {
295
- $plugin_info = plugins_api('plugin_information', array(
296
- 'slug' => $plugin_slug,
297
- 'is_ssl' => is_ssl(),
298
- 'fields' => array(
299
- 'banners' => true,
300
- 'reviews' => true,
301
- 'downloaded' => true,
302
- 'active_installs' => true,
303
- 'icons' => true,
304
- 'short_description' => true,
305
- )
306
- ));
307
- if (!is_wp_error($plugin_info)) {
308
- $tmp1 = array_slice($res->plugins, 0, $position, false);
309
- $tmp2 = array_slice($res->plugins, $position, sizeof($res->plugins) - 2, false);
310
- $res->plugins = array_merge($tmp1, array($plugin_info), $tmp2);
311
- set_transient('wf-plugin-info-' . $plugin_slug, $plugin_info, DAY_IN_SECONDS * 7);
312
- }
313
- }
314
-
315
- return $res;
316
- }
317
-
318
-
319
- /**
320
- * Add plugins to featured plugins list
321
- *
322
- * @return object
323
- */
324
- function nifty_plugins_api_result($res, $action, $args) {
325
- remove_filter('plugins_api_result', 'nifty_plugins_api_result', 10, 3);
326
-
327
- $res = nifty_add_plugin_featured('eps-301-redirects', $res, 0);
328
- $res = nifty_add_plugin_featured('wp-force-ssl', $res, 0);
329
- $res = nifty_add_plugin_featured('simple-author-box', $res, 0);
330
-
331
- return $res;
332
- }
333
-
334
- add_filter('install_plugins_table_api_args_featured', 'nifty_featured_plugins_tab');
335
 
336
  // add settings link to plugins page
337
  function nifty_plugin_action_links($links)
3
  Plugin Name: Nifty Coming Soon & Maintenance page
4
  Plugin URI: https://wordpress.org/plugins/nifty-coming-soon-and-under-construction-page/
5
  Description: Easy to set up Coming Soon, Maintenance and Under Construction page. It features Responsive design, Countdown timer, Animations, Live Preview, Background Slider, Subscription form and more.
6
+ Version: 1.63
7
+ Author: WP Concern
8
+ Author URI: https://wpconcern.com/
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
  Tested up to: 5.6
12
  Requires PHP: 5.2
13
+
14
+ Copyright 2015 - 2021 WebFactory Ltd (email: support@webfactoryltd.com)
15
+
16
+ This program is free software; you can redistribute it and/or modify
17
+ it under the terms of the GNU General Public License, version 2, as
18
+ published by the Free Software Foundation.
19
+
20
+ This program is distributed in the hope that it will be useful,
21
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
22
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
+ GNU General Public License for more details.
24
+
25
+ You should have received a copy of the GNU General Public License
26
+ along with this program; if not, write to the Free Software
27
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28
  */
29
 
30
 
274
 
275
  } // nifty_subscribe
276
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
277
 
278
  // add settings link to plugins page
279
  function nifty_plugin_action_links($links)
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Coming Soon & Maintenance Mode Page ===
2
- Contributors: WebFactory
3
  Tags: coming soon, coming soon page, launch page, maintenance mode, maintenance page, coming soon mode, under construction, maintenance mode page, landing page, offline page, subscribe form, maintenance
4
- Tested up to: 5.6
5
  License: GPLv3
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
- Stable tag: 1.62
8
  Requires PHP: 5.2
9
 
10
  Nifty Coming Soon & Maintenance Page creates awesome Coming Soon & Maintenance Pages with premium features for free.
@@ -40,10 +40,6 @@ Nifty Coming soon plugin will help you to quickly launch Maintenance mode for th
40
 
41
  The plugin should work with any WordPress theme and the installation and setup are really straight forward.
42
 
43
- ### NEED MORE THEMES?
44
-
45
- Check out <a href="https://comingsoonwp.com/?utm_source=wordpressorg">theme demos</a> plugin ! We have over 170!
46
-
47
 
48
  ### PROPOSE NEW FEATURES
49
 
@@ -85,6 +81,10 @@ As from the update of 1.0.9, the plugin offers the way to Live Preview you're Co
85
 
86
  == Changelog ==
87
 
 
 
 
 
88
  = 1.62 =
89
  * 2020/12/08
90
  * fixes for WP v5.6
1
  === Coming Soon & Maintenance Mode Page ===
2
+ Contributors: wpconcern, maneshtimilsina, rabmalin
3
  Tags: coming soon, coming soon page, launch page, maintenance mode, maintenance page, coming soon mode, under construction, maintenance mode page, landing page, offline page, subscribe form, maintenance
4
+ Tested up to: 5.9
5
  License: GPLv3
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
+ Stable tag: 1.63
8
  Requires PHP: 5.2
9
 
10
  Nifty Coming Soon & Maintenance Page creates awesome Coming Soon & Maintenance Pages with premium features for free.
40
 
41
  The plugin should work with any WordPress theme and the installation and setup are really straight forward.
42
 
 
 
 
 
43
 
44
  ### PROPOSE NEW FEATURES
45
 
81
 
82
  == Changelog ==
83
 
84
+ = 1.63 =
85
+ * 2021/01/29
86
+ * minor update
87
+
88
  = 1.62 =
89
  * 2020/12/08
90
  * fixes for WP v5.6