Minimal Coming Soon & Maintenance Mode - Version 2.17

Version Description

  • 2020-01-08
  • more security fixes - curtesy of Chloe @ WordFence
Download this release

Release Info

Developer WebFactory
Plugin Icon 128x128 Minimal Coming Soon & Maintenance Mode
Version 2.17
Comparing to
See all releases

Code changes from version 2.15 to 2.17

framework/admin/img/themes/pro/kids-innovation-program.jpg ADDED
Binary file
framework/admin/img/themes/pro/online-shopping.jpg ADDED
Binary file
framework/admin/img/themes/pro/plumbing.jpg ADDED
Binary file
framework/admin/init.php CHANGED
@@ -13,7 +13,7 @@ if (!defined('WPINC')) {
13
  }
14
 
15
  function csmm_add_menu() {
16
- if(current_user_can('manage_options')) {
17
  // Adding to the plugin panel link to the settings menu
18
  $signals_csmm_menu = add_options_page (
19
  __( 'Minimal Coming Soon & Maintenance Mode', 'signals' ),
@@ -77,12 +77,12 @@ function csmm_is_plugin_installed( $slug ) {
77
  'short_description' => true,
78
  )
79
  ));
80
- if (!is_wp_error($plugin_info)) {
81
  set_transient('wf-plugin-info-' . $plugin_slug, $plugin_info, DAY_IN_SECONDS * 7);
82
  }
83
  }
84
 
85
- if ($plugin_info) {
86
  array_unshift($res->plugins, $plugin_info);
87
  }
88
 
@@ -257,7 +257,6 @@ function csmm_plugin_admin_init() {
257
  add_action('admin_enqueue_scripts', 'csmm_enqueue_pointers', 100, 1);
258
 
259
  add_action('admin_action_csmm_activate_theme', 'csmm_activate_theme');
260
- add_action('admin_action_csmm_export_settings', 'csmm_export_settings');
261
 
262
  add_filter('install_plugins_table_api_args_featured', 'csmm_featured_plugins_tab');
263
  } // csmm_plugin_admin_init
@@ -295,6 +294,14 @@ function csmm_create_select_options($options, $selected = null, $output = true)
295
 
296
 
297
  function csmm_activate_theme() {
 
 
 
 
 
 
 
 
298
  $themes = array();
299
  $theme = basename(trim(@$_GET['theme']));
300
  $settings = csmm_get_options();
13
  }
14
 
15
  function csmm_add_menu() {
16
+ if(current_user_can('administrator')) {
17
  // Adding to the plugin panel link to the settings menu
18
  $signals_csmm_menu = add_options_page (
19
  __( 'Minimal Coming Soon & Maintenance Mode', 'signals' ),
77
  'short_description' => true,
78
  )
79
  ));
80
+ if (!is_wp_error($plugin_info) && is_object($plugin_info)) {
81
  set_transient('wf-plugin-info-' . $plugin_slug, $plugin_info, DAY_IN_SECONDS * 7);
82
  }
83
  }
84
 
85
+ if (!empty($res->plugins) && is_array($res->plugins) && $plugin_info && is_object($plugin_info)) {
86
  array_unshift($res->plugins, $plugin_info);
87
  }
88
 
257
  add_action('admin_enqueue_scripts', 'csmm_enqueue_pointers', 100, 1);
258
 
259
  add_action('admin_action_csmm_activate_theme', 'csmm_activate_theme');
 
260
 
261
  add_filter('install_plugins_table_api_args_featured', 'csmm_featured_plugins_tab');
262
  } // csmm_plugin_admin_init
294
 
295
 
296
  function csmm_activate_theme() {
297
+ if (!current_user_can('administrator')) {
298
+ wp_die('You don\'t have privileges to run this action.');
299
+ }
300
+
301
+ if (false == wp_verify_nonce(@$_GET['_wpnonce'], 'csmm_activate_theme')) {
302
+ wp_die('Please click back, reload the page and try to activate the theme again.');
303
+ }
304
+
305
  $themes = array();
306
  $theme = basename(trim(@$_GET['theme']));
307
  $settings = csmm_get_options();
framework/admin/views/settings-themes.php CHANGED
@@ -668,6 +668,17 @@ array (
668
  'name_clean' => 'journey-video',
669
  ),
670
  60 =>
 
 
 
 
 
 
 
 
 
 
 
671
  array (
672
  'type' => 'CSMM PRO',
673
  'version' => '15.17',
@@ -678,7 +689,7 @@ array (
678
  'status' => 'agency',
679
  'name_clean' => 'ladies-accessories',
680
  ),
681
- 61 =>
682
  array (
683
  'type' => 'CSMM PRO',
684
  'version' => '15.17',
@@ -689,7 +700,7 @@ array (
689
  'status' => 'pro',
690
  'name_clean' => 'lego-bricks',
691
  ),
692
- 62 =>
693
  array (
694
  'type' => 'CSMM PRO',
695
  'version' => '15.17',
@@ -700,7 +711,7 @@ array (
700
  'status' => 'agency',
701
  'name_clean' => 'loneliness',
702
  ),
703
- 63 =>
704
  array (
705
  'type' => 'CSMM PRO',
706
  'version' => '15.17',
@@ -711,7 +722,7 @@ array (
711
  'status' => 'agency',
712
  'name_clean' => 'lonely-road',
713
  ),
714
- 64 =>
715
  array (
716
  'type' => 'CSMM PRO',
717
  'version' => '15.17',
@@ -722,7 +733,7 @@ array (
722
  'status' => 'pro',
723
  'name_clean' => 'luxury-car',
724
  ),
725
- 65 =>
726
  array (
727
  'type' => 'CSMM PRO',
728
  'version' => '5.005',
@@ -733,7 +744,7 @@ array (
733
  'status' => 'pro',
734
  'name_clean' => 'maintenance-mode',
735
  ),
736
- 66 =>
737
  array (
738
  'type' => 'CSMM PRO',
739
  'version' => '5.005',
@@ -744,7 +755,7 @@ array (
744
  'status' => 'agency',
745
  'name_clean' => 'makeup-artist-training',
746
  ),
747
- 67 =>
748
  array (
749
  'type' => 'CSMM PRO',
750
  'version' => '15.17',
@@ -755,7 +766,7 @@ array (
755
  'status' => 'agency',
756
  'name_clean' => 'metrics-video',
757
  ),
758
- 68 =>
759
  array (
760
  'type' => 'CSMM PRO',
761
  'version' => '15.17',
@@ -766,7 +777,7 @@ array (
766
  'status' => 'pro',
767
  'name_clean' => 'misty-forest-video',
768
  ),
769
- 69 =>
770
  array (
771
  'type' => 'CSMM PRO',
772
  'version' => '15.17',
@@ -777,7 +788,7 @@ array (
777
  'status' => 'agency',
778
  'name_clean' => 'mobile-designer',
779
  ),
780
- 70 =>
781
  array (
782
  'type' => 'CSMM PRO',
783
  'version' => '15.17',
@@ -788,7 +799,7 @@ array (
788
  'status' => 'agency',
789
  'name_clean' => 'mobile-meeting',
790
  ),
791
- 71 =>
792
  array (
793
  'type' => 'CSMM PRO',
794
  'version' => '5.005',
@@ -799,7 +810,7 @@ array (
799
  'status' => 'pro',
800
  'name_clean' => 'modern-blog',
801
  ),
802
- 72 =>
803
  array (
804
  'type' => 'CSMM PRO',
805
  'version' => '15.05',
@@ -810,7 +821,7 @@ array (
810
  'status' => 'agency',
811
  'name_clean' => 'modern-office',
812
  ),
813
- 73 =>
814
  array (
815
  'type' => 'CSMM PRO',
816
  'version' => '15.17',
@@ -821,7 +832,7 @@ array (
821
  'status' => 'agency',
822
  'name_clean' => 'modern-recipes',
823
  ),
824
- 74 =>
825
  array (
826
  'type' => 'CSMM PRO',
827
  'version' => '15.17',
@@ -832,7 +843,7 @@ array (
832
  'status' => 'pro',
833
  'name_clean' => 'mountain-slide',
834
  ),
835
- 75 =>
836
  array (
837
  'type' => 'CSMM PRO',
838
  'version' => '5.05',
@@ -843,7 +854,7 @@ array (
843
  'status' => 'pro',
844
  'name_clean' => 'mountain',
845
  ),
846
- 76 =>
847
  array (
848
  'type' => 'CSMM PRO',
849
  'version' => '15.17',
@@ -854,7 +865,7 @@ array (
854
  'status' => 'pro',
855
  'name_clean' => 'movie-trailer-video',
856
  ),
857
- 77 =>
858
  array (
859
  'type' => 'CSMM PRO',
860
  'version' => '15.17',
@@ -865,7 +876,7 @@ array (
865
  'status' => 'pro',
866
  'name_clean' => 'music',
867
  ),
868
- 78 =>
869
  array (
870
  'type' => 'CSMM PRO',
871
  'version' => '15.05',
@@ -876,7 +887,7 @@ array (
876
  'status' => 'agency',
877
  'name_clean' => 'nature',
878
  ),
879
- 79 =>
880
  array (
881
  'type' => 'CSMM PRO',
882
  'version' => '5.14',
@@ -887,7 +898,7 @@ array (
887
  'status' => 'agency',
888
  'name_clean' => 'office-meeting-video',
889
  ),
890
- 80 =>
891
  array (
892
  'type' => 'CSMM PRO',
893
  'version' => '15.05',
@@ -898,7 +909,7 @@ array (
898
  'status' => 'agency',
899
  'name_clean' => 'office-theme',
900
  ),
901
- 81 =>
902
  array (
903
  'type' => 'CSMM PRO',
904
  'version' => '5.005',
@@ -909,7 +920,18 @@ array (
909
  'status' => 'agency',
910
  'name_clean' => 'online-learning',
911
  ),
912
- 82 =>
 
 
 
 
 
 
 
 
 
 
 
913
  array (
914
  'type' => 'CSMM PRO',
915
  'version' => '15.17',
@@ -920,7 +942,7 @@ array (
920
  'status' => 'pro',
921
  'name_clean' => 'organic-cosmetics',
922
  ),
923
- 83 =>
924
  array (
925
  'type' => 'CSMM PRO',
926
  'version' => '15.17',
@@ -931,7 +953,7 @@ array (
931
  'status' => 'pro',
932
  'name_clean' => 'pancake-house',
933
  ),
934
- 84 =>
935
  array (
936
  'type' => 'CSMM PRO',
937
  'version' => '15.17',
@@ -942,7 +964,7 @@ array (
942
  'status' => 'pro',
943
  'name_clean' => 'parenting',
944
  ),
945
- 85 =>
946
  array (
947
  'type' => 'CSMM PRO',
948
  'version' => '15.17',
@@ -953,7 +975,7 @@ array (
953
  'status' => 'pro',
954
  'name_clean' => 'passage',
955
  ),
956
- 86 =>
957
  array (
958
  'type' => 'CSMM PRO',
959
  'version' => '15.17',
@@ -964,7 +986,7 @@ array (
964
  'status' => 'agency',
965
  'name_clean' => 'peaceful-river',
966
  ),
967
- 87 =>
968
  array (
969
  'type' => 'CSMM PRO',
970
  'version' => '15.17',
@@ -975,7 +997,7 @@ array (
975
  'status' => 'pro',
976
  'name_clean' => 'personal-trainer',
977
  ),
978
- 88 =>
979
  array (
980
  'type' => 'CSMM PRO',
981
  'version' => '15.17',
@@ -986,7 +1008,18 @@ array (
986
  'status' => 'agency',
987
  'name_clean' => 'photography',
988
  ),
989
- 89 =>
 
 
 
 
 
 
 
 
 
 
 
990
  array (
991
  'type' => 'CSMM PRO',
992
  'version' => '15.17',
@@ -997,7 +1030,7 @@ array (
997
  'status' => 'agency',
998
  'name_clean' => 'podcast',
999
  ),
1000
- 90 =>
1001
  array (
1002
  'type' => 'CSMM PRO',
1003
  'version' => '15.17',
@@ -1008,7 +1041,7 @@ array (
1008
  'status' => 'agency',
1009
  'name_clean' => 'restaurant',
1010
  ),
1011
- 91 =>
1012
  array (
1013
  'type' => 'CSMM PRO',
1014
  'version' => '15.17',
@@ -1019,7 +1052,7 @@ array (
1019
  'status' => 'agency',
1020
  'name_clean' => 'romantic-travels',
1021
  ),
1022
- 92 =>
1023
  array (
1024
  'type' => 'CSMM PRO',
1025
  'version' => '15.17',
@@ -1030,7 +1063,7 @@ array (
1030
  'status' => 'agency',
1031
  'name_clean' => 'running-blog',
1032
  ),
1033
- 93 =>
1034
  array (
1035
  'type' => 'CSMM PRO',
1036
  'version' => '15.14',
@@ -1041,7 +1074,7 @@ array (
1041
  'status' => 'pro',
1042
  'name_clean' => 'running-video',
1043
  ),
1044
- 94 =>
1045
  array (
1046
  'type' => 'CSMM PRO',
1047
  'version' => '15.17',
@@ -1052,7 +1085,7 @@ array (
1052
  'status' => 'agency',
1053
  'name_clean' => 'scholar-university',
1054
  ),
1055
- 95 =>
1056
  array (
1057
  'type' => 'CSMM PRO',
1058
  'version' => '15.17',
@@ -1063,7 +1096,7 @@ array (
1063
  'status' => 'agency',
1064
  'name_clean' => 'seo-digital-marketing',
1065
  ),
1066
- 96 =>
1067
  array (
1068
  'type' => 'CSMM PRO',
1069
  'version' => '5.005',
@@ -1074,7 +1107,7 @@ array (
1074
  'status' => 'agency',
1075
  'name_clean' => 'shoes-store',
1076
  ),
1077
- 97 =>
1078
  array (
1079
  'type' => 'CSMM PRO',
1080
  'version' => '15.17',
@@ -1085,18 +1118,18 @@ array (
1085
  'status' => 'pro',
1086
  'name_clean' => 'simple-beige-design',
1087
  ),
1088
- 98 =>
1089
  array (
1090
  'type' => 'CSMM PRO',
1091
  'version' => '15.17',
1092
- 'last_edit' => 'Sun, 15 Sep 2019 17:58:36 +0000',
1093
  'name' => 'Skincare',
1094
  'description' => '',
1095
  'frontpage' => '1',
1096
  'status' => 'agency',
1097
  'name_clean' => 'skincare',
1098
  ),
1099
- 99 =>
1100
  array (
1101
  'type' => 'CSMM PRO',
1102
  'version' => '15.17',
@@ -1107,7 +1140,7 @@ array (
1107
  'status' => 'pro',
1108
  'name_clean' => 'snow-screensaver-video',
1109
  ),
1110
- 100 =>
1111
  array (
1112
  'type' => 'CSMM PRO',
1113
  'version' => '15.17',
@@ -1118,7 +1151,7 @@ array (
1118
  'status' => 'pro',
1119
  'name_clean' => 'snowboarding-blog',
1120
  ),
1121
- 101 =>
1122
  array (
1123
  'type' => 'CSMM PRO',
1124
  'version' => '15.17',
@@ -1129,7 +1162,7 @@ array (
1129
  'status' => 'pro',
1130
  'name_clean' => 'snowy-mountain',
1131
  ),
1132
- 102 =>
1133
  array (
1134
  'type' => 'CSMM PRO',
1135
  'version' => '15.17',
@@ -1140,7 +1173,7 @@ array (
1140
  'status' => 'pro',
1141
  'name_clean' => 'snowy-oasis',
1142
  ),
1143
- 103 =>
1144
  array (
1145
  'type' => 'CSMM PRO',
1146
  'version' => '15.17',
@@ -1151,7 +1184,7 @@ array (
1151
  'status' => 'agency',
1152
  'name_clean' => 'social-media-service',
1153
  ),
1154
- 104 =>
1155
  array (
1156
  'type' => 'CSMM PRO',
1157
  'version' => '15.17',
@@ -1162,7 +1195,7 @@ array (
1162
  'status' => 'agency',
1163
  'name_clean' => 'spa-beauty-studio',
1164
  ),
1165
- 105 =>
1166
  array (
1167
  'type' => 'CSMM PRO',
1168
  'version' => '15.17',
@@ -1173,7 +1206,7 @@ array (
1173
  'status' => 'agency',
1174
  'name_clean' => 'spa',
1175
  ),
1176
- 106 =>
1177
  array (
1178
  'type' => 'CSMM PRO',
1179
  'version' => '15.17',
@@ -1184,7 +1217,7 @@ array (
1184
  'status' => 'agency',
1185
  'name_clean' => 'spring',
1186
  ),
1187
- 107 =>
1188
  array (
1189
  'type' => 'CSMM PRO',
1190
  'version' => '15.17',
@@ -1195,7 +1228,7 @@ array (
1195
  'status' => 'pro',
1196
  'name_clean' => 'startup',
1197
  ),
1198
- 108 =>
1199
  array (
1200
  'type' => 'CSMM PRO',
1201
  'version' => '15.17',
@@ -1206,7 +1239,7 @@ array (
1206
  'status' => 'pro',
1207
  'name_clean' => 'stylish-workplace',
1208
  ),
1209
- 109 =>
1210
  array (
1211
  'type' => 'CSMM PRO',
1212
  'version' => '15.17',
@@ -1217,7 +1250,7 @@ array (
1217
  'status' => 'pro',
1218
  'name_clean' => 'techexpo',
1219
  ),
1220
- 110 =>
1221
  array (
1222
  'type' => 'CSMM PRO',
1223
  'version' => '15.17',
@@ -1228,7 +1261,7 @@ array (
1228
  'status' => 'agency',
1229
  'name_clean' => 'telecommunication',
1230
  ),
1231
- 111 =>
1232
  array (
1233
  'type' => 'CSMM PRO',
1234
  'version' => '15.17',
@@ -1239,7 +1272,7 @@ array (
1239
  'status' => 'agency',
1240
  'name_clean' => 'the-big-city-newsletter',
1241
  ),
1242
- 112 =>
1243
  array (
1244
  'type' => 'CSMM PRO',
1245
  'version' => '5.14',
@@ -1250,7 +1283,7 @@ array (
1250
  'status' => 'pro',
1251
  'name_clean' => 'the-sunny-view',
1252
  ),
1253
- 113 =>
1254
  array (
1255
  'type' => 'CSMM PRO',
1256
  'version' => '15.17',
@@ -1261,7 +1294,7 @@ array (
1261
  'status' => 'agency',
1262
  'name_clean' => 'theatre',
1263
  ),
1264
- 114 =>
1265
  array (
1266
  'type' => 'CSMM PRO',
1267
  'version' => '5.001',
@@ -1272,7 +1305,7 @@ array (
1272
  'status' => 'pro',
1273
  'name_clean' => 'travel-agency',
1274
  ),
1275
- 115 =>
1276
  array (
1277
  'type' => 'CSMM PRO',
1278
  'version' => '15.05',
@@ -1283,7 +1316,7 @@ array (
1283
  'status' => 'agency',
1284
  'name_clean' => 'travel-blog',
1285
  ),
1286
- 116 =>
1287
  array (
1288
  'type' => 'CSMM PRO',
1289
  'version' => '15.17',
@@ -1294,7 +1327,7 @@ array (
1294
  'status' => 'agency',
1295
  'name_clean' => 'tulips',
1296
  ),
1297
- 117 =>
1298
  array (
1299
  'type' => 'CSMM PRO',
1300
  'version' => '15.17',
@@ -1305,7 +1338,7 @@ array (
1305
  'status' => 'pro',
1306
  'name_clean' => 'valentines-day',
1307
  ),
1308
- 118 =>
1309
  array (
1310
  'type' => 'CSMM PRO',
1311
  'version' => '5.001',
@@ -1316,7 +1349,7 @@ array (
1316
  'status' => 'pro',
1317
  'name_clean' => 'video-production',
1318
  ),
1319
- 119 =>
1320
  array (
1321
  'type' => 'CSMM PRO',
1322
  'version' => '15.17',
@@ -1327,7 +1360,7 @@ array (
1327
  'status' => 'agency',
1328
  'name_clean' => 'virtual-assistant-service',
1329
  ),
1330
- 120 =>
1331
  array (
1332
  'type' => 'CSMM PRO',
1333
  'version' => '15.17',
@@ -1338,7 +1371,7 @@ array (
1338
  'status' => 'pro',
1339
  'name_clean' => 'walking-away-video',
1340
  ),
1341
- 121 =>
1342
  array (
1343
  'type' => 'CSMM PRO',
1344
  'version' => '5.005',
@@ -1349,7 +1382,7 @@ array (
1349
  'status' => 'agency',
1350
  'name_clean' => 'webinar',
1351
  ),
1352
- 122 =>
1353
  array (
1354
  'type' => 'CSMM PRO',
1355
  'version' => '5.005',
@@ -1360,7 +1393,7 @@ array (
1360
  'status' => 'agency',
1361
  'name_clean' => 'wedding-blog',
1362
  ),
1363
- 123 =>
1364
  array (
1365
  'type' => 'CSMM PRO',
1366
  'version' => '15.17',
@@ -1371,7 +1404,7 @@ array (
1371
  'status' => 'pro',
1372
  'name_clean' => 'white-orchids',
1373
  ),
1374
- 124 =>
1375
  array (
1376
  'type' => 'CSMM PRO',
1377
  'version' => '5.14',
@@ -1382,7 +1415,7 @@ array (
1382
  'status' => 'agency',
1383
  'name_clean' => 'working-out',
1384
  ),
1385
- 125 =>
1386
  array (
1387
  'type' => 'CSMM PRO',
1388
  'version' => '15.05',
@@ -1393,7 +1426,7 @@ array (
1393
  'status' => 'agency',
1394
  'name_clean' => 'workplace',
1395
  ),
1396
- 126 =>
1397
  array (
1398
  'type' => 'CSMM PRO',
1399
  'version' => '15.17',
@@ -1447,7 +1480,7 @@ if (csmm_is_mailoptin_active()) {
1447
  echo '<a href="#pro" class="signals-btn csmm-change-tab">Get this theme</a>&nbsp; &nbsp;';
1448
  echo '<a target="_blank" class="signals-btn signals-btn-secondary" href="' . csmm_generate_web_link('preview-theme-' . $theme['name_clean'], 'theme-preview', array('theme' => $theme['name_clean'])) . '">Preview</a>';
1449
  } else {
1450
- echo '<a href="' . add_query_arg(array('action' => 'csmm_activate_theme', 'theme' => $theme['name_clean'], 'redirect' => urlencode($_SERVER['REQUEST_URI'])), admin_url('admin.php')) . '" class="signals-btn confirm-action" data-confirm="Are you sure you want to activate the selected theme? Customizations you made on the current design will be lost.">Activate</a>&nbsp; &nbsp;';
1451
  }
1452
  echo '</span>';
1453
  if ($theme['status'] != 'free') {
668
  'name_clean' => 'journey-video',
669
  ),
670
  60 =>
671
+ array (
672
+ 'type' => 'CSMM PRO',
673
+ 'version' => '15.17',
674
+ 'last_edit' => 'Sun, 29 Dec 2019 19:04:44 +0000',
675
+ 'name' => 'Kids Innovation Program',
676
+ 'description' => '',
677
+ 'frontpage' => '1',
678
+ 'status' => 'agency',
679
+ 'name_clean' => 'kids-innovation-program',
680
+ ),
681
+ 61 =>
682
  array (
683
  'type' => 'CSMM PRO',
684
  'version' => '15.17',
689
  'status' => 'agency',
690
  'name_clean' => 'ladies-accessories',
691
  ),
692
+ 62 =>
693
  array (
694
  'type' => 'CSMM PRO',
695
  'version' => '15.17',
700
  'status' => 'pro',
701
  'name_clean' => 'lego-bricks',
702
  ),
703
+ 63 =>
704
  array (
705
  'type' => 'CSMM PRO',
706
  'version' => '15.17',
711
  'status' => 'agency',
712
  'name_clean' => 'loneliness',
713
  ),
714
+ 64 =>
715
  array (
716
  'type' => 'CSMM PRO',
717
  'version' => '15.17',
722
  'status' => 'agency',
723
  'name_clean' => 'lonely-road',
724
  ),
725
+ 65 =>
726
  array (
727
  'type' => 'CSMM PRO',
728
  'version' => '15.17',
733
  'status' => 'pro',
734
  'name_clean' => 'luxury-car',
735
  ),
736
+ 66 =>
737
  array (
738
  'type' => 'CSMM PRO',
739
  'version' => '5.005',
744
  'status' => 'pro',
745
  'name_clean' => 'maintenance-mode',
746
  ),
747
+ 67 =>
748
  array (
749
  'type' => 'CSMM PRO',
750
  'version' => '5.005',
755
  'status' => 'agency',
756
  'name_clean' => 'makeup-artist-training',
757
  ),
758
+ 68 =>
759
  array (
760
  'type' => 'CSMM PRO',
761
  'version' => '15.17',
766
  'status' => 'agency',
767
  'name_clean' => 'metrics-video',
768
  ),
769
+ 69 =>
770
  array (
771
  'type' => 'CSMM PRO',
772
  'version' => '15.17',
777
  'status' => 'pro',
778
  'name_clean' => 'misty-forest-video',
779
  ),
780
+ 70 =>
781
  array (
782
  'type' => 'CSMM PRO',
783
  'version' => '15.17',
788
  'status' => 'agency',
789
  'name_clean' => 'mobile-designer',
790
  ),
791
+ 71 =>
792
  array (
793
  'type' => 'CSMM PRO',
794
  'version' => '15.17',
799
  'status' => 'agency',
800
  'name_clean' => 'mobile-meeting',
801
  ),
802
+ 72 =>
803
  array (
804
  'type' => 'CSMM PRO',
805
  'version' => '5.005',
810
  'status' => 'pro',
811
  'name_clean' => 'modern-blog',
812
  ),
813
+ 73 =>
814
  array (
815
  'type' => 'CSMM PRO',
816
  'version' => '15.05',
821
  'status' => 'agency',
822
  'name_clean' => 'modern-office',
823
  ),
824
+ 74 =>
825
  array (
826
  'type' => 'CSMM PRO',
827
  'version' => '15.17',
832
  'status' => 'agency',
833
  'name_clean' => 'modern-recipes',
834
  ),
835
+ 75 =>
836
  array (
837
  'type' => 'CSMM PRO',
838
  'version' => '15.17',
843
  'status' => 'pro',
844
  'name_clean' => 'mountain-slide',
845
  ),
846
+ 76 =>
847
  array (
848
  'type' => 'CSMM PRO',
849
  'version' => '5.05',
854
  'status' => 'pro',
855
  'name_clean' => 'mountain',
856
  ),
857
+ 77 =>
858
  array (
859
  'type' => 'CSMM PRO',
860
  'version' => '15.17',
865
  'status' => 'pro',
866
  'name_clean' => 'movie-trailer-video',
867
  ),
868
+ 78 =>
869
  array (
870
  'type' => 'CSMM PRO',
871
  'version' => '15.17',
876
  'status' => 'pro',
877
  'name_clean' => 'music',
878
  ),
879
+ 79 =>
880
  array (
881
  'type' => 'CSMM PRO',
882
  'version' => '15.05',
887
  'status' => 'agency',
888
  'name_clean' => 'nature',
889
  ),
890
+ 80 =>
891
  array (
892
  'type' => 'CSMM PRO',
893
  'version' => '5.14',
898
  'status' => 'agency',
899
  'name_clean' => 'office-meeting-video',
900
  ),
901
+ 81 =>
902
  array (
903
  'type' => 'CSMM PRO',
904
  'version' => '15.05',
909
  'status' => 'agency',
910
  'name_clean' => 'office-theme',
911
  ),
912
+ 82 =>
913
  array (
914
  'type' => 'CSMM PRO',
915
  'version' => '5.005',
920
  'status' => 'agency',
921
  'name_clean' => 'online-learning',
922
  ),
923
+ 83 =>
924
+ array (
925
+ 'type' => 'CSMM PRO',
926
+ 'version' => '15.17',
927
+ 'last_edit' => 'Mon, 30 Dec 2019 09:41:36 +0000',
928
+ 'name' => 'Online Shopping',
929
+ 'description' => '',
930
+ 'frontpage' => '1',
931
+ 'status' => 'pro',
932
+ 'name_clean' => 'online-shopping',
933
+ ),
934
+ 84 =>
935
  array (
936
  'type' => 'CSMM PRO',
937
  'version' => '15.17',
942
  'status' => 'pro',
943
  'name_clean' => 'organic-cosmetics',
944
  ),
945
+ 85 =>
946
  array (
947
  'type' => 'CSMM PRO',
948
  'version' => '15.17',
953
  'status' => 'pro',
954
  'name_clean' => 'pancake-house',
955
  ),
956
+ 86 =>
957
  array (
958
  'type' => 'CSMM PRO',
959
  'version' => '15.17',
964
  'status' => 'pro',
965
  'name_clean' => 'parenting',
966
  ),
967
+ 87 =>
968
  array (
969
  'type' => 'CSMM PRO',
970
  'version' => '15.17',
975
  'status' => 'pro',
976
  'name_clean' => 'passage',
977
  ),
978
+ 88 =>
979
  array (
980
  'type' => 'CSMM PRO',
981
  'version' => '15.17',
986
  'status' => 'agency',
987
  'name_clean' => 'peaceful-river',
988
  ),
989
+ 89 =>
990
  array (
991
  'type' => 'CSMM PRO',
992
  'version' => '15.17',
997
  'status' => 'pro',
998
  'name_clean' => 'personal-trainer',
999
  ),
1000
+ 90 =>
1001
  array (
1002
  'type' => 'CSMM PRO',
1003
  'version' => '15.17',
1008
  'status' => 'agency',
1009
  'name_clean' => 'photography',
1010
  ),
1011
+ 91 =>
1012
+ array (
1013
+ 'type' => 'CSMM PRO',
1014
+ 'version' => '15.17',
1015
+ 'last_edit' => 'Sat, 28 Dec 2019 12:08:04 +0000',
1016
+ 'name' => 'Plumbing',
1017
+ 'description' => '',
1018
+ 'frontpage' => '1',
1019
+ 'status' => 'pro',
1020
+ 'name_clean' => 'plumbing',
1021
+ ),
1022
+ 92 =>
1023
  array (
1024
  'type' => 'CSMM PRO',
1025
  'version' => '15.17',
1030
  'status' => 'agency',
1031
  'name_clean' => 'podcast',
1032
  ),
1033
+ 93 =>
1034
  array (
1035
  'type' => 'CSMM PRO',
1036
  'version' => '15.17',
1041
  'status' => 'agency',
1042
  'name_clean' => 'restaurant',
1043
  ),
1044
+ 94 =>
1045
  array (
1046
  'type' => 'CSMM PRO',
1047
  'version' => '15.17',
1052
  'status' => 'agency',
1053
  'name_clean' => 'romantic-travels',
1054
  ),
1055
+ 95 =>
1056
  array (
1057
  'type' => 'CSMM PRO',
1058
  'version' => '15.17',
1063
  'status' => 'agency',
1064
  'name_clean' => 'running-blog',
1065
  ),
1066
+ 96 =>
1067
  array (
1068
  'type' => 'CSMM PRO',
1069
  'version' => '15.14',
1074
  'status' => 'pro',
1075
  'name_clean' => 'running-video',
1076
  ),
1077
+ 97 =>
1078
  array (
1079
  'type' => 'CSMM PRO',
1080
  'version' => '15.17',
1085
  'status' => 'agency',
1086
  'name_clean' => 'scholar-university',
1087
  ),
1088
+ 98 =>
1089
  array (
1090
  'type' => 'CSMM PRO',
1091
  'version' => '15.17',
1096
  'status' => 'agency',
1097
  'name_clean' => 'seo-digital-marketing',
1098
  ),
1099
+ 99 =>
1100
  array (
1101
  'type' => 'CSMM PRO',
1102
  'version' => '5.005',
1107
  'status' => 'agency',
1108
  'name_clean' => 'shoes-store',
1109
  ),
1110
+ 100 =>
1111
  array (
1112
  'type' => 'CSMM PRO',
1113
  'version' => '15.17',
1118
  'status' => 'pro',
1119
  'name_clean' => 'simple-beige-design',
1120
  ),
1121
+ 101 =>
1122
  array (
1123
  'type' => 'CSMM PRO',
1124
  'version' => '15.17',
1125
+ 'last_edit' => 'Mon, 30 Dec 2019 18:36:02 +0000',
1126
  'name' => 'Skincare',
1127
  'description' => '',
1128
  'frontpage' => '1',
1129
  'status' => 'agency',
1130
  'name_clean' => 'skincare',
1131
  ),
1132
+ 102 =>
1133
  array (
1134
  'type' => 'CSMM PRO',
1135
  'version' => '15.17',
1140
  'status' => 'pro',
1141
  'name_clean' => 'snow-screensaver-video',
1142
  ),
1143
+ 103 =>
1144
  array (
1145
  'type' => 'CSMM PRO',
1146
  'version' => '15.17',
1151
  'status' => 'pro',
1152
  'name_clean' => 'snowboarding-blog',
1153
  ),
1154
+ 104 =>
1155
  array (
1156
  'type' => 'CSMM PRO',
1157
  'version' => '15.17',
1162
  'status' => 'pro',
1163
  'name_clean' => 'snowy-mountain',
1164
  ),
1165
+ 105 =>
1166
  array (
1167
  'type' => 'CSMM PRO',
1168
  'version' => '15.17',
1173
  'status' => 'pro',
1174
  'name_clean' => 'snowy-oasis',
1175
  ),
1176
+ 106 =>
1177
  array (
1178
  'type' => 'CSMM PRO',
1179
  'version' => '15.17',
1184
  'status' => 'agency',
1185
  'name_clean' => 'social-media-service',
1186
  ),
1187
+ 107 =>
1188
  array (
1189
  'type' => 'CSMM PRO',
1190
  'version' => '15.17',
1195
  'status' => 'agency',
1196
  'name_clean' => 'spa-beauty-studio',
1197
  ),
1198
+ 108 =>
1199
  array (
1200
  'type' => 'CSMM PRO',
1201
  'version' => '15.17',
1206
  'status' => 'agency',
1207
  'name_clean' => 'spa',
1208
  ),
1209
+ 109 =>
1210
  array (
1211
  'type' => 'CSMM PRO',
1212
  'version' => '15.17',
1217
  'status' => 'agency',
1218
  'name_clean' => 'spring',
1219
  ),
1220
+ 110 =>
1221
  array (
1222
  'type' => 'CSMM PRO',
1223
  'version' => '15.17',
1228
  'status' => 'pro',
1229
  'name_clean' => 'startup',
1230
  ),
1231
+ 111 =>
1232
  array (
1233
  'type' => 'CSMM PRO',
1234
  'version' => '15.17',
1239
  'status' => 'pro',
1240
  'name_clean' => 'stylish-workplace',
1241
  ),
1242
+ 112 =>
1243
  array (
1244
  'type' => 'CSMM PRO',
1245
  'version' => '15.17',
1250
  'status' => 'pro',
1251
  'name_clean' => 'techexpo',
1252
  ),
1253
+ 113 =>
1254
  array (
1255
  'type' => 'CSMM PRO',
1256
  'version' => '15.17',
1261
  'status' => 'agency',
1262
  'name_clean' => 'telecommunication',
1263
  ),
1264
+ 114 =>
1265
  array (
1266
  'type' => 'CSMM PRO',
1267
  'version' => '15.17',
1272
  'status' => 'agency',
1273
  'name_clean' => 'the-big-city-newsletter',
1274
  ),
1275
+ 115 =>
1276
  array (
1277
  'type' => 'CSMM PRO',
1278
  'version' => '5.14',
1283
  'status' => 'pro',
1284
  'name_clean' => 'the-sunny-view',
1285
  ),
1286
+ 116 =>
1287
  array (
1288
  'type' => 'CSMM PRO',
1289
  'version' => '15.17',
1294
  'status' => 'agency',
1295
  'name_clean' => 'theatre',
1296
  ),
1297
+ 117 =>
1298
  array (
1299
  'type' => 'CSMM PRO',
1300
  'version' => '5.001',
1305
  'status' => 'pro',
1306
  'name_clean' => 'travel-agency',
1307
  ),
1308
+ 118 =>
1309
  array (
1310
  'type' => 'CSMM PRO',
1311
  'version' => '15.05',
1316
  'status' => 'agency',
1317
  'name_clean' => 'travel-blog',
1318
  ),
1319
+ 119 =>
1320
  array (
1321
  'type' => 'CSMM PRO',
1322
  'version' => '15.17',
1327
  'status' => 'agency',
1328
  'name_clean' => 'tulips',
1329
  ),
1330
+ 120 =>
1331
  array (
1332
  'type' => 'CSMM PRO',
1333
  'version' => '15.17',
1338
  'status' => 'pro',
1339
  'name_clean' => 'valentines-day',
1340
  ),
1341
+ 121 =>
1342
  array (
1343
  'type' => 'CSMM PRO',
1344
  'version' => '5.001',
1349
  'status' => 'pro',
1350
  'name_clean' => 'video-production',
1351
  ),
1352
+ 122 =>
1353
  array (
1354
  'type' => 'CSMM PRO',
1355
  'version' => '15.17',
1360
  'status' => 'agency',
1361
  'name_clean' => 'virtual-assistant-service',
1362
  ),
1363
+ 123 =>
1364
  array (
1365
  'type' => 'CSMM PRO',
1366
  'version' => '15.17',
1371
  'status' => 'pro',
1372
  'name_clean' => 'walking-away-video',
1373
  ),
1374
+ 124 =>
1375
  array (
1376
  'type' => 'CSMM PRO',
1377
  'version' => '5.005',
1382
  'status' => 'agency',
1383
  'name_clean' => 'webinar',
1384
  ),
1385
+ 125 =>
1386
  array (
1387
  'type' => 'CSMM PRO',
1388
  'version' => '5.005',
1393
  'status' => 'agency',
1394
  'name_clean' => 'wedding-blog',
1395
  ),
1396
+ 126 =>
1397
  array (
1398
  'type' => 'CSMM PRO',
1399
  'version' => '15.17',
1404
  'status' => 'pro',
1405
  'name_clean' => 'white-orchids',
1406
  ),
1407
+ 127 =>
1408
  array (
1409
  'type' => 'CSMM PRO',
1410
  'version' => '5.14',
1415
  'status' => 'agency',
1416
  'name_clean' => 'working-out',
1417
  ),
1418
+ 128 =>
1419
  array (
1420
  'type' => 'CSMM PRO',
1421
  'version' => '15.05',
1426
  'status' => 'agency',
1427
  'name_clean' => 'workplace',
1428
  ),
1429
+ 129 =>
1430
  array (
1431
  'type' => 'CSMM PRO',
1432
  'version' => '15.17',
1480
  echo '<a href="#pro" class="signals-btn csmm-change-tab">Get this theme</a>&nbsp; &nbsp;';
1481
  echo '<a target="_blank" class="signals-btn signals-btn-secondary" href="' . csmm_generate_web_link('preview-theme-' . $theme['name_clean'], 'theme-preview', array('theme' => $theme['name_clean'])) . '">Preview</a>';
1482
  } else {
1483
+ echo '<a href="' . add_query_arg(array('action' => 'csmm_activate_theme', 'theme' => $theme['name_clean'], 'redirect' => urlencode($_SERVER['REQUEST_URI']), '_wpnonce' => wp_create_nonce('csmm_activate_theme')), admin_url('admin.php')) . '" class="signals-btn confirm-action" data-confirm="Are you sure you want to activate the selected theme? Customizations you made on the current design will be lost.">Activate</a>&nbsp; &nbsp;';
1484
  }
1485
  echo '</span>';
1486
  if ($theme['status'] != 'free') {
framework/public/init.php CHANGED
@@ -49,9 +49,9 @@ function csmm_plugin_init() {
49
  $signals_csmm_options['custom_login_url'] = NULL;
50
  }
51
 
52
- if(isset($_GET['preview_coming_soon']) && current_user_can('manage_options')){
53
  csmm_render_template( $signals_csmm_options );
54
- }
55
 
56
  // Not for the backend
57
  // Only modifies the frontend of the system
@@ -72,7 +72,7 @@ function csmm_plugin_init() {
72
  && false === strpos( $signals_server_url, '/xmlrpc.php' )
73
  && false === strpos( $signals_server_url, $signals_login_url )
74
  && false === strpos( $signals_server_url, $signals_csmm_options['custom_login_url'] ) ) {
75
-
76
  // Checking for the search engine option
77
  if ( '1' == $signals_csmm_options['exclude_se'] ) {
78
  if ( ! csmm_check_referrer() ) {
49
  $signals_csmm_options['custom_login_url'] = NULL;
50
  }
51
 
52
+ if(isset($_GET['preview_coming_soon']) && current_user_can('administrator')){
53
  csmm_render_template( $signals_csmm_options );
54
+ }
55
 
56
  // Not for the backend
57
  // Only modifies the frontend of the system
72
  && false === strpos( $signals_server_url, '/xmlrpc.php' )
73
  && false === strpos( $signals_server_url, $signals_login_url )
74
  && false === strpos( $signals_server_url, $signals_csmm_options['custom_login_url'] ) ) {
75
+
76
  // Checking for the search engine option
77
  if ( '1' == $signals_csmm_options['exclude_se'] ) {
78
  if ( ! csmm_check_referrer() ) {
minimal-coming-soon-maintenance-mode.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Minimal Coming Soon & Maintenance Mode
4
  * Plugin URI: https://comingsoonwp.com/
5
  * Description: Simply awesome coming soon & maintenance mode plugin. Super-simple to use. MailChimp support built-in.
6
- * Version: 2.15
7
  * Author: WebFactory Ltd
8
  * Author URI: https://www.webfactoryltd.com/
9
  * License: GPLv3
3
  * Plugin Name: Minimal Coming Soon & Maintenance Mode
4
  * Plugin URI: https://comingsoonwp.com/
5
  * Description: Simply awesome coming soon & maintenance mode plugin. Super-simple to use. MailChimp support built-in.
6
+ * Version: 2.17
7
  * Author: WebFactory Ltd
8
  * Author URI: https://www.webfactoryltd.com/
9
  * License: GPLv3
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: WebFactory, googlemapswidget, wpreset, underconstructionpage
3
  Tags: coming soon, coming soon page, maintenance mode, maintenance mode page, coming soon mode, under construction, maintenance mode page, landing page, offline page, subscribe form, maintenance, mailchimp, gdpr, coming soon builder, coming soon status
4
  Requires at least: 4.0
5
  Requires PHP: 5.2
6
- Tested up to: 5.3
7
- Stable tag: 2.15
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -82,6 +82,10 @@ Yes and no. When activated it enables itself across the entire WP-MU network.
82
 
83
  == Changelog ==
84
 
 
 
 
 
85
  = 2.15 =
86
  * 2019-12-25
87
  * security fixes - many thanks to Chloe @ WordFence
3
  Tags: coming soon, coming soon page, maintenance mode, maintenance mode page, coming soon mode, under construction, maintenance mode page, landing page, offline page, subscribe form, maintenance, mailchimp, gdpr, coming soon builder, coming soon status
4
  Requires at least: 4.0
5
  Requires PHP: 5.2
6
+ Tested up to: 5.4
7
+ Stable tag: 2.17
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
82
 
83
  == Changelog ==
84
 
85
+ = 2.17 =
86
+ * 2020-01-08
87
+ * more security fixes - curtesy of Chloe @ WordFence
88
+
89
  = 2.15 =
90
  * 2019-12-25
91
  * security fixes - many thanks to Chloe @ WordFence