WP Maintenance - Version 6.0.3

Version Description

  • Bug fixed Error Notice
  • Bugs minors resolved
Download this release

Release Info

Developer Florent73
Plugin Icon 128x128 WP Maintenance
Version 6.0.3
Comparing to
See all releases

Code changes from version 6.0.2 to 6.0.3

classes/wp-maintenance.php CHANGED
@@ -145,6 +145,26 @@ class WP_maintenance {
145
  add_option('wp_maintenance_style', wpm_print_style());
146
  }
147
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  }
149
 
150
  public static function wpm_dashboard_remove() {
145
  add_option('wp_maintenance_style', wpm_print_style());
146
  }
147
 
148
+ $wpParamSocialOption = array(
149
+
150
+ 'enable' => 0,
151
+ 'texte' => 'Follow me on',
152
+ 'style' => 'style1',
153
+ 'size' => 64,
154
+ 'position' => 'bottom',
155
+ 'align' => 'center',
156
+ 'theme' => ''
157
+ );
158
+
159
+ $getParamSocialOption = get_option('wp_maintenance_social_options');
160
+ if ( empty($getParamSocialOption) ) {
161
+ foreach ($wpParamSocialOption as $key => $option) {
162
+ $wpParamSocialOption[$key] = $option;
163
+ }
164
+ add_option('wp_maintenance_social_options', $wpParamSocialOption);
165
+ }
166
+
167
+
168
  }
169
 
170
  public static function wpm_dashboard_remove() {
languages/wp-maintenance-fr_FR.mo CHANGED
Binary file
languages/wp-maintenance-fr_FR.po CHANGED
@@ -1,15 +1,15 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Maintenance\n"
4
- "POT-Creation-Date: 2021-01-02 11:35+0100\n"
5
- "PO-Revision-Date: 2021-01-02 11:37+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr_FR\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 2.4.2\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
15
  "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
@@ -53,91 +53,91 @@ msgstr "Ce site est fermé pour maintenance"
53
  msgid "Come back quickly!"
54
  msgstr "Nous revenons rapidement !"
55
 
56
- #: classes/wp-maintenance.php:182 classes/wp-maintenance.php:304
57
- #: classes/wp-maintenance.php:354 includes/functions.php:78
58
  msgid "Settings"
59
  msgstr "Réglages"
60
 
61
  #. Plugin Name of the plugin/theme
62
- #: classes/wp-maintenance.php:211 includes/functions.php:194
63
  msgid "WP Maintenance"
64
  msgstr "WP Maintenance"
65
 
66
- #: classes/wp-maintenance.php:234
67
  msgid "Colors"
68
  msgstr "Couleurs"
69
 
70
- #: classes/wp-maintenance.php:244 classes/wp-maintenance.php:348
71
  #: includes/functions.php:42
72
  msgid "Pictures"
73
  msgstr "Images"
74
 
75
- #: classes/wp-maintenance.php:254 includes/functions.php:48
76
  msgid "Countdown"
77
  msgstr "Compte à rebours"
78
 
79
- #: classes/wp-maintenance.php:264 includes/functions.php:54
80
  #: views/wp-maintenance-css.php:42
81
  msgid "CSS"
82
  msgstr "CSS"
83
 
84
- #: classes/wp-maintenance.php:274 classes/wp-maintenance.php:353
85
  #: includes/functions.php:72 views/wp-maintenance-footer.php:33
86
  msgid "Footer"
87
  msgstr "Pied de page"
88
 
89
- #: classes/wp-maintenance.php:284 classes/wp-maintenance.php:351
90
  #: includes/functions.php:60
91
  msgid "SEO"
92
  msgstr "SEO"
93
 
94
- #: classes/wp-maintenance.php:294 classes/wp-maintenance.php:352
95
  #: includes/functions.php:66 views/wp-maintenance-socialnetworks.php:46
96
  msgid "Social Networks"
97
  msgstr "Réseaux sociaux"
98
 
99
- #: classes/wp-maintenance.php:346 views/wp-maintenance-dashboard.php:31
100
  msgid "General"
101
  msgstr "Général"
102
 
103
- #: classes/wp-maintenance.php:347
104
  msgid "Colors & Fonts"
105
  msgstr "Couleurs & Polices"
106
 
107
- #: classes/wp-maintenance.php:349
108
  msgid "CountDown"
109
  msgstr "Compte à rebours"
110
 
111
- #: classes/wp-maintenance.php:350
112
  msgid "CSS Style"
113
  msgstr "Style CSS"
114
 
115
- #: classes/wp-maintenance.php:413
116
  msgid "Choose This Image"
117
  msgstr "Choisir cette image"
118
 
119
- #: classes/wp-maintenance.php:414
120
  msgid "Choose Image"
121
  msgstr "Choisir une image"
122
 
123
- #: classes/wp-maintenance.php:428 classes/wp-maintenance.php:436
124
- #: classes/wp-maintenance.php:444 classes/wp-maintenance.php:453
125
- #: classes/wp-maintenance.php:462 classes/wp-maintenance.php:471
126
- #: classes/wp-maintenance.php:480 classes/wp-maintenance.php:489
127
- #: classes/wp-maintenance.php:498
128
  msgid "You do not have sufficient privileges to access this page."
129
  msgstr ""
130
  "Vous n'avez pas les autorisations suffisantes pour accéder à cette page."
131
 
132
- #: classes/wp-maintenance.php:572
133
  msgid "Please upload a valid .json file"
134
  msgstr "Veuillez téléverser un fichier .json valide"
135
 
136
- #: classes/wp-maintenance.php:578
137
  msgid "Please upload a file to import"
138
  msgstr "Veuillez téléverser un fichier à importer"
139
 
140
- #: classes/wp-maintenance.php:588
141
  msgid "New settings imported successfully!"
142
  msgstr "Nouveaux paramètres importés avec succès !"
143
 
@@ -291,8 +291,8 @@ msgstr "Couleur d’en-tête"
291
  #: views/wp-maintenance-settings.php:161
292
  #: views/wp-maintenance-socialnetworks.php:66
293
  #: views/wp-maintenance-socialnetworks.php:103
294
- #: views/wp-maintenance-socialnetworks.php:158
295
- #: views/wp-maintenance-socialnetworks.php:169
296
  msgid "Save"
297
  msgstr "Enregistrer"
298
 
@@ -485,9 +485,9 @@ msgstr "Autres paramètres"
485
  msgid "Enable seconds ?"
486
  msgstr "Afficher les secondes ?"
487
 
488
- #: views/wp-maintenance-countdown.php:104 views/wp-maintenance-dashboard.php:52
489
- msgid "Yes, enable maintenance mode"
490
- msgstr "Oui, activer le mode maintenance"
491
 
492
  #: views/wp-maintenance-countdown.php:109
493
  msgid "Disable maintenance mode at the end of the countdown?"
@@ -664,6 +664,10 @@ msgstr "Besoin de code CSS pour le plugin MailChimp ?"
664
  msgid "Activate maintenance mode"
665
  msgstr "Activer le mode maintenance"
666
 
 
 
 
 
667
  #: views/wp-maintenance-dashboard.php:60
668
  msgid "Title and text"
669
  msgstr "Titre et texte"
@@ -851,7 +855,7 @@ msgid "Display button navigation"
851
  msgstr "Afficher les boutons navigation"
852
 
853
  #: views/wp-maintenance-picture.php:252
854
- #: views/wp-maintenance-socialnetworks.php:137
855
  msgid "Position"
856
  msgstr "Position"
857
 
@@ -961,7 +965,7 @@ msgid "Delete custom settings upon plugin deactivation?"
961
  msgstr ""
962
  "Effacer les réglages personnalisés lors de la désactivation de l'extension ?"
963
 
964
- #: views/wp-maintenance-settings.php:90 views/wp-maintenance-settings.php:99
965
  msgid ""
966
  "Yes, all custom settings will be deleted from database upon plugin "
967
  "deactivation"
@@ -973,6 +977,14 @@ msgstr ""
973
  msgid "Display code HTTP Error 503?"
974
  msgstr "Afficher Code Erreur HTTP 503 ?"
975
 
 
 
 
 
 
 
 
 
976
  #: views/wp-maintenance-settings.php:108
977
  msgid "Roles and Capabilities"
978
  msgstr "Rôles et capacités"
@@ -1079,40 +1091,40 @@ msgstr "Choisissez la taille des icônes"
1079
  msgid "Choose icons style"
1080
  msgstr "Choisissez le style des icônes"
1081
 
1082
- #: views/wp-maintenance-socialnetworks.php:139
1083
  msgid "Top"
1084
  msgstr "Haut"
1085
 
1086
- #: views/wp-maintenance-socialnetworks.php:140
1087
  msgid "Bottom"
1088
  msgstr "Bas"
1089
 
1090
- #: views/wp-maintenance-socialnetworks.php:145
1091
  msgid "Align"
1092
  msgstr "Alignement"
1093
 
1094
- #: views/wp-maintenance-socialnetworks.php:147
1095
  msgid "Left"
1096
  msgstr "Gauche"
1097
 
1098
- #: views/wp-maintenance-socialnetworks.php:148
1099
  msgid "Center"
1100
  msgstr "Centre"
1101
 
1102
- #: views/wp-maintenance-socialnetworks.php:149
1103
  msgid "Right"
1104
  msgstr "Droite"
1105
 
1106
- #: views/wp-maintenance-socialnetworks.php:154
1107
  msgid "You have your own icons? Enter the folder name of your theme here"
1108
  msgstr ""
1109
  "Vous avez vos propres icônes ? Entrez le nom du dossier de votre thème ici"
1110
 
1111
- #: views/wp-maintenance-socialnetworks.php:161
1112
  msgid "Reset Social Networks Icons Options"
1113
  msgstr "Réinitialiser les paramètres des icônes des réseaux sociaux"
1114
 
1115
- #: views/wp-maintenance-socialnetworks.php:164
1116
  msgid "Yes, reset Social Networks Icons?"
1117
  msgstr "Oui, réinitialiser les icônes des réseaux sociaux?"
1118
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Maintenance\n"
4
+ "POT-Creation-Date: 2021-06-02 09:41+0200\n"
5
+ "PO-Revision-Date: 2021-06-02 09:42+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr_FR\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 2.4.3\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
15
  "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
53
  msgid "Come back quickly!"
54
  msgstr "Nous revenons rapidement !"
55
 
56
+ #: classes/wp-maintenance.php:202 classes/wp-maintenance.php:324
57
+ #: classes/wp-maintenance.php:374 includes/functions.php:78
58
  msgid "Settings"
59
  msgstr "Réglages"
60
 
61
  #. Plugin Name of the plugin/theme
62
+ #: classes/wp-maintenance.php:231 includes/functions.php:194
63
  msgid "WP Maintenance"
64
  msgstr "WP Maintenance"
65
 
66
+ #: classes/wp-maintenance.php:254
67
  msgid "Colors"
68
  msgstr "Couleurs"
69
 
70
+ #: classes/wp-maintenance.php:264 classes/wp-maintenance.php:368
71
  #: includes/functions.php:42
72
  msgid "Pictures"
73
  msgstr "Images"
74
 
75
+ #: classes/wp-maintenance.php:274 includes/functions.php:48
76
  msgid "Countdown"
77
  msgstr "Compte à rebours"
78
 
79
+ #: classes/wp-maintenance.php:284 includes/functions.php:54
80
  #: views/wp-maintenance-css.php:42
81
  msgid "CSS"
82
  msgstr "CSS"
83
 
84
+ #: classes/wp-maintenance.php:294 classes/wp-maintenance.php:373
85
  #: includes/functions.php:72 views/wp-maintenance-footer.php:33
86
  msgid "Footer"
87
  msgstr "Pied de page"
88
 
89
+ #: classes/wp-maintenance.php:304 classes/wp-maintenance.php:371
90
  #: includes/functions.php:60
91
  msgid "SEO"
92
  msgstr "SEO"
93
 
94
+ #: classes/wp-maintenance.php:314 classes/wp-maintenance.php:372
95
  #: includes/functions.php:66 views/wp-maintenance-socialnetworks.php:46
96
  msgid "Social Networks"
97
  msgstr "Réseaux sociaux"
98
 
99
+ #: classes/wp-maintenance.php:366 views/wp-maintenance-dashboard.php:31
100
  msgid "General"
101
  msgstr "Général"
102
 
103
+ #: classes/wp-maintenance.php:367
104
  msgid "Colors & Fonts"
105
  msgstr "Couleurs & Polices"
106
 
107
+ #: classes/wp-maintenance.php:369
108
  msgid "CountDown"
109
  msgstr "Compte à rebours"
110
 
111
+ #: classes/wp-maintenance.php:370
112
  msgid "CSS Style"
113
  msgstr "Style CSS"
114
 
115
+ #: classes/wp-maintenance.php:433
116
  msgid "Choose This Image"
117
  msgstr "Choisir cette image"
118
 
119
+ #: classes/wp-maintenance.php:434
120
  msgid "Choose Image"
121
  msgstr "Choisir une image"
122
 
123
+ #: classes/wp-maintenance.php:448 classes/wp-maintenance.php:456
124
+ #: classes/wp-maintenance.php:464 classes/wp-maintenance.php:473
125
+ #: classes/wp-maintenance.php:482 classes/wp-maintenance.php:491
126
+ #: classes/wp-maintenance.php:500 classes/wp-maintenance.php:509
127
+ #: classes/wp-maintenance.php:518
128
  msgid "You do not have sufficient privileges to access this page."
129
  msgstr ""
130
  "Vous n'avez pas les autorisations suffisantes pour accéder à cette page."
131
 
132
+ #: classes/wp-maintenance.php:592
133
  msgid "Please upload a valid .json file"
134
  msgstr "Veuillez téléverser un fichier .json valide"
135
 
136
+ #: classes/wp-maintenance.php:598
137
  msgid "Please upload a file to import"
138
  msgstr "Veuillez téléverser un fichier à importer"
139
 
140
+ #: classes/wp-maintenance.php:608
141
  msgid "New settings imported successfully!"
142
  msgstr "Nouveaux paramètres importés avec succès !"
143
 
291
  #: views/wp-maintenance-settings.php:161
292
  #: views/wp-maintenance-socialnetworks.php:66
293
  #: views/wp-maintenance-socialnetworks.php:103
294
+ #: views/wp-maintenance-socialnetworks.php:159
295
+ #: views/wp-maintenance-socialnetworks.php:170
296
  msgid "Save"
297
  msgstr "Enregistrer"
298
 
485
  msgid "Enable seconds ?"
486
  msgstr "Afficher les secondes ?"
487
 
488
+ #: views/wp-maintenance-countdown.php:104
489
+ msgid "Yes, enable seconds"
490
+ msgstr "Oui, activer les secondes"
491
 
492
  #: views/wp-maintenance-countdown.php:109
493
  msgid "Disable maintenance mode at the end of the countdown?"
664
  msgid "Activate maintenance mode"
665
  msgstr "Activer le mode maintenance"
666
 
667
+ #: views/wp-maintenance-dashboard.php:52
668
+ msgid "Yes, enable maintenance mode"
669
+ msgstr "Oui, activer le mode maintenance"
670
+
671
  #: views/wp-maintenance-dashboard.php:60
672
  msgid "Title and text"
673
  msgstr "Titre et texte"
855
  msgstr "Afficher les boutons navigation"
856
 
857
  #: views/wp-maintenance-picture.php:252
858
+ #: views/wp-maintenance-socialnetworks.php:138
859
  msgid "Position"
860
  msgstr "Position"
861
 
965
  msgstr ""
966
  "Effacer les réglages personnalisés lors de la désactivation de l'extension ?"
967
 
968
+ #: views/wp-maintenance-settings.php:90
969
  msgid ""
970
  "Yes, all custom settings will be deleted from database upon plugin "
971
  "deactivation"
977
  msgid "Display code HTTP Error 503?"
978
  msgstr "Afficher Code Erreur HTTP 503 ?"
979
 
980
+ #: views/wp-maintenance-settings.php:99
981
+ msgid ""
982
+ "Yes, inform visitors and search engines that my site is temporarily "
983
+ "unavailable."
984
+ msgstr ""
985
+ "Oui, informer les visiteurs et les moteurs de recherche que mon site est "
986
+ "temporairement indisponible."
987
+
988
  #: views/wp-maintenance-settings.php:108
989
  msgid "Roles and Capabilities"
990
  msgstr "Rôles et capacités"
1091
  msgid "Choose icons style"
1092
  msgstr "Choisissez le style des icônes"
1093
 
1094
+ #: views/wp-maintenance-socialnetworks.php:140
1095
  msgid "Top"
1096
  msgstr "Haut"
1097
 
1098
+ #: views/wp-maintenance-socialnetworks.php:141
1099
  msgid "Bottom"
1100
  msgstr "Bas"
1101
 
1102
+ #: views/wp-maintenance-socialnetworks.php:146
1103
  msgid "Align"
1104
  msgstr "Alignement"
1105
 
1106
+ #: views/wp-maintenance-socialnetworks.php:148
1107
  msgid "Left"
1108
  msgstr "Gauche"
1109
 
1110
+ #: views/wp-maintenance-socialnetworks.php:149
1111
  msgid "Center"
1112
  msgstr "Centre"
1113
 
1114
+ #: views/wp-maintenance-socialnetworks.php:150
1115
  msgid "Right"
1116
  msgstr "Droite"
1117
 
1118
+ #: views/wp-maintenance-socialnetworks.php:155
1119
  msgid "You have your own icons? Enter the folder name of your theme here"
1120
  msgstr ""
1121
  "Vous avez vos propres icônes ? Entrez le nom du dossier de votre thème ici"
1122
 
1123
+ #: views/wp-maintenance-socialnetworks.php:162
1124
  msgid "Reset Social Networks Icons Options"
1125
  msgstr "Réinitialiser les paramètres des icônes des réseaux sociaux"
1126
 
1127
+ #: views/wp-maintenance-socialnetworks.php:165
1128
  msgid "Yes, reset Social Networks Icons?"
1129
  msgstr "Oui, réinitialiser les icônes des réseaux sociaux?"
1130
 
languages/wp-maintenance.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: WP Maintenance\n"
5
- "POT-Creation-Date: 2021-01-02 11:35+0100\n"
6
  "PO-Revision-Date: 2015-03-19 11:19+0100\n"
7
  "Last-Translator: Florent Maillefaud <contact@restezconnectes.fr>\n"
8
  "Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
@@ -10,7 +10,7 @@ msgstr ""
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 2.4.2\n"
14
  "X-Poedit-KeywordsList: __;_e\n"
15
  "X-Poedit-Basepath: ..\n"
16
  "Plural-Forms: nplurals=2; plural=n>1;\n"
@@ -49,89 +49,89 @@ msgstr ""
49
  msgid "Come back quickly!"
50
  msgstr ""
51
 
52
- #: classes/wp-maintenance.php:182 classes/wp-maintenance.php:304
53
- #: classes/wp-maintenance.php:354 includes/functions.php:78
54
  msgid "Settings"
55
  msgstr ""
56
 
57
- #: classes/wp-maintenance.php:211 includes/functions.php:194
58
  msgid "WP Maintenance"
59
  msgstr ""
60
 
61
- #: classes/wp-maintenance.php:234
62
  msgid "Colors"
63
  msgstr ""
64
 
65
- #: classes/wp-maintenance.php:244 classes/wp-maintenance.php:348
66
  #: includes/functions.php:42
67
  msgid "Pictures"
68
  msgstr ""
69
 
70
- #: classes/wp-maintenance.php:254 includes/functions.php:48
71
  msgid "Countdown"
72
  msgstr ""
73
 
74
- #: classes/wp-maintenance.php:264 includes/functions.php:54
75
  #: views/wp-maintenance-css.php:42
76
  msgid "CSS"
77
  msgstr ""
78
 
79
- #: classes/wp-maintenance.php:274 classes/wp-maintenance.php:353
80
  #: includes/functions.php:72 views/wp-maintenance-footer.php:33
81
  msgid "Footer"
82
  msgstr ""
83
 
84
- #: classes/wp-maintenance.php:284 classes/wp-maintenance.php:351
85
  #: includes/functions.php:60
86
  msgid "SEO"
87
  msgstr ""
88
 
89
- #: classes/wp-maintenance.php:294 classes/wp-maintenance.php:352
90
  #: includes/functions.php:66 views/wp-maintenance-socialnetworks.php:46
91
  msgid "Social Networks"
92
  msgstr ""
93
 
94
- #: classes/wp-maintenance.php:346 views/wp-maintenance-dashboard.php:31
95
  msgid "General"
96
  msgstr ""
97
 
98
- #: classes/wp-maintenance.php:347
99
  msgid "Colors & Fonts"
100
  msgstr ""
101
 
102
- #: classes/wp-maintenance.php:349
103
  msgid "CountDown"
104
  msgstr ""
105
 
106
- #: classes/wp-maintenance.php:350
107
  msgid "CSS Style"
108
  msgstr ""
109
 
110
- #: classes/wp-maintenance.php:413
111
  msgid "Choose This Image"
112
  msgstr ""
113
 
114
- #: classes/wp-maintenance.php:414
115
  msgid "Choose Image"
116
  msgstr ""
117
 
118
- #: classes/wp-maintenance.php:428 classes/wp-maintenance.php:436
119
- #: classes/wp-maintenance.php:444 classes/wp-maintenance.php:453
120
- #: classes/wp-maintenance.php:462 classes/wp-maintenance.php:471
121
- #: classes/wp-maintenance.php:480 classes/wp-maintenance.php:489
122
- #: classes/wp-maintenance.php:498
123
  msgid "You do not have sufficient privileges to access this page."
124
  msgstr ""
125
 
126
- #: classes/wp-maintenance.php:572
127
  msgid "Please upload a valid .json file"
128
  msgstr ""
129
 
130
- #: classes/wp-maintenance.php:578
131
  msgid "Please upload a file to import"
132
  msgstr ""
133
 
134
- #: classes/wp-maintenance.php:588
135
  msgid "New settings imported successfully!"
136
  msgstr ""
137
 
@@ -277,8 +277,8 @@ msgstr ""
277
  #: views/wp-maintenance-settings.php:161
278
  #: views/wp-maintenance-socialnetworks.php:66
279
  #: views/wp-maintenance-socialnetworks.php:103
280
- #: views/wp-maintenance-socialnetworks.php:158
281
- #: views/wp-maintenance-socialnetworks.php:169
282
  msgid "Save"
283
  msgstr ""
284
 
@@ -470,8 +470,8 @@ msgstr ""
470
  msgid "Enable seconds ?"
471
  msgstr ""
472
 
473
- #: views/wp-maintenance-countdown.php:104 views/wp-maintenance-dashboard.php:52
474
- msgid "Yes, enable maintenance mode"
475
  msgstr ""
476
 
477
  #: views/wp-maintenance-countdown.php:109
@@ -647,6 +647,10 @@ msgstr ""
647
  msgid "Activate maintenance mode"
648
  msgstr ""
649
 
 
 
 
 
650
  #: views/wp-maintenance-dashboard.php:60
651
  msgid "Title and text"
652
  msgstr ""
@@ -830,7 +834,7 @@ msgid "Display button navigation"
830
  msgstr ""
831
 
832
  #: views/wp-maintenance-picture.php:252
833
- #: views/wp-maintenance-socialnetworks.php:137
834
  msgid "Position"
835
  msgstr ""
836
 
@@ -932,7 +936,7 @@ msgstr ""
932
  msgid "Delete custom settings upon plugin deactivation?"
933
  msgstr ""
934
 
935
- #: views/wp-maintenance-settings.php:90 views/wp-maintenance-settings.php:99
936
  msgid ""
937
  "Yes, all custom settings will be deleted from database upon plugin "
938
  "deactivation"
@@ -942,6 +946,12 @@ msgstr ""
942
  msgid "Display code HTTP Error 503?"
943
  msgstr ""
944
 
 
 
 
 
 
 
945
  #: views/wp-maintenance-settings.php:108
946
  msgid "Roles and Capabilities"
947
  msgstr ""
@@ -1038,38 +1048,38 @@ msgstr ""
1038
  msgid "Choose icons style"
1039
  msgstr ""
1040
 
1041
- #: views/wp-maintenance-socialnetworks.php:139
1042
  msgid "Top"
1043
  msgstr ""
1044
 
1045
- #: views/wp-maintenance-socialnetworks.php:140
1046
  msgid "Bottom"
1047
  msgstr ""
1048
 
1049
- #: views/wp-maintenance-socialnetworks.php:145
1050
  msgid "Align"
1051
  msgstr ""
1052
 
1053
- #: views/wp-maintenance-socialnetworks.php:147
1054
  msgid "Left"
1055
  msgstr ""
1056
 
1057
- #: views/wp-maintenance-socialnetworks.php:148
1058
  msgid "Center"
1059
  msgstr ""
1060
 
1061
- #: views/wp-maintenance-socialnetworks.php:149
1062
  msgid "Right"
1063
  msgstr ""
1064
 
1065
- #: views/wp-maintenance-socialnetworks.php:154
1066
  msgid "You have your own icons? Enter the folder name of your theme here"
1067
  msgstr ""
1068
 
1069
- #: views/wp-maintenance-socialnetworks.php:161
1070
  msgid "Reset Social Networks Icons Options"
1071
  msgstr ""
1072
 
1073
- #: views/wp-maintenance-socialnetworks.php:164
1074
  msgid "Yes, reset Social Networks Icons?"
1075
  msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: WP Maintenance\n"
5
+ "POT-Creation-Date: 2021-06-02 09:41+0200\n"
6
  "PO-Revision-Date: 2015-03-19 11:19+0100\n"
7
  "Last-Translator: Florent Maillefaud <contact@restezconnectes.fr>\n"
8
  "Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 2.4.3\n"
14
  "X-Poedit-KeywordsList: __;_e\n"
15
  "X-Poedit-Basepath: ..\n"
16
  "Plural-Forms: nplurals=2; plural=n>1;\n"
49
  msgid "Come back quickly!"
50
  msgstr ""
51
 
52
+ #: classes/wp-maintenance.php:202 classes/wp-maintenance.php:324
53
+ #: classes/wp-maintenance.php:374 includes/functions.php:78
54
  msgid "Settings"
55
  msgstr ""
56
 
57
+ #: classes/wp-maintenance.php:231 includes/functions.php:194
58
  msgid "WP Maintenance"
59
  msgstr ""
60
 
61
+ #: classes/wp-maintenance.php:254
62
  msgid "Colors"
63
  msgstr ""
64
 
65
+ #: classes/wp-maintenance.php:264 classes/wp-maintenance.php:368
66
  #: includes/functions.php:42
67
  msgid "Pictures"
68
  msgstr ""
69
 
70
+ #: classes/wp-maintenance.php:274 includes/functions.php:48
71
  msgid "Countdown"
72
  msgstr ""
73
 
74
+ #: classes/wp-maintenance.php:284 includes/functions.php:54
75
  #: views/wp-maintenance-css.php:42
76
  msgid "CSS"
77
  msgstr ""
78
 
79
+ #: classes/wp-maintenance.php:294 classes/wp-maintenance.php:373
80
  #: includes/functions.php:72 views/wp-maintenance-footer.php:33
81
  msgid "Footer"
82
  msgstr ""
83
 
84
+ #: classes/wp-maintenance.php:304 classes/wp-maintenance.php:371
85
  #: includes/functions.php:60
86
  msgid "SEO"
87
  msgstr ""
88
 
89
+ #: classes/wp-maintenance.php:314 classes/wp-maintenance.php:372
90
  #: includes/functions.php:66 views/wp-maintenance-socialnetworks.php:46
91
  msgid "Social Networks"
92
  msgstr ""
93
 
94
+ #: classes/wp-maintenance.php:366 views/wp-maintenance-dashboard.php:31
95
  msgid "General"
96
  msgstr ""
97
 
98
+ #: classes/wp-maintenance.php:367
99
  msgid "Colors & Fonts"
100
  msgstr ""
101
 
102
+ #: classes/wp-maintenance.php:369
103
  msgid "CountDown"
104
  msgstr ""
105
 
106
+ #: classes/wp-maintenance.php:370
107
  msgid "CSS Style"
108
  msgstr ""
109
 
110
+ #: classes/wp-maintenance.php:433
111
  msgid "Choose This Image"
112
  msgstr ""
113
 
114
+ #: classes/wp-maintenance.php:434
115
  msgid "Choose Image"
116
  msgstr ""
117
 
118
+ #: classes/wp-maintenance.php:448 classes/wp-maintenance.php:456
119
+ #: classes/wp-maintenance.php:464 classes/wp-maintenance.php:473
120
+ #: classes/wp-maintenance.php:482 classes/wp-maintenance.php:491
121
+ #: classes/wp-maintenance.php:500 classes/wp-maintenance.php:509
122
+ #: classes/wp-maintenance.php:518
123
  msgid "You do not have sufficient privileges to access this page."
124
  msgstr ""
125
 
126
+ #: classes/wp-maintenance.php:592
127
  msgid "Please upload a valid .json file"
128
  msgstr ""
129
 
130
+ #: classes/wp-maintenance.php:598
131
  msgid "Please upload a file to import"
132
  msgstr ""
133
 
134
+ #: classes/wp-maintenance.php:608
135
  msgid "New settings imported successfully!"
136
  msgstr ""
137
 
277
  #: views/wp-maintenance-settings.php:161
278
  #: views/wp-maintenance-socialnetworks.php:66
279
  #: views/wp-maintenance-socialnetworks.php:103
280
+ #: views/wp-maintenance-socialnetworks.php:159
281
+ #: views/wp-maintenance-socialnetworks.php:170
282
  msgid "Save"
283
  msgstr ""
284
 
470
  msgid "Enable seconds ?"
471
  msgstr ""
472
 
473
+ #: views/wp-maintenance-countdown.php:104
474
+ msgid "Yes, enable seconds"
475
  msgstr ""
476
 
477
  #: views/wp-maintenance-countdown.php:109
647
  msgid "Activate maintenance mode"
648
  msgstr ""
649
 
650
+ #: views/wp-maintenance-dashboard.php:52
651
+ msgid "Yes, enable maintenance mode"
652
+ msgstr ""
653
+
654
  #: views/wp-maintenance-dashboard.php:60
655
  msgid "Title and text"
656
  msgstr ""
834
  msgstr ""
835
 
836
  #: views/wp-maintenance-picture.php:252
837
+ #: views/wp-maintenance-socialnetworks.php:138
838
  msgid "Position"
839
  msgstr ""
840
 
936
  msgid "Delete custom settings upon plugin deactivation?"
937
  msgstr ""
938
 
939
+ #: views/wp-maintenance-settings.php:90
940
  msgid ""
941
  "Yes, all custom settings will be deleted from database upon plugin "
942
  "deactivation"
946
  msgid "Display code HTTP Error 503?"
947
  msgstr ""
948
 
949
+ #: views/wp-maintenance-settings.php:99
950
+ msgid ""
951
+ "Yes, inform visitors and search engines that my site is temporarily "
952
+ "unavailable."
953
+ msgstr ""
954
+
955
  #: views/wp-maintenance-settings.php:108
956
  msgid "Roles and Capabilities"
957
  msgstr ""
1048
  msgid "Choose icons style"
1049
  msgstr ""
1050
 
1051
+ #: views/wp-maintenance-socialnetworks.php:140
1052
  msgid "Top"
1053
  msgstr ""
1054
 
1055
+ #: views/wp-maintenance-socialnetworks.php:141
1056
  msgid "Bottom"
1057
  msgstr ""
1058
 
1059
+ #: views/wp-maintenance-socialnetworks.php:146
1060
  msgid "Align"
1061
  msgstr ""
1062
 
1063
+ #: views/wp-maintenance-socialnetworks.php:148
1064
  msgid "Left"
1065
  msgstr ""
1066
 
1067
+ #: views/wp-maintenance-socialnetworks.php:149
1068
  msgid "Center"
1069
  msgstr ""
1070
 
1071
+ #: views/wp-maintenance-socialnetworks.php:150
1072
  msgid "Right"
1073
  msgstr ""
1074
 
1075
+ #: views/wp-maintenance-socialnetworks.php:155
1076
  msgid "You have your own icons? Enter the folder name of your theme here"
1077
  msgstr ""
1078
 
1079
+ #: views/wp-maintenance-socialnetworks.php:162
1080
  msgid "Reset Social Networks Icons Options"
1081
  msgstr ""
1082
 
1083
+ #: views/wp-maintenance-socialnetworks.php:165
1084
  msgid "Yes, reset Social Networks Icons?"
1085
  msgstr ""
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Florent73
3
  Donate link: https://paypal.me/restezconnectes/20/
4
  Tags: Maintenance, Construction, Launch, Coming soon
5
  Requires at least: 3.0
6
- Tested up to: 5.7
7
- Stable tag: 6.0.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -71,6 +71,10 @@ You can translate WP Maintenance on [__translate.wordpress.org__](https://transl
71
 
72
  == Changelog ==
73
 
 
 
 
 
74
  = 6.0.2 =
75
  * Bug fixed IP authorized
76
 
3
  Donate link: https://paypal.me/restezconnectes/20/
4
  Tags: Maintenance, Construction, Launch, Coming soon
5
  Requires at least: 3.0
6
+ Tested up to: 5.8
7
+ Stable tag: 6.0.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
71
 
72
  == Changelog ==
73
 
74
+ = 6.0.3 =
75
+ * Bug fixed Error Notice
76
+ * Bugs minors resolved
77
+
78
  = 6.0.2 =
79
  * Bug fixed IP authorized
80
 
themes/.DS_Store DELETED
Binary file
themes/default/functions.php CHANGED
@@ -57,7 +57,7 @@ function wpm_footer_text() {
57
  $output .= '<footer>';
58
 
59
  if( isset($o['text_bt_maintenance']) && $o['text_bt_maintenance']!='' ) {
60
- $output .= esc_html(nl2br(stripslashes($o['text_bt_maintenance'])));
61
  }
62
  if( (isset($o['add_wplogin']) && $o['add_wplogin']==1) && (isset($o['add_wplogin_title']) && $o['add_wplogin_title']!='') ) {
63
  $output .= '<br /><br /><a href="'.get_admin_url().'">'.str_replace('%DASHBOARD%', ' '.__('Dashboard', 'wp-maintenance'), esc_html($o['add_wplogin_title'])).'</a>';
57
  $output .= '<footer>';
58
 
59
  if( isset($o['text_bt_maintenance']) && $o['text_bt_maintenance']!='' ) {
60
+ $output .= nl2br(stripslashes($o['text_bt_maintenance']));
61
  }
62
  if( (isset($o['add_wplogin']) && $o['add_wplogin']==1) && (isset($o['add_wplogin_title']) && $o['add_wplogin_title']!='') ) {
63
  $output .= '<br /><br /><a href="'.get_admin_url().'">'.str_replace('%DASHBOARD%', ' '.__('Dashboard', 'wp-maintenance'), esc_html($o['add_wplogin_title'])).'</a>';
themes/default/index2.php CHANGED
@@ -26,12 +26,14 @@
26
  {Logo}
27
  {SlideshowBL}
28
  </p>
29
- <p style="text-align:center;padding:1.5em;"><h3>{Title}</h3>
30
- <p>{Text}</p>
31
- {SlideshowBT}
32
- {Counter}
33
- {Newsletter}
34
- </p>
 
 
35
  <p>{BottomSocialIcon}</p>
36
  </main>
37
  {FooterText}
26
  {Logo}
27
  {SlideshowBL}
28
  </p>
29
+ <div id="sscontent">
30
+ <p style="text-align:center;padding:1.5em;"><h3>{Title}</h3>
31
+ <p>{Text}</p>
32
+ {SlideshowBT}
33
+ {Counter}
34
+ {Newsletter}
35
+ </p>
36
+ </div>
37
  <p>{BottomSocialIcon}</p>
38
  </main>
39
  {FooterText}
views/wp-maintenance-countdown.php CHANGED
@@ -101,7 +101,7 @@ $paramMMode = get_option('wp_maintenance_settings');
101
  <h3><?php _e('Enable seconds ?', 'wp-maintenance'); ?></h3>
102
 
103
  <p class="wp-maintenance-fieldset-item ">
104
- <label class="wp-maintenance-container"><span class="wp-maintenance-label-text"><?php _e('Yes, enable maintenance mode', 'wp-maintenance'); ?></span>
105
  <input type="checkbox" name="wp_maintenance_settings[active_cpt_s]" value="1" <?php if( isset($paramMMode['active_cpt_s']) && $paramMMode['active_cpt_s']==1) { echo ' checked'; } ?>>
106
  <span class="wp-maintenance-checkmark"></span>
107
  </label>
101
  <h3><?php _e('Enable seconds ?', 'wp-maintenance'); ?></h3>
102
 
103
  <p class="wp-maintenance-fieldset-item ">
104
+ <label class="wp-maintenance-container"><span class="wp-maintenance-label-text"><?php _e('Yes, enable seconds', 'wp-maintenance'); ?></span>
105
  <input type="checkbox" name="wp_maintenance_settings[active_cpt_s]" value="1" <?php if( isset($paramMMode['active_cpt_s']) && $paramMMode['active_cpt_s']==1) { echo ' checked'; } ?>>
106
  <span class="wp-maintenance-checkmark"></span>
107
  </label>
views/wp-maintenance-settings.php CHANGED
@@ -96,7 +96,7 @@ jQuery(document).ready(function() {
96
  <!-- DISPLAY 503 ERROR? -->
97
  <h3><?php _e('Display code HTTP Error 503?', 'wp-maintenance'); ?></h3>
98
  <p class="wp-maintenance-fieldset-item ">
99
- <label class="wp-maintenance-container"><span class="wp-maintenance-label-text"><?php _e('Yes, all custom settings will be deleted from database upon plugin deactivation', 'wp-maintenance'); ?></span>
100
  <input type="checkbox" name="wp_maintenance_settings[error_503]" value="1" <?php if( isset($paramMMode['error_503']) && $paramMMode['error_503']==1) { echo ' checked'; } ?>>
101
  <span class="wp-maintenance-checkmark"></span>
102
  </label>
96
  <!-- DISPLAY 503 ERROR? -->
97
  <h3><?php _e('Display code HTTP Error 503?', 'wp-maintenance'); ?></h3>
98
  <p class="wp-maintenance-fieldset-item ">
99
+ <label class="wp-maintenance-container"><span class="wp-maintenance-label-text"><?php _e('Yes, inform visitors and search engines that my site is temporarily unavailable.', 'wp-maintenance'); ?></span>
100
  <input type="checkbox" name="wp_maintenance_settings[error_503]" value="1" <?php if( isset($paramMMode['error_503']) && $paramMMode['error_503']==1) { echo ' checked'; } ?>>
101
  <span class="wp-maintenance-checkmark"></span>
102
  </label>
views/wp-maintenance-socialnetworks.php CHANGED
@@ -121,9 +121,10 @@ $paramSocialOption = get_option('wp_maintenance_social_options');
121
  <div class="wp-maintenance-setting-row">
122
  <label for="wp_maintenance_social_options[style]" class="wp-maintenance-setting-row-title"><?php _e('Choose icons style', 'wp-maintenance'); ?></label>
123
  <ul id="pattern">
124
- <?php for ($ico = 1; $ico <= 6; $ico++) {
125
- if( empty($paramSocialOption['style']) ) { $paramSocialOption['style'] == 'style1'; }
126
- if( isset($paramSocialOption['style']) && $paramSocialOption['style'] == 'style'.$ico ) { $selected = ' checked'; } else { $selected = ''; }
 
127
  ?>
128
  <li>
129
  <div style="width:64px;height:64px;border:2px solid #ECF0F1;background:url('<?php echo WPM_ICONS_URL.'style'.$ico.'/64/facebook.png'; ?>');margin-bottom:5px;"></div>
121
  <div class="wp-maintenance-setting-row">
122
  <label for="wp_maintenance_social_options[style]" class="wp-maintenance-setting-row-title"><?php _e('Choose icons style', 'wp-maintenance'); ?></label>
123
  <ul id="pattern">
124
+ <?php
125
+ //if( empty($paramSocialOption['style']) ) { $paramSocialOption['style'] == 'style1'; }
126
+ for ($ico = 1; $ico <= 6; $ico++) {
127
+ if( isset($paramSocialOption['style']) && $paramSocialOption['style'] == 'style'.$ico ) { $selected = ' checked'; } else { $selected = ''; }
128
  ?>
129
  <li>
130
  <div style="width:64px;height:64px;border:2px solid #ECF0F1;background:url('<?php echo WPM_ICONS_URL.'style'.$ico.'/64/facebook.png'; ?>');margin-bottom:5px;"></div>
wp-maintenance.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The WP Maintenance plugin allows you to put your website on the waiting time for you to do maintenance or launch your website. Personalize this page with picture, countdown...
6
  * Author: Florent Maillefaud
7
  * Author URI: https://madeby.restezconnectes.fr
8
- * Version: 6.0.2
9
  * Text Domain: wp-maintenance
10
  * Domain Path: /languages/
11
  */
@@ -36,7 +36,7 @@ define( 'WPM_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
36
  define( 'WPM_PLUGIN_URL', plugins_url().'/'.strtolower('wp-maintenance').'/');
37
  define( 'WPM_ICONS_URL', plugins_url().'/'.strtolower('wp-maintenance').'/socialicons/');
38
 
39
- if( !defined( 'WPM_VERSION' )) { define( 'WPM_VERSION', '6.0.2' ); }
40
 
41
  require WPM_DIR . 'classes/wp-maintenance.php';
42
  require WPM_DIR . 'classes/slider.php';
5
  * Description: The WP Maintenance plugin allows you to put your website on the waiting time for you to do maintenance or launch your website. Personalize this page with picture, countdown...
6
  * Author: Florent Maillefaud
7
  * Author URI: https://madeby.restezconnectes.fr
8
+ * Version: 6.0.3
9
  * Text Domain: wp-maintenance
10
  * Domain Path: /languages/
11
  */
36
  define( 'WPM_PLUGIN_URL', plugins_url().'/'.strtolower('wp-maintenance').'/');
37
  define( 'WPM_ICONS_URL', plugins_url().'/'.strtolower('wp-maintenance').'/socialicons/');
38
 
39
+ if( !defined( 'WPM_VERSION' )) { define( 'WPM_VERSION', '6.0.3' ); }
40
 
41
  require WPM_DIR . 'classes/wp-maintenance.php';
42
  require WPM_DIR . 'classes/slider.php';