WP Maintenance - Version 6.1.0

Version Description

  • Bug User Role autorized fixed
  • Change Ip Addresses settings
Download this release

Release Info

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

Code changes from version 6.0.9 to 6.1.0

classes/wp-maintenance.php CHANGED
@@ -31,7 +31,9 @@ class WP_maintenance {
31
  add_filter( 'plugin_action_links_wp-maintenance/wp-maintenance.php', array( &$this, 'wpm_plugin_action_links'), 10, 3 );
32
  add_action( 'admin_head', array( &$this, 'wpm_admin_head') );
33
  add_action( 'admin_bar_menu', array( &$this, 'wpm_add_menu_admin_bar'), 999 );
34
- add_action( 'admin_footer', array( &$this, 'wpm_print_footer_scripts') );
 
 
35
  //add_action( 'after_setup_theme', array( &$this, 'wpm_theme_add_editor_styles') );
36
  }
37
 
@@ -56,8 +58,8 @@ class WP_maintenance {
56
  add_option('wp_maintenance_active', 0);
57
  }
58
 
59
- if ( get_option('wp_maintenance_style', false) == false or get_option('wp_maintenance_style')=='' ) {
60
- add_option('wp_maintenance_style', wpm_print_style());
61
  }
62
 
63
  $wpmAdminOptions = array(
@@ -603,6 +605,88 @@ class WP_maintenance {
603
  }
604
  }
605
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
606
  /* Check le Mode Maintenance si on doit l'activer ou non */
607
  function wpm_check_active() {
608
 
@@ -616,17 +700,29 @@ class WP_maintenance {
616
  $paramIpAddress = get_option('wp_maintenance_ipaddresses');
617
 
618
  /* Désactive le mode maintenance pour les IP définies */
619
- if(isset($paramIpAddress)) {
620
- $lienIpAddress = explode("\r\n", $paramIpAddress);
621
- $ip_autorized = array();
622
- foreach($lienIpAddress as $ipAutorized) {
623
- if($ipAutorized!='') {
624
- array_push($ip_autorized, $ipAutorized);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
625
  }
626
- }
627
- //error_log(wpm_get_ip().' --> '.print_r($ip_autorized));
628
- if(array_search(wpm_get_ip(), $ip_autorized)!== FALSE) {
629
- $statusActive = 0;
630
  }
631
 
632
  }
@@ -637,6 +733,7 @@ class WP_maintenance {
637
 
638
  if( isset($paramLimit) && !empty($paramLimit) ) {
639
  foreach($paramLimit as $limitrole) {
 
640
  if( is_user_logged_in() ) {
641
  $user_id = get_current_user_id();
642
  $user_info = get_userdata($user_id);
31
  add_filter( 'plugin_action_links_wp-maintenance/wp-maintenance.php', array( &$this, 'wpm_plugin_action_links'), 10, 3 );
32
  add_action( 'admin_head', array( &$this, 'wpm_admin_head') );
33
  add_action( 'admin_bar_menu', array( &$this, 'wpm_add_menu_admin_bar'), 999 );
34
+ add_action( 'admin_footer', array( &$this, 'wpm_print_footer_scripts') );
35
+ add_action( 'admin_init', array( &$this, 'wpm_process_settings_import') );
36
+ add_action( 'admin_init', array( &$this, 'wpm_process_settings_export') );
37
  //add_action( 'after_setup_theme', array( &$this, 'wpm_theme_add_editor_styles') );
38
  }
39
 
58
  add_option('wp_maintenance_active', 0);
59
  }
60
 
61
+ if ( get_option('wp_maintenance_settings_css', false) == false or get_option('wp_maintenance_settings_css')=='' ) {
62
+ add_option('wp_maintenance_settings_css', wpm_print_style());
63
  }
64
 
65
  $wpmAdminOptions = array(
605
  }
606
  }
607
 
608
+ /**
609
+ * Process a settings export that generates a .json file of the erident settings
610
+ */
611
+ function wpm_process_settings_export() {
612
+
613
+ if(empty($_POST['wpm_action']) || 'export_settings'!=$_POST['wpm_action'])
614
+ return;
615
+
616
+ if(!wp_verify_nonce($_POST['wpm_export_nonce'], 'wpm_export_nonce'))
617
+ return;
618
+
619
+ if(!current_user_can('manage_options'))
620
+ return;
621
+
622
+ $settingsJson = array(
623
+ 'active' => get_option('wp_maintenance_active'),
624
+ 'settings' => get_option('wp_maintenance_settings'),
625
+ 'settings_colors' => get_option('wp_maintenance_settings_colors'),
626
+ 'settings_countdown' => get_option('wp_maintenance_settings_countdown'),
627
+ 'settings_seo' => get_option('wp_maintenance_settings_seo'),
628
+ 'settings_socialnetworks' => get_option('wp_maintenance_settings_socialnetworks'),
629
+ 'settings_footer' => get_option('wp_maintenance_settings_footer'),
630
+ 'settings_options' => get_option('wp_maintenance_settings_options'),
631
+ 'limit' => get_option('wp_maintenance_limit'),
632
+ 'social_options' => get_option('wp_maintenance_social_options'),
633
+ 'ipaddresses' => get_option('wp_maintenance_ipaddresses')
634
+ );
635
+
636
+ ignore_user_abort(true);
637
+
638
+ nocache_headers();
639
+ header('Content-Type: application/json; charset=utf-8');
640
+ header('Content-Disposition: attachment; filename=wp-maintenance-'.parse_url(get_site_url(), PHP_URL_HOST).'-'.date('m-d-Y').'.json');
641
+ header("Expires: 0");
642
+
643
+ echo json_encode($settingsJson);
644
+ exit;
645
+ }
646
+
647
+
648
+ /**
649
+ * Process a settings import from a json file
650
+ */
651
+ function wpm_process_settings_import() {
652
+
653
+ if(empty($_POST['wpm_action']) || 'import_settings'!=$_POST['wpm_action'])
654
+ return;
655
+
656
+ if(!wp_verify_nonce( $_POST['wpm_import_nonce'], 'wpm_import_nonce'))
657
+ return;
658
+
659
+ if(!current_user_can('manage_options'))
660
+ return;
661
+
662
+ $extensionExploded = explode('.', esc_url($_FILES['wpm_import_file']['name']));
663
+ $extension = strtolower(end($extensionExploded));
664
+
665
+ if($extension!='json') {
666
+ wp_die(__('Please upload a valid .json file'));
667
+ }
668
+
669
+ $import_file = $_FILES['wpm_import_file']['tmp_name'];
670
+
671
+ if(empty($import_file)) {
672
+ wp_die( __( 'Please upload a file to import', 'wp-maintenance' ) );
673
+ }
674
+
675
+ // Retrieve the settings from the file and convert the json object to an array.
676
+ $settings = (array) json_decode(file_get_contents($import_file), true);
677
+ if(isset($settings)) {
678
+ foreach($settings as $name=>$value) {
679
+ if($name=='active') {
680
+ update_option('wp_maintenance_active', sanitize_text_field($value));
681
+ } else {
682
+ $updateSetting = wpm_update_settings($value, 'wp_maintenance_'.$name);
683
+ }
684
+ }
685
+ echo '<div id="message" class="updated fade"><p><strong>'.__('New settings imported successfully!', 'wp-maintenance').'</strong></p></div>';
686
+ }
687
+
688
+ }
689
+
690
  /* Check le Mode Maintenance si on doit l'activer ou non */
691
  function wpm_check_active() {
692
 
700
  $paramIpAddress = get_option('wp_maintenance_ipaddresses');
701
 
702
  /* Désactive le mode maintenance pour les IP définies */
703
+ if(isset($paramIpAddress) && $paramIpAddress!='') {
704
+
705
+ if( WPM_VERSION <= '6.0.9') {
706
+
707
+ $ip_autorized = array();
708
+ $lienIpAddress = explode("\r\n", $paramIpAddress);
709
+ foreach($lienIpAddress as $ipAutorized) {
710
+ if($ipAutorized!='') {
711
+ array_push($ip_autorized, $ipAutorized);
712
+ }
713
+ }
714
+ if(array_search(wpm_get_ip(), $ip_autorized)!== FALSE) {
715
+ $statusActive = 0;
716
+ }
717
+
718
+ } else {
719
+
720
+ foreach($paramIpAddress as $ipAutorized) {
721
+ //error_log(wpm_get_ip().' == '.$ipAutorized);
722
+ if($ipAutorized!='' && wpm_get_ip() == $ipAutorized) {
723
+ $statusActive = 0;
724
+ }
725
  }
 
 
 
 
726
  }
727
 
728
  }
733
 
734
  if( isset($paramLimit) && !empty($paramLimit) ) {
735
  foreach($paramLimit as $limitrole) {
736
+
737
  if( is_user_logged_in() ) {
738
  $user_id = get_current_user_id();
739
  $user_info = get_userdata($user_id);
languages/wp-maintenance-fr_FR.mo CHANGED
Binary file
languages/wp-maintenance-fr_FR.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Maintenance\n"
4
- "POT-Creation-Date: 2022-06-05 17:13+0200\n"
5
- "PO-Revision-Date: 2022-06-05 17:13+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr_FR\n"
@@ -10,7 +10,7 @@ msgstr ""
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
13
- "X-Generator: Poedit 3.0.1\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
16
  "X-Poedit-WPHeader: wp-maintenance.php\n"
@@ -49,87 +49,87 @@ msgstr "Nous revenons rapidement !"
49
  msgid "Follow me on"
50
  msgstr "Suivez-moi sur"
51
 
52
- #: classes/wp-maintenance.php:262 classes/wp-maintenance.php:276
53
- #: classes/wp-maintenance.php:398 classes/wp-maintenance.php:428
54
  #: includes/functions.php:93
55
  msgid "Settings"
56
  msgstr "Réglages"
57
 
58
- #: classes/wp-maintenance.php:265
59
  msgid "Uninstall"
60
  msgstr "Désinstaller"
61
 
62
  #. Plugin Name of the plugin/theme
63
- #: classes/wp-maintenance.php:305 includes/functions.php:119
64
  msgid "WP Maintenance"
65
  msgstr "WP Maintenance"
66
 
67
- #: classes/wp-maintenance.php:328
68
  msgid "Colors"
69
  msgstr "Couleurs"
70
 
71
- #: classes/wp-maintenance.php:338 classes/wp-maintenance.php:422
72
  #: includes/functions.php:57
73
  msgid "Pictures"
74
  msgstr "Images"
75
 
76
- #: classes/wp-maintenance.php:348 includes/functions.php:63
77
  msgid "Countdown"
78
  msgstr "Compte à rebours"
79
 
80
- #: classes/wp-maintenance.php:358 includes/functions.php:69
81
  msgid "CSS"
82
  msgstr "CSS"
83
 
84
- #: classes/wp-maintenance.php:368 classes/wp-maintenance.php:427
85
  #: includes/functions.php:87
86
  msgid "Footer"
87
  msgstr "Pied de page"
88
 
89
- #: classes/wp-maintenance.php:378 classes/wp-maintenance.php:425
90
  #: includes/functions.php:75
91
  msgid "SEO"
92
  msgstr "SEO"
93
 
94
- #: classes/wp-maintenance.php:388 classes/wp-maintenance.php:426
95
  #: includes/functions.php:81
96
  msgid "Social Networks"
97
  msgstr "Réseaux sociaux"
98
 
99
- #: classes/wp-maintenance.php:420
100
  msgid "General"
101
  msgstr "Général"
102
 
103
- #: classes/wp-maintenance.php:421
104
  msgid "Colors & Fonts"
105
  msgstr "Couleurs & Polices"
106
 
107
- #: classes/wp-maintenance.php:423
108
  msgid "CountDown"
109
  msgstr "Compte à rebours"
110
 
111
- #: classes/wp-maintenance.php:424
112
  msgid "CSS Style"
113
  msgstr "Style CSS"
114
 
115
- #: classes/wp-maintenance.php:474
116
  msgid "Choose This Image"
117
  msgstr "Choisir cette image"
118
 
119
- #: classes/wp-maintenance.php:475
120
  msgid "Choose Image"
121
  msgstr "Choisir une image"
122
 
123
- #: classes/wp-maintenance.php:492 classes/wp-maintenance.php:500
124
- #: classes/wp-maintenance.php:508 classes/wp-maintenance.php:517
125
- #: classes/wp-maintenance.php:526 classes/wp-maintenance.php:535
126
- #: classes/wp-maintenance.php:544 classes/wp-maintenance.php:553
127
- #: classes/wp-maintenance.php:562
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
- #: includes/functions.php:45 themes/default/functions.php:61
133
  msgid "Dashboard"
134
  msgstr "Tableau de bord"
135
 
@@ -225,7 +225,7 @@ msgstr "Couleur d’en-tête"
225
  #: views/wp-maintenance-colors.php:152 views/wp-maintenance-colors.php:181
226
  #: views/wp-maintenance-colors.php:228 views/wp-maintenance-colors.php:273
227
  #: views/wp-maintenance-colors.php:342 views/wp-maintenance-countdown.php:51
228
- #: views/wp-maintenance-countdown.php:94 views/wp-maintenance-countdown.php:137
229
  #: views/wp-maintenance-css.php:61 views/wp-maintenance-dashboard.php:56
230
  #: views/wp-maintenance-dashboard.php:81 views/wp-maintenance-dashboard.php:109
231
  #: views/wp-maintenance-footer.php:75 views/wp-maintenance-footer.php:98
@@ -233,12 +233,12 @@ msgstr "Couleur d’en-tête"
233
  #: views/wp-maintenance-picture.php:198 views/wp-maintenance-seo.php:55
234
  #: views/wp-maintenance-seo.php:69 views/wp-maintenance-seo.php:88
235
  #: views/wp-maintenance-settings.php:106 views/wp-maintenance-settings.php:133
236
- #: views/wp-maintenance-settings.php:147 views/wp-maintenance-settings.php:161
237
- #: views/wp-maintenance-settings.php:175
238
  #: views/wp-maintenance-socialnetworks.php:68
239
- #: views/wp-maintenance-socialnetworks.php:135
240
- #: views/wp-maintenance-socialnetworks.php:198
241
- #: views/wp-maintenance-socialnetworks.php:211
242
  msgid "Save"
243
  msgstr "Enregistrer"
244
 
@@ -419,136 +419,136 @@ msgstr "Date / heure du lancement"
419
  msgid "Select the launch date/time"
420
  msgstr "Sélectionner une date et heure de lancement"
421
 
422
- #: views/wp-maintenance-countdown.php:91
423
  msgid "at"
424
  msgstr "à"
425
 
426
- #: views/wp-maintenance-countdown.php:99
427
  msgid "Others Settings"
428
  msgstr "Autres paramètres"
429
 
430
- #: views/wp-maintenance-countdown.php:102
431
  msgid "Enable seconds ?"
432
  msgstr "Afficher les secondes ?"
433
 
434
- #: views/wp-maintenance-countdown.php:105
435
  msgid "Yes, enable seconds"
436
  msgstr "Oui, activer les secondes"
437
 
438
- #: views/wp-maintenance-countdown.php:110
439
  msgid "Disable maintenance mode at the end of the countdown?"
440
  msgstr "Désactiver le mode maintenance à la fin du compte à rebours ?"
441
 
442
- #: views/wp-maintenance-countdown.php:112
443
  msgid "Yes, disable maintenance mode at the end of countdown"
444
  msgstr "Oui, désactiver le mode maintenance à la fin du compte à rebours"
445
 
446
- #: views/wp-maintenance-countdown.php:117
447
  msgid "End message after end countdown"
448
  msgstr "Message de fin après le compte à rebours"
449
 
450
- #: views/wp-maintenance-countdown.php:159
451
  msgid "January"
452
  msgstr "Janvier"
453
 
454
- #: views/wp-maintenance-countdown.php:159
455
  msgid "February"
456
  msgstr "Février"
457
 
458
- #: views/wp-maintenance-countdown.php:159
459
  msgid "March"
460
  msgstr "Mars"
461
 
462
- #: views/wp-maintenance-countdown.php:159
463
  msgid "April"
464
  msgstr "Avril"
465
 
466
- #: views/wp-maintenance-countdown.php:159
467
  msgid "May"
468
  msgstr "Mai"
469
 
470
- #: views/wp-maintenance-countdown.php:159
471
  msgid "June"
472
  msgstr "Juin"
473
 
474
- #: views/wp-maintenance-countdown.php:159
475
  msgid "July"
476
  msgstr "Juillet"
477
 
478
- #: views/wp-maintenance-countdown.php:159
479
  msgid "August"
480
  msgstr "Août"
481
 
482
- #: views/wp-maintenance-countdown.php:159
483
  msgid "September"
484
  msgstr "Septembre"
485
 
486
- #: views/wp-maintenance-countdown.php:159
487
  msgid "October"
488
  msgstr "Octobre"
489
 
490
- #: views/wp-maintenance-countdown.php:159
491
  msgid "November"
492
  msgstr "Novembre"
493
 
494
- #: views/wp-maintenance-countdown.php:159
495
  msgid "December"
496
  msgstr "Décembre"
497
 
498
- #: views/wp-maintenance-countdown.php:161
499
  msgid "Sunday"
500
  msgstr "Dimanche"
501
 
502
- #: views/wp-maintenance-countdown.php:161
503
  msgid "Monday"
504
  msgstr "Lundi"
505
 
506
- #: views/wp-maintenance-countdown.php:161
507
  msgid "Tuesday"
508
  msgstr "Mardi"
509
 
510
- #: views/wp-maintenance-countdown.php:161
511
  msgid "Wednesday"
512
  msgstr "Mercredi"
513
 
514
- #: views/wp-maintenance-countdown.php:161
515
  msgid "Thurday"
516
  msgstr "Jeudi"
517
 
518
- #: views/wp-maintenance-countdown.php:161
519
  msgid "Friday"
520
  msgstr "Vendredi"
521
 
522
- #: views/wp-maintenance-countdown.php:161
523
  msgid "Saturday"
524
  msgstr "Samedi"
525
 
526
- #: views/wp-maintenance-countdown.php:162
527
  msgid "Today"
528
  msgstr "Aujourd'hui"
529
 
530
- #: views/wp-maintenance-countdown.php:163
531
  msgid "Delete"
532
  msgstr "Supprimer"
533
 
534
- #: views/wp-maintenance-countdown.php:164
535
- #: views/wp-maintenance-countdown.php:183
536
  msgid "Close"
537
  msgstr "Fermer"
538
 
539
- #: views/wp-maintenance-countdown.php:167
540
  msgid "Next month"
541
  msgstr "Mois suivant"
542
 
543
- #: views/wp-maintenance-countdown.php:168
544
  msgid "Previous month"
545
  msgstr "Mois précédent"
546
 
547
- #: views/wp-maintenance-countdown.php:169
548
  msgid "Select a month"
549
  msgstr "Sélectionner un mois"
550
 
551
- #: views/wp-maintenance-countdown.php:170
552
  msgid "Select a year"
553
  msgstr "Sélectionner une année"
554
 
@@ -717,7 +717,7 @@ msgid "Height:"
717
  msgstr "Hauteur :"
718
 
719
  #: views/wp-maintenance-picture.php:97
720
- #: views/wp-maintenance-socialnetworks.php:193
721
  msgid "You use this picture:"
722
  msgstr "Image actuelle :"
723
 
@@ -869,11 +869,16 @@ msgstr ""
869
  "Autoriser l'affichage du site à ces adresses IP. Merci d'entrer 1 adresse IP "
870
  "par ligne"
871
 
872
- #: views/wp-maintenance-settings.php:154
 
 
 
 
 
873
  msgid "ID pages autorized"
874
  msgstr "ID de pages autorisées"
875
 
876
- #: views/wp-maintenance-settings.php:157
877
  msgid ""
878
  "Allow the site to display these ID pages. Please, enter the ID pages "
879
  "separate with comma"
@@ -881,11 +886,11 @@ msgstr ""
881
  "Autoriser le site à afficher des pages d'ID. Merci d'entrer les ID de pages "
882
  "séparées par une virgule"
883
 
884
- #: views/wp-maintenance-settings.php:168
885
  msgid "Header Code"
886
  msgstr "Code pour l’entête"
887
 
888
- #: views/wp-maintenance-settings.php:171
889
  msgid ""
890
  "The following code will add to the <head> tag. Useful if you need to add "
891
  "additional scripts such as CSS or JS"
@@ -914,52 +919,52 @@ msgid "Drad and drop the lines to put in the order you want"
914
  msgstr ""
915
  "Cliquez et glisser les lignes pour mettre dans l'ordre que vous souhaitez"
916
 
917
- #: views/wp-maintenance-socialnetworks.php:140
918
  msgid "Social Networks Style"
919
  msgstr "Style pour les réseaux sociaux"
920
 
921
- #: views/wp-maintenance-socialnetworks.php:143
922
  msgid "Choose icons size"
923
  msgstr "Choisissez la taille des icônes"
924
 
925
- #: views/wp-maintenance-socialnetworks.php:156
926
  msgid "Choose icons style"
927
  msgstr "Choisissez le style des icônes"
928
 
929
- #: views/wp-maintenance-socialnetworks.php:172
930
  msgid "Position"
931
  msgstr "Position"
932
 
933
- #: views/wp-maintenance-socialnetworks.php:174
934
  msgid "Top"
935
  msgstr "Haut"
936
 
937
- #: views/wp-maintenance-socialnetworks.php:175
938
  msgid "Bottom"
939
  msgstr "Bas"
940
 
941
- #: views/wp-maintenance-socialnetworks.php:180
942
  msgid "Align"
943
  msgstr "Alignement"
944
 
945
- #: views/wp-maintenance-socialnetworks.php:182
946
  msgid "Left"
947
  msgstr "Gauche"
948
 
949
- #: views/wp-maintenance-socialnetworks.php:183
950
  msgid "Center"
951
  msgstr "Centre"
952
 
953
- #: views/wp-maintenance-socialnetworks.php:184
954
  msgid "Right"
955
  msgstr "Droite"
956
 
957
- #: views/wp-maintenance-socialnetworks.php:189
958
  msgid "You have your own icons? Enter the folder name of your theme here"
959
  msgstr ""
960
  "Vous avez vos propres icônes ? Entrez le nom du dossier de votre thème ici"
961
 
962
- #: views/wp-maintenance-socialnetworks.php:191
963
  msgid ""
964
  "In your icon's folder child theme, you must have the same names like mine, "
965
  "let's mouse over list icons for display picture's name. For example: "
@@ -968,11 +973,11 @@ msgstr ""
968
  "noms que les miens, passez la souris sur la liste des icônes pour afficher "
969
  "le nom de l’image. Par exemple: "
970
 
971
- #: views/wp-maintenance-socialnetworks.php:203
972
  msgid "Reset Social Networks Icons Options"
973
  msgstr "Réinitialiser les paramètres des icônes des réseaux sociaux"
974
 
975
- #: views/wp-maintenance-socialnetworks.php:206
976
  msgid "Yes, reset Social Networks Icons?"
977
  msgstr "Oui, réinitialiser les icônes des réseaux sociaux?"
978
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Maintenance\n"
4
+ "POT-Creation-Date: 2022-06-25 15:55+0200\n"
5
+ "PO-Revision-Date: 2022-06-25 15:55+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr_FR\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
13
+ "X-Generator: Poedit 3.1\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
16
  "X-Poedit-WPHeader: wp-maintenance.php\n"
49
  msgid "Follow me on"
50
  msgstr "Suivez-moi sur"
51
 
52
+ #: classes/wp-maintenance.php:287 classes/wp-maintenance.php:301
53
+ #: classes/wp-maintenance.php:423 classes/wp-maintenance.php:453
54
  #: includes/functions.php:93
55
  msgid "Settings"
56
  msgstr "Réglages"
57
 
58
+ #: classes/wp-maintenance.php:290
59
  msgid "Uninstall"
60
  msgstr "Désinstaller"
61
 
62
  #. Plugin Name of the plugin/theme
63
+ #: classes/wp-maintenance.php:330 includes/functions.php:119
64
  msgid "WP Maintenance"
65
  msgstr "WP Maintenance"
66
 
67
+ #: classes/wp-maintenance.php:353
68
  msgid "Colors"
69
  msgstr "Couleurs"
70
 
71
+ #: classes/wp-maintenance.php:363 classes/wp-maintenance.php:447
72
  #: includes/functions.php:57
73
  msgid "Pictures"
74
  msgstr "Images"
75
 
76
+ #: classes/wp-maintenance.php:373 includes/functions.php:63
77
  msgid "Countdown"
78
  msgstr "Compte à rebours"
79
 
80
+ #: classes/wp-maintenance.php:383 includes/functions.php:69
81
  msgid "CSS"
82
  msgstr "CSS"
83
 
84
+ #: classes/wp-maintenance.php:393 classes/wp-maintenance.php:452
85
  #: includes/functions.php:87
86
  msgid "Footer"
87
  msgstr "Pied de page"
88
 
89
+ #: classes/wp-maintenance.php:403 classes/wp-maintenance.php:450
90
  #: includes/functions.php:75
91
  msgid "SEO"
92
  msgstr "SEO"
93
 
94
+ #: classes/wp-maintenance.php:413 classes/wp-maintenance.php:451
95
  #: includes/functions.php:81
96
  msgid "Social Networks"
97
  msgstr "Réseaux sociaux"
98
 
99
+ #: classes/wp-maintenance.php:445
100
  msgid "General"
101
  msgstr "Général"
102
 
103
+ #: classes/wp-maintenance.php:446
104
  msgid "Colors & Fonts"
105
  msgstr "Couleurs & Polices"
106
 
107
+ #: classes/wp-maintenance.php:448
108
  msgid "CountDown"
109
  msgstr "Compte à rebours"
110
 
111
+ #: classes/wp-maintenance.php:449
112
  msgid "CSS Style"
113
  msgstr "Style CSS"
114
 
115
+ #: classes/wp-maintenance.php:499
116
  msgid "Choose This Image"
117
  msgstr "Choisir cette image"
118
 
119
+ #: classes/wp-maintenance.php:500
120
  msgid "Choose Image"
121
  msgstr "Choisir une image"
122
 
123
+ #: classes/wp-maintenance.php:517 classes/wp-maintenance.php:525
124
+ #: classes/wp-maintenance.php:533 classes/wp-maintenance.php:542
125
+ #: classes/wp-maintenance.php:551 classes/wp-maintenance.php:560
126
+ #: classes/wp-maintenance.php:569 classes/wp-maintenance.php:578
127
+ #: classes/wp-maintenance.php:587
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
+ #: includes/functions.php:45 themes/default/functions.php:65
133
  msgid "Dashboard"
134
  msgstr "Tableau de bord"
135
 
225
  #: views/wp-maintenance-colors.php:152 views/wp-maintenance-colors.php:181
226
  #: views/wp-maintenance-colors.php:228 views/wp-maintenance-colors.php:273
227
  #: views/wp-maintenance-colors.php:342 views/wp-maintenance-countdown.php:51
228
+ #: views/wp-maintenance-countdown.php:88 views/wp-maintenance-countdown.php:131
229
  #: views/wp-maintenance-css.php:61 views/wp-maintenance-dashboard.php:56
230
  #: views/wp-maintenance-dashboard.php:81 views/wp-maintenance-dashboard.php:109
231
  #: views/wp-maintenance-footer.php:75 views/wp-maintenance-footer.php:98
233
  #: views/wp-maintenance-picture.php:198 views/wp-maintenance-seo.php:55
234
  #: views/wp-maintenance-seo.php:69 views/wp-maintenance-seo.php:88
235
  #: views/wp-maintenance-settings.php:106 views/wp-maintenance-settings.php:133
236
+ #: views/wp-maintenance-settings.php:168 views/wp-maintenance-settings.php:182
237
+ #: views/wp-maintenance-settings.php:196
238
  #: views/wp-maintenance-socialnetworks.php:68
239
+ #: views/wp-maintenance-socialnetworks.php:116
240
+ #: views/wp-maintenance-socialnetworks.php:179
241
+ #: views/wp-maintenance-socialnetworks.php:192
242
  msgid "Save"
243
  msgstr "Enregistrer"
244
 
419
  msgid "Select the launch date/time"
420
  msgstr "Sélectionner une date et heure de lancement"
421
 
422
+ #: views/wp-maintenance-countdown.php:85
423
  msgid "at"
424
  msgstr "à"
425
 
426
+ #: views/wp-maintenance-countdown.php:93
427
  msgid "Others Settings"
428
  msgstr "Autres paramètres"
429
 
430
+ #: views/wp-maintenance-countdown.php:96
431
  msgid "Enable seconds ?"
432
  msgstr "Afficher les secondes ?"
433
 
434
+ #: views/wp-maintenance-countdown.php:99
435
  msgid "Yes, enable seconds"
436
  msgstr "Oui, activer les secondes"
437
 
438
+ #: views/wp-maintenance-countdown.php:104
439
  msgid "Disable maintenance mode at the end of the countdown?"
440
  msgstr "Désactiver le mode maintenance à la fin du compte à rebours ?"
441
 
442
+ #: views/wp-maintenance-countdown.php:106
443
  msgid "Yes, disable maintenance mode at the end of countdown"
444
  msgstr "Oui, désactiver le mode maintenance à la fin du compte à rebours"
445
 
446
+ #: views/wp-maintenance-countdown.php:111
447
  msgid "End message after end countdown"
448
  msgstr "Message de fin après le compte à rebours"
449
 
450
+ #: views/wp-maintenance-countdown.php:153
451
  msgid "January"
452
  msgstr "Janvier"
453
 
454
+ #: views/wp-maintenance-countdown.php:153
455
  msgid "February"
456
  msgstr "Février"
457
 
458
+ #: views/wp-maintenance-countdown.php:153
459
  msgid "March"
460
  msgstr "Mars"
461
 
462
+ #: views/wp-maintenance-countdown.php:153
463
  msgid "April"
464
  msgstr "Avril"
465
 
466
+ #: views/wp-maintenance-countdown.php:153
467
  msgid "May"
468
  msgstr "Mai"
469
 
470
+ #: views/wp-maintenance-countdown.php:153
471
  msgid "June"
472
  msgstr "Juin"
473
 
474
+ #: views/wp-maintenance-countdown.php:153
475
  msgid "July"
476
  msgstr "Juillet"
477
 
478
+ #: views/wp-maintenance-countdown.php:153
479
  msgid "August"
480
  msgstr "Août"
481
 
482
+ #: views/wp-maintenance-countdown.php:153
483
  msgid "September"
484
  msgstr "Septembre"
485
 
486
+ #: views/wp-maintenance-countdown.php:153
487
  msgid "October"
488
  msgstr "Octobre"
489
 
490
+ #: views/wp-maintenance-countdown.php:153
491
  msgid "November"
492
  msgstr "Novembre"
493
 
494
+ #: views/wp-maintenance-countdown.php:153
495
  msgid "December"
496
  msgstr "Décembre"
497
 
498
+ #: views/wp-maintenance-countdown.php:155
499
  msgid "Sunday"
500
  msgstr "Dimanche"
501
 
502
+ #: views/wp-maintenance-countdown.php:155
503
  msgid "Monday"
504
  msgstr "Lundi"
505
 
506
+ #: views/wp-maintenance-countdown.php:155
507
  msgid "Tuesday"
508
  msgstr "Mardi"
509
 
510
+ #: views/wp-maintenance-countdown.php:155
511
  msgid "Wednesday"
512
  msgstr "Mercredi"
513
 
514
+ #: views/wp-maintenance-countdown.php:155
515
  msgid "Thurday"
516
  msgstr "Jeudi"
517
 
518
+ #: views/wp-maintenance-countdown.php:155
519
  msgid "Friday"
520
  msgstr "Vendredi"
521
 
522
+ #: views/wp-maintenance-countdown.php:155
523
  msgid "Saturday"
524
  msgstr "Samedi"
525
 
526
+ #: views/wp-maintenance-countdown.php:156
527
  msgid "Today"
528
  msgstr "Aujourd'hui"
529
 
530
+ #: views/wp-maintenance-countdown.php:157
531
  msgid "Delete"
532
  msgstr "Supprimer"
533
 
534
+ #: views/wp-maintenance-countdown.php:158
535
+ #: views/wp-maintenance-countdown.php:177
536
  msgid "Close"
537
  msgstr "Fermer"
538
 
539
+ #: views/wp-maintenance-countdown.php:161
540
  msgid "Next month"
541
  msgstr "Mois suivant"
542
 
543
+ #: views/wp-maintenance-countdown.php:162
544
  msgid "Previous month"
545
  msgstr "Mois précédent"
546
 
547
+ #: views/wp-maintenance-countdown.php:163
548
  msgid "Select a month"
549
  msgstr "Sélectionner un mois"
550
 
551
+ #: views/wp-maintenance-countdown.php:164
552
  msgid "Select a year"
553
  msgstr "Sélectionner une année"
554
 
717
  msgstr "Hauteur :"
718
 
719
  #: views/wp-maintenance-picture.php:97
720
+ #: views/wp-maintenance-socialnetworks.php:174
721
  msgid "You use this picture:"
722
  msgstr "Image actuelle :"
723
 
869
  "Autoriser l'affichage du site à ces adresses IP. Merci d'entrer 1 adresse IP "
870
  "par ligne"
871
 
872
+ #: views/wp-maintenance-settings.php:151 views/wp-maintenance-settings.php:160
873
+ #: views/wp-maintenance-settings.php:165
874
+ msgid "Enter one IP addresses here"
875
+ msgstr "Entrez une adresse IP ici"
876
+
877
+ #: views/wp-maintenance-settings.php:175
878
  msgid "ID pages autorized"
879
  msgstr "ID de pages autorisées"
880
 
881
+ #: views/wp-maintenance-settings.php:178
882
  msgid ""
883
  "Allow the site to display these ID pages. Please, enter the ID pages "
884
  "separate with comma"
886
  "Autoriser le site à afficher des pages d'ID. Merci d'entrer les ID de pages "
887
  "séparées par une virgule"
888
 
889
+ #: views/wp-maintenance-settings.php:189
890
  msgid "Header Code"
891
  msgstr "Code pour l’entête"
892
 
893
+ #: views/wp-maintenance-settings.php:192
894
  msgid ""
895
  "The following code will add to the <head> tag. Useful if you need to add "
896
  "additional scripts such as CSS or JS"
919
  msgstr ""
920
  "Cliquez et glisser les lignes pour mettre dans l'ordre que vous souhaitez"
921
 
922
+ #: views/wp-maintenance-socialnetworks.php:121
923
  msgid "Social Networks Style"
924
  msgstr "Style pour les réseaux sociaux"
925
 
926
+ #: views/wp-maintenance-socialnetworks.php:124
927
  msgid "Choose icons size"
928
  msgstr "Choisissez la taille des icônes"
929
 
930
+ #: views/wp-maintenance-socialnetworks.php:137
931
  msgid "Choose icons style"
932
  msgstr "Choisissez le style des icônes"
933
 
934
+ #: views/wp-maintenance-socialnetworks.php:153
935
  msgid "Position"
936
  msgstr "Position"
937
 
938
+ #: views/wp-maintenance-socialnetworks.php:155
939
  msgid "Top"
940
  msgstr "Haut"
941
 
942
+ #: views/wp-maintenance-socialnetworks.php:156
943
  msgid "Bottom"
944
  msgstr "Bas"
945
 
946
+ #: views/wp-maintenance-socialnetworks.php:161
947
  msgid "Align"
948
  msgstr "Alignement"
949
 
950
+ #: views/wp-maintenance-socialnetworks.php:163
951
  msgid "Left"
952
  msgstr "Gauche"
953
 
954
+ #: views/wp-maintenance-socialnetworks.php:164
955
  msgid "Center"
956
  msgstr "Centre"
957
 
958
+ #: views/wp-maintenance-socialnetworks.php:165
959
  msgid "Right"
960
  msgstr "Droite"
961
 
962
+ #: views/wp-maintenance-socialnetworks.php:170
963
  msgid "You have your own icons? Enter the folder name of your theme here"
964
  msgstr ""
965
  "Vous avez vos propres icônes ? Entrez le nom du dossier de votre thème ici"
966
 
967
+ #: views/wp-maintenance-socialnetworks.php:172
968
  msgid ""
969
  "In your icon's folder child theme, you must have the same names like mine, "
970
  "let's mouse over list icons for display picture's name. For example: "
973
  "noms que les miens, passez la souris sur la liste des icônes pour afficher "
974
  "le nom de l’image. Par exemple: "
975
 
976
+ #: views/wp-maintenance-socialnetworks.php:184
977
  msgid "Reset Social Networks Icons Options"
978
  msgstr "Réinitialiser les paramètres des icônes des réseaux sociaux"
979
 
980
+ #: views/wp-maintenance-socialnetworks.php:187
981
  msgid "Yes, reset Social Networks Icons?"
982
  msgstr "Oui, réinitialiser les icônes des réseaux sociaux?"
983
 
languages/wp-maintenance.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: WP Maintenance\n"
5
- "POT-Creation-Date: 2022-06-05 17:13+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"
@@ -11,7 +11,7 @@ msgstr ""
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=n>1;\n"
14
- "X-Generator: Poedit 3.0.1\n"
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-Basepath: ..\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
@@ -45,85 +45,85 @@ msgstr ""
45
  msgid "Follow me on"
46
  msgstr ""
47
 
48
- #: classes/wp-maintenance.php:262 classes/wp-maintenance.php:276
49
- #: classes/wp-maintenance.php:398 classes/wp-maintenance.php:428
50
  #: includes/functions.php:93
51
  msgid "Settings"
52
  msgstr ""
53
 
54
- #: classes/wp-maintenance.php:265
55
  msgid "Uninstall"
56
  msgstr ""
57
 
58
- #: classes/wp-maintenance.php:305 includes/functions.php:119
59
  msgid "WP Maintenance"
60
  msgstr ""
61
 
62
- #: classes/wp-maintenance.php:328
63
  msgid "Colors"
64
  msgstr ""
65
 
66
- #: classes/wp-maintenance.php:338 classes/wp-maintenance.php:422
67
  #: includes/functions.php:57
68
  msgid "Pictures"
69
  msgstr ""
70
 
71
- #: classes/wp-maintenance.php:348 includes/functions.php:63
72
  msgid "Countdown"
73
  msgstr ""
74
 
75
- #: classes/wp-maintenance.php:358 includes/functions.php:69
76
  msgid "CSS"
77
  msgstr ""
78
 
79
- #: classes/wp-maintenance.php:368 classes/wp-maintenance.php:427
80
  #: includes/functions.php:87
81
  msgid "Footer"
82
  msgstr ""
83
 
84
- #: classes/wp-maintenance.php:378 classes/wp-maintenance.php:425
85
  #: includes/functions.php:75
86
  msgid "SEO"
87
  msgstr ""
88
 
89
- #: classes/wp-maintenance.php:388 classes/wp-maintenance.php:426
90
  #: includes/functions.php:81
91
  msgid "Social Networks"
92
  msgstr ""
93
 
94
- #: classes/wp-maintenance.php:420
95
  msgid "General"
96
  msgstr ""
97
 
98
- #: classes/wp-maintenance.php:421
99
  msgid "Colors & Fonts"
100
  msgstr ""
101
 
102
- #: classes/wp-maintenance.php:423
103
  msgid "CountDown"
104
  msgstr ""
105
 
106
- #: classes/wp-maintenance.php:424
107
  msgid "CSS Style"
108
  msgstr ""
109
 
110
- #: classes/wp-maintenance.php:474
111
  msgid "Choose This Image"
112
  msgstr ""
113
 
114
- #: classes/wp-maintenance.php:475
115
  msgid "Choose Image"
116
  msgstr ""
117
 
118
- #: classes/wp-maintenance.php:492 classes/wp-maintenance.php:500
119
- #: classes/wp-maintenance.php:508 classes/wp-maintenance.php:517
120
- #: classes/wp-maintenance.php:526 classes/wp-maintenance.php:535
121
- #: classes/wp-maintenance.php:544 classes/wp-maintenance.php:553
122
- #: classes/wp-maintenance.php:562
123
  msgid "You do not have sufficient privileges to access this page."
124
  msgstr ""
125
 
126
- #: includes/functions.php:45 themes/default/functions.php:61
127
  msgid "Dashboard"
128
  msgstr ""
129
 
@@ -219,7 +219,7 @@ msgstr ""
219
  #: views/wp-maintenance-colors.php:152 views/wp-maintenance-colors.php:181
220
  #: views/wp-maintenance-colors.php:228 views/wp-maintenance-colors.php:273
221
  #: views/wp-maintenance-colors.php:342 views/wp-maintenance-countdown.php:51
222
- #: views/wp-maintenance-countdown.php:94 views/wp-maintenance-countdown.php:137
223
  #: views/wp-maintenance-css.php:61 views/wp-maintenance-dashboard.php:56
224
  #: views/wp-maintenance-dashboard.php:81 views/wp-maintenance-dashboard.php:109
225
  #: views/wp-maintenance-footer.php:75 views/wp-maintenance-footer.php:98
@@ -227,12 +227,12 @@ msgstr ""
227
  #: views/wp-maintenance-picture.php:198 views/wp-maintenance-seo.php:55
228
  #: views/wp-maintenance-seo.php:69 views/wp-maintenance-seo.php:88
229
  #: views/wp-maintenance-settings.php:106 views/wp-maintenance-settings.php:133
230
- #: views/wp-maintenance-settings.php:147 views/wp-maintenance-settings.php:161
231
- #: views/wp-maintenance-settings.php:175
232
  #: views/wp-maintenance-socialnetworks.php:68
233
- #: views/wp-maintenance-socialnetworks.php:135
234
- #: views/wp-maintenance-socialnetworks.php:198
235
- #: views/wp-maintenance-socialnetworks.php:211
236
  msgid "Save"
237
  msgstr ""
238
 
@@ -412,136 +412,136 @@ msgstr ""
412
  msgid "Select the launch date/time"
413
  msgstr ""
414
 
415
- #: views/wp-maintenance-countdown.php:91
416
  msgid "at"
417
  msgstr ""
418
 
419
- #: views/wp-maintenance-countdown.php:99
420
  msgid "Others Settings"
421
  msgstr ""
422
 
423
- #: views/wp-maintenance-countdown.php:102
424
  msgid "Enable seconds ?"
425
  msgstr ""
426
 
427
- #: views/wp-maintenance-countdown.php:105
428
  msgid "Yes, enable seconds"
429
  msgstr ""
430
 
431
- #: views/wp-maintenance-countdown.php:110
432
  msgid "Disable maintenance mode at the end of the countdown?"
433
  msgstr ""
434
 
435
- #: views/wp-maintenance-countdown.php:112
436
  msgid "Yes, disable maintenance mode at the end of countdown"
437
  msgstr ""
438
 
439
- #: views/wp-maintenance-countdown.php:117
440
  msgid "End message after end countdown"
441
  msgstr ""
442
 
443
- #: views/wp-maintenance-countdown.php:159
444
  msgid "January"
445
  msgstr ""
446
 
447
- #: views/wp-maintenance-countdown.php:159
448
  msgid "February"
449
  msgstr ""
450
 
451
- #: views/wp-maintenance-countdown.php:159
452
  msgid "March"
453
  msgstr ""
454
 
455
- #: views/wp-maintenance-countdown.php:159
456
  msgid "April"
457
  msgstr ""
458
 
459
- #: views/wp-maintenance-countdown.php:159
460
  msgid "May"
461
  msgstr ""
462
 
463
- #: views/wp-maintenance-countdown.php:159
464
  msgid "June"
465
  msgstr ""
466
 
467
- #: views/wp-maintenance-countdown.php:159
468
  msgid "July"
469
  msgstr ""
470
 
471
- #: views/wp-maintenance-countdown.php:159
472
  msgid "August"
473
  msgstr ""
474
 
475
- #: views/wp-maintenance-countdown.php:159
476
  msgid "September"
477
  msgstr ""
478
 
479
- #: views/wp-maintenance-countdown.php:159
480
  msgid "October"
481
  msgstr ""
482
 
483
- #: views/wp-maintenance-countdown.php:159
484
  msgid "November"
485
  msgstr ""
486
 
487
- #: views/wp-maintenance-countdown.php:159
488
  msgid "December"
489
  msgstr ""
490
 
491
- #: views/wp-maintenance-countdown.php:161
492
  msgid "Sunday"
493
  msgstr ""
494
 
495
- #: views/wp-maintenance-countdown.php:161
496
  msgid "Monday"
497
  msgstr ""
498
 
499
- #: views/wp-maintenance-countdown.php:161
500
  msgid "Tuesday"
501
  msgstr ""
502
 
503
- #: views/wp-maintenance-countdown.php:161
504
  msgid "Wednesday"
505
  msgstr ""
506
 
507
- #: views/wp-maintenance-countdown.php:161
508
  msgid "Thurday"
509
  msgstr ""
510
 
511
- #: views/wp-maintenance-countdown.php:161
512
  msgid "Friday"
513
  msgstr ""
514
 
515
- #: views/wp-maintenance-countdown.php:161
516
  msgid "Saturday"
517
  msgstr ""
518
 
519
- #: views/wp-maintenance-countdown.php:162
520
  msgid "Today"
521
  msgstr ""
522
 
523
- #: views/wp-maintenance-countdown.php:163
524
  msgid "Delete"
525
  msgstr ""
526
 
527
- #: views/wp-maintenance-countdown.php:164
528
- #: views/wp-maintenance-countdown.php:183
529
  msgid "Close"
530
  msgstr ""
531
 
532
- #: views/wp-maintenance-countdown.php:167
533
  msgid "Next month"
534
  msgstr ""
535
 
536
- #: views/wp-maintenance-countdown.php:168
537
  msgid "Previous month"
538
  msgstr ""
539
 
540
- #: views/wp-maintenance-countdown.php:169
541
  msgid "Select a month"
542
  msgstr ""
543
 
544
- #: views/wp-maintenance-countdown.php:170
545
  msgid "Select a year"
546
  msgstr ""
547
 
@@ -704,7 +704,7 @@ msgid "Height:"
704
  msgstr ""
705
 
706
  #: views/wp-maintenance-picture.php:97
707
- #: views/wp-maintenance-socialnetworks.php:193
708
  msgid "You use this picture:"
709
  msgstr ""
710
 
@@ -844,21 +844,26 @@ msgid ""
844
  "by line"
845
  msgstr ""
846
 
847
- #: views/wp-maintenance-settings.php:154
 
 
 
 
 
848
  msgid "ID pages autorized"
849
  msgstr ""
850
 
851
- #: views/wp-maintenance-settings.php:157
852
  msgid ""
853
  "Allow the site to display these ID pages. Please, enter the ID pages "
854
  "separate with comma"
855
  msgstr ""
856
 
857
- #: views/wp-maintenance-settings.php:168
858
  msgid "Header Code"
859
  msgstr ""
860
 
861
- #: views/wp-maintenance-settings.php:171
862
  msgid ""
863
  "The following code will add to the <head> tag. Useful if you need to add "
864
  "additional scripts such as CSS or JS"
@@ -884,60 +889,60 @@ msgstr ""
884
  msgid "Drad and drop the lines to put in the order you want"
885
  msgstr ""
886
 
887
- #: views/wp-maintenance-socialnetworks.php:140
888
  msgid "Social Networks Style"
889
  msgstr ""
890
 
891
- #: views/wp-maintenance-socialnetworks.php:143
892
  msgid "Choose icons size"
893
  msgstr ""
894
 
895
- #: views/wp-maintenance-socialnetworks.php:156
896
  msgid "Choose icons style"
897
  msgstr ""
898
 
899
- #: views/wp-maintenance-socialnetworks.php:172
900
  msgid "Position"
901
  msgstr ""
902
 
903
- #: views/wp-maintenance-socialnetworks.php:174
904
  msgid "Top"
905
  msgstr ""
906
 
907
- #: views/wp-maintenance-socialnetworks.php:175
908
  msgid "Bottom"
909
  msgstr ""
910
 
911
- #: views/wp-maintenance-socialnetworks.php:180
912
  msgid "Align"
913
  msgstr ""
914
 
915
- #: views/wp-maintenance-socialnetworks.php:182
916
  msgid "Left"
917
  msgstr ""
918
 
919
- #: views/wp-maintenance-socialnetworks.php:183
920
  msgid "Center"
921
  msgstr ""
922
 
923
- #: views/wp-maintenance-socialnetworks.php:184
924
  msgid "Right"
925
  msgstr ""
926
 
927
- #: views/wp-maintenance-socialnetworks.php:189
928
  msgid "You have your own icons? Enter the folder name of your theme here"
929
  msgstr ""
930
 
931
- #: views/wp-maintenance-socialnetworks.php:191
932
  msgid ""
933
  "In your icon's folder child theme, you must have the same names like mine, "
934
  "let's mouse over list icons for display picture's name. For example: "
935
  msgstr ""
936
 
937
- #: views/wp-maintenance-socialnetworks.php:203
938
  msgid "Reset Social Networks Icons Options"
939
  msgstr ""
940
 
941
- #: views/wp-maintenance-socialnetworks.php:206
942
  msgid "Yes, reset Social Networks Icons?"
943
  msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: WP Maintenance\n"
5
+ "POT-Creation-Date: 2022-06-25 15:55+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"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=n>1;\n"
14
+ "X-Generator: Poedit 3.1\n"
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-Basepath: ..\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
45
  msgid "Follow me on"
46
  msgstr ""
47
 
48
+ #: classes/wp-maintenance.php:287 classes/wp-maintenance.php:301
49
+ #: classes/wp-maintenance.php:423 classes/wp-maintenance.php:453
50
  #: includes/functions.php:93
51
  msgid "Settings"
52
  msgstr ""
53
 
54
+ #: classes/wp-maintenance.php:290
55
  msgid "Uninstall"
56
  msgstr ""
57
 
58
+ #: classes/wp-maintenance.php:330 includes/functions.php:119
59
  msgid "WP Maintenance"
60
  msgstr ""
61
 
62
+ #: classes/wp-maintenance.php:353
63
  msgid "Colors"
64
  msgstr ""
65
 
66
+ #: classes/wp-maintenance.php:363 classes/wp-maintenance.php:447
67
  #: includes/functions.php:57
68
  msgid "Pictures"
69
  msgstr ""
70
 
71
+ #: classes/wp-maintenance.php:373 includes/functions.php:63
72
  msgid "Countdown"
73
  msgstr ""
74
 
75
+ #: classes/wp-maintenance.php:383 includes/functions.php:69
76
  msgid "CSS"
77
  msgstr ""
78
 
79
+ #: classes/wp-maintenance.php:393 classes/wp-maintenance.php:452
80
  #: includes/functions.php:87
81
  msgid "Footer"
82
  msgstr ""
83
 
84
+ #: classes/wp-maintenance.php:403 classes/wp-maintenance.php:450
85
  #: includes/functions.php:75
86
  msgid "SEO"
87
  msgstr ""
88
 
89
+ #: classes/wp-maintenance.php:413 classes/wp-maintenance.php:451
90
  #: includes/functions.php:81
91
  msgid "Social Networks"
92
  msgstr ""
93
 
94
+ #: classes/wp-maintenance.php:445
95
  msgid "General"
96
  msgstr ""
97
 
98
+ #: classes/wp-maintenance.php:446
99
  msgid "Colors & Fonts"
100
  msgstr ""
101
 
102
+ #: classes/wp-maintenance.php:448
103
  msgid "CountDown"
104
  msgstr ""
105
 
106
+ #: classes/wp-maintenance.php:449
107
  msgid "CSS Style"
108
  msgstr ""
109
 
110
+ #: classes/wp-maintenance.php:499
111
  msgid "Choose This Image"
112
  msgstr ""
113
 
114
+ #: classes/wp-maintenance.php:500
115
  msgid "Choose Image"
116
  msgstr ""
117
 
118
+ #: classes/wp-maintenance.php:517 classes/wp-maintenance.php:525
119
+ #: classes/wp-maintenance.php:533 classes/wp-maintenance.php:542
120
+ #: classes/wp-maintenance.php:551 classes/wp-maintenance.php:560
121
+ #: classes/wp-maintenance.php:569 classes/wp-maintenance.php:578
122
+ #: classes/wp-maintenance.php:587
123
  msgid "You do not have sufficient privileges to access this page."
124
  msgstr ""
125
 
126
+ #: includes/functions.php:45 themes/default/functions.php:65
127
  msgid "Dashboard"
128
  msgstr ""
129
 
219
  #: views/wp-maintenance-colors.php:152 views/wp-maintenance-colors.php:181
220
  #: views/wp-maintenance-colors.php:228 views/wp-maintenance-colors.php:273
221
  #: views/wp-maintenance-colors.php:342 views/wp-maintenance-countdown.php:51
222
+ #: views/wp-maintenance-countdown.php:88 views/wp-maintenance-countdown.php:131
223
  #: views/wp-maintenance-css.php:61 views/wp-maintenance-dashboard.php:56
224
  #: views/wp-maintenance-dashboard.php:81 views/wp-maintenance-dashboard.php:109
225
  #: views/wp-maintenance-footer.php:75 views/wp-maintenance-footer.php:98
227
  #: views/wp-maintenance-picture.php:198 views/wp-maintenance-seo.php:55
228
  #: views/wp-maintenance-seo.php:69 views/wp-maintenance-seo.php:88
229
  #: views/wp-maintenance-settings.php:106 views/wp-maintenance-settings.php:133
230
+ #: views/wp-maintenance-settings.php:168 views/wp-maintenance-settings.php:182
231
+ #: views/wp-maintenance-settings.php:196
232
  #: views/wp-maintenance-socialnetworks.php:68
233
+ #: views/wp-maintenance-socialnetworks.php:116
234
+ #: views/wp-maintenance-socialnetworks.php:179
235
+ #: views/wp-maintenance-socialnetworks.php:192
236
  msgid "Save"
237
  msgstr ""
238
 
412
  msgid "Select the launch date/time"
413
  msgstr ""
414
 
415
+ #: views/wp-maintenance-countdown.php:85
416
  msgid "at"
417
  msgstr ""
418
 
419
+ #: views/wp-maintenance-countdown.php:93
420
  msgid "Others Settings"
421
  msgstr ""
422
 
423
+ #: views/wp-maintenance-countdown.php:96
424
  msgid "Enable seconds ?"
425
  msgstr ""
426
 
427
+ #: views/wp-maintenance-countdown.php:99
428
  msgid "Yes, enable seconds"
429
  msgstr ""
430
 
431
+ #: views/wp-maintenance-countdown.php:104
432
  msgid "Disable maintenance mode at the end of the countdown?"
433
  msgstr ""
434
 
435
+ #: views/wp-maintenance-countdown.php:106
436
  msgid "Yes, disable maintenance mode at the end of countdown"
437
  msgstr ""
438
 
439
+ #: views/wp-maintenance-countdown.php:111
440
  msgid "End message after end countdown"
441
  msgstr ""
442
 
443
+ #: views/wp-maintenance-countdown.php:153
444
  msgid "January"
445
  msgstr ""
446
 
447
+ #: views/wp-maintenance-countdown.php:153
448
  msgid "February"
449
  msgstr ""
450
 
451
+ #: views/wp-maintenance-countdown.php:153
452
  msgid "March"
453
  msgstr ""
454
 
455
+ #: views/wp-maintenance-countdown.php:153
456
  msgid "April"
457
  msgstr ""
458
 
459
+ #: views/wp-maintenance-countdown.php:153
460
  msgid "May"
461
  msgstr ""
462
 
463
+ #: views/wp-maintenance-countdown.php:153
464
  msgid "June"
465
  msgstr ""
466
 
467
+ #: views/wp-maintenance-countdown.php:153
468
  msgid "July"
469
  msgstr ""
470
 
471
+ #: views/wp-maintenance-countdown.php:153
472
  msgid "August"
473
  msgstr ""
474
 
475
+ #: views/wp-maintenance-countdown.php:153
476
  msgid "September"
477
  msgstr ""
478
 
479
+ #: views/wp-maintenance-countdown.php:153
480
  msgid "October"
481
  msgstr ""
482
 
483
+ #: views/wp-maintenance-countdown.php:153
484
  msgid "November"
485
  msgstr ""
486
 
487
+ #: views/wp-maintenance-countdown.php:153
488
  msgid "December"
489
  msgstr ""
490
 
491
+ #: views/wp-maintenance-countdown.php:155
492
  msgid "Sunday"
493
  msgstr ""
494
 
495
+ #: views/wp-maintenance-countdown.php:155
496
  msgid "Monday"
497
  msgstr ""
498
 
499
+ #: views/wp-maintenance-countdown.php:155
500
  msgid "Tuesday"
501
  msgstr ""
502
 
503
+ #: views/wp-maintenance-countdown.php:155
504
  msgid "Wednesday"
505
  msgstr ""
506
 
507
+ #: views/wp-maintenance-countdown.php:155
508
  msgid "Thurday"
509
  msgstr ""
510
 
511
+ #: views/wp-maintenance-countdown.php:155
512
  msgid "Friday"
513
  msgstr ""
514
 
515
+ #: views/wp-maintenance-countdown.php:155
516
  msgid "Saturday"
517
  msgstr ""
518
 
519
+ #: views/wp-maintenance-countdown.php:156
520
  msgid "Today"
521
  msgstr ""
522
 
523
+ #: views/wp-maintenance-countdown.php:157
524
  msgid "Delete"
525
  msgstr ""
526
 
527
+ #: views/wp-maintenance-countdown.php:158
528
+ #: views/wp-maintenance-countdown.php:177
529
  msgid "Close"
530
  msgstr ""
531
 
532
+ #: views/wp-maintenance-countdown.php:161
533
  msgid "Next month"
534
  msgstr ""
535
 
536
+ #: views/wp-maintenance-countdown.php:162
537
  msgid "Previous month"
538
  msgstr ""
539
 
540
+ #: views/wp-maintenance-countdown.php:163
541
  msgid "Select a month"
542
  msgstr ""
543
 
544
+ #: views/wp-maintenance-countdown.php:164
545
  msgid "Select a year"
546
  msgstr ""
547
 
704
  msgstr ""
705
 
706
  #: views/wp-maintenance-picture.php:97
707
+ #: views/wp-maintenance-socialnetworks.php:174
708
  msgid "You use this picture:"
709
  msgstr ""
710
 
844
  "by line"
845
  msgstr ""
846
 
847
+ #: views/wp-maintenance-settings.php:151 views/wp-maintenance-settings.php:160
848
+ #: views/wp-maintenance-settings.php:165
849
+ msgid "Enter one IP addresses here"
850
+ msgstr ""
851
+
852
+ #: views/wp-maintenance-settings.php:175
853
  msgid "ID pages autorized"
854
  msgstr ""
855
 
856
+ #: views/wp-maintenance-settings.php:178
857
  msgid ""
858
  "Allow the site to display these ID pages. Please, enter the ID pages "
859
  "separate with comma"
860
  msgstr ""
861
 
862
+ #: views/wp-maintenance-settings.php:189
863
  msgid "Header Code"
864
  msgstr ""
865
 
866
+ #: views/wp-maintenance-settings.php:192
867
  msgid ""
868
  "The following code will add to the <head> tag. Useful if you need to add "
869
  "additional scripts such as CSS or JS"
889
  msgid "Drad and drop the lines to put in the order you want"
890
  msgstr ""
891
 
892
+ #: views/wp-maintenance-socialnetworks.php:121
893
  msgid "Social Networks Style"
894
  msgstr ""
895
 
896
+ #: views/wp-maintenance-socialnetworks.php:124
897
  msgid "Choose icons size"
898
  msgstr ""
899
 
900
+ #: views/wp-maintenance-socialnetworks.php:137
901
  msgid "Choose icons style"
902
  msgstr ""
903
 
904
+ #: views/wp-maintenance-socialnetworks.php:153
905
  msgid "Position"
906
  msgstr ""
907
 
908
+ #: views/wp-maintenance-socialnetworks.php:155
909
  msgid "Top"
910
  msgstr ""
911
 
912
+ #: views/wp-maintenance-socialnetworks.php:156
913
  msgid "Bottom"
914
  msgstr ""
915
 
916
+ #: views/wp-maintenance-socialnetworks.php:161
917
  msgid "Align"
918
  msgstr ""
919
 
920
+ #: views/wp-maintenance-socialnetworks.php:163
921
  msgid "Left"
922
  msgstr ""
923
 
924
+ #: views/wp-maintenance-socialnetworks.php:164
925
  msgid "Center"
926
  msgstr ""
927
 
928
+ #: views/wp-maintenance-socialnetworks.php:165
929
  msgid "Right"
930
  msgstr ""
931
 
932
+ #: views/wp-maintenance-socialnetworks.php:170
933
  msgid "You have your own icons? Enter the folder name of your theme here"
934
  msgstr ""
935
 
936
+ #: views/wp-maintenance-socialnetworks.php:172
937
  msgid ""
938
  "In your icon's folder child theme, you must have the same names like mine, "
939
  "let's mouse over list icons for display picture's name. For example: "
940
  msgstr ""
941
 
942
+ #: views/wp-maintenance-socialnetworks.php:184
943
  msgid "Reset Social Networks Icons Options"
944
  msgstr ""
945
 
946
+ #: views/wp-maintenance-socialnetworks.php:187
947
  msgid "Yes, reset Social Networks Icons?"
948
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://paypal.me/restezconnectes/20/
4
  Tags: Maintenance, Construction, Launch, Coming soon
5
  Requires at least: 3.0
6
  Tested up to: 6.0
7
- Stable tag: 6.0.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -70,6 +70,10 @@ You can translate WP Maintenance on [__translate.wordpress.org__](https://transl
70
 
71
  == Changelog ==
72
 
 
 
 
 
73
  = 6.0.9 =
74
  * Bug IP autorized fixed
75
 
4
  Tags: Maintenance, Construction, Launch, Coming soon
5
  Requires at least: 3.0
6
  Tested up to: 6.0
7
+ Stable tag: 6.1.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
70
 
71
  == Changelog ==
72
 
73
+ = 6.1.0 =
74
+ * Bug User Role autorized fixed
75
+ * Change Ip Addresses settings
76
+
77
  = 6.0.9 =
78
  * Bug IP autorized fixed
79
 
views/wp-maintenance-settings.php CHANGED
@@ -9,9 +9,9 @@ if(isset($_POST['action']) && $_POST['action'] == 'update_settings' && wp_verify
9
  if(empty($_POST["wpoptions"]["pageperso"]) ) { $_POST["wpoptions"]["pageperso"] = 0; }
10
  if(empty($_POST["wpoptions"]["dashboard_delete_db"]) ) { $_POST["wpoptions"]["dashboard_delete_db"] = 0; }
11
  if(empty($_POST["wpoptions"]["error_503"]) ) { $_POST["wpoptions"]["error_503"] = 0; }
12
-
13
- update_option('wp_maintenance_limit', sanitize_text_field($_POST["wp_maintenance_limit"]));
14
- update_option('wp_maintenance_ipaddresses', sanitize_textarea_field($_POST["wp_maintenance_ipaddresses"]));
15
 
16
  $updateSetting = wpm_update_settings($_POST["wpoptions"], 'wp_maintenance_settings_options');
17
  if($updateSetting == true ) { $messageUpdate = 1; }
@@ -141,7 +141,29 @@ jQuery(document).ready(function() {
141
  </div>
142
  <div class="wp-maintenance-setting-row">
143
  <label for="wp_maintenance_ipaddresses" class="wp-maintenance-setting-row-title"><?php _e('Allow the site to display these IP addresses. Please, enter one IP address by line', 'wp-maintenance'); ?></label>
144
- <textarea name="wp_maintenance_ipaddresses" class="wp-maintenance-input" ROWS="5" style="width:80%;"><?php if(isset($paramIpAddress) && $paramIpAddress!='' ) { echo esc_textarea($paramIpAddress); } ?></textarea>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
  </div>
146
 
147
  <p class="submit"><button type="submit" name="footer_submit" id="footer_submit" class="wp-maintenance-button wp-maintenance-button-primary"><?php _e('Save', 'wp-maintenance'); ?></button></p>
@@ -176,6 +198,30 @@ jQuery(document).ready(function() {
176
  </form>
177
  </div>
178
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  </div>
180
  </div>
181
 
9
  if(empty($_POST["wpoptions"]["pageperso"]) ) { $_POST["wpoptions"]["pageperso"] = 0; }
10
  if(empty($_POST["wpoptions"]["dashboard_delete_db"]) ) { $_POST["wpoptions"]["dashboard_delete_db"] = 0; }
11
  if(empty($_POST["wpoptions"]["error_503"]) ) { $_POST["wpoptions"]["error_503"] = 0; }
12
+
13
+ $updateLimitSettings = wpm_update_settings($_POST["wp_maintenance_limit"], 'wp_maintenance_limit');
14
+ $updateIpAdressSettings = wpm_update_settings($_POST["wp_maintenance_ipaddresses"], 'wp_maintenance_ipaddresses');
15
 
16
  $updateSetting = wpm_update_settings($_POST["wpoptions"], 'wp_maintenance_settings_options');
17
  if($updateSetting == true ) { $messageUpdate = 1; }
141
  </div>
142
  <div class="wp-maintenance-setting-row">
143
  <label for="wp_maintenance_ipaddresses" class="wp-maintenance-setting-row-title"><?php _e('Allow the site to display these IP addresses. Please, enter one IP address by line', 'wp-maintenance'); ?></label>
144
+ <?php
145
+ if(isset($paramIpAddress) && $paramIpAddress!='' ) {
146
+
147
+ if( WPM_VERSION <= '6.0.9') {
148
+
149
+ $lienIpAddress = explode("\r\n", $paramIpAddress);
150
+ foreach($lienIpAddress as $ipAutorized) {
151
+ if($ipAutorized!='') {
152
+ echo '<input type="text" name="wp_maintenance_ipaddresses[]" size="80%" placeholder="'.__('Enter one IP addresses here', 'wp-maintenance').'" class="wp-maintenance-input" value="'.esc_html($ipAutorized).'"><br />';
153
+ }
154
+ }
155
+
156
+ } else {
157
+
158
+ foreach($paramIpAddress as $ipAutorized) {
159
+ if($ipAutorized!='') {
160
+ echo '<input type="text" name="wp_maintenance_ipaddresses[]" size="80%" placeholder="'.__('Enter one IP addresses here', 'wp-maintenance').'" class="wp-maintenance-input" value="'.esc_html($ipAutorized).'"><br />';
161
+ }
162
+ }
163
+ }
164
+ }
165
+ ?>
166
+ <input type="text" name="wp_maintenance_ipaddresses[]" size="80%" placeholder='<?php _e('Enter one IP addresses here', 'wp-maintenance'); ?>' class="wp-maintenance-input" value="">
167
  </div>
168
 
169
  <p class="submit"><button type="submit" name="footer_submit" id="footer_submit" class="wp-maintenance-button wp-maintenance-button-primary"><?php _e('Save', 'wp-maintenance'); ?></button></p>
198
  </form>
199
  </div>
200
 
201
+ <div class="wp-maintenance-module-options-block">
202
+ <div class="wp-maintenance-settings-section-header">
203
+ <h3 class="wp-maintenance-settings-section-title" id="module-import_export"><?php _e('Export / Import Settings', 'wp-maintenance'); ?></h3>
204
+ </div>
205
+ <div class="wp-maintenance-setting-row">
206
+ <label class="wp-maintenance-setting-row-title"><?php _e('Export Settings', 'wp-maintenance'); ?></label>
207
+ <form method="post">
208
+ <input type="hidden" name="wpm_action" value="export_settings" />
209
+ <?php wp_nonce_field( 'wpm_export_nonce', 'wpm_export_nonce' ); ?>
210
+ <?php submit_button( __( 'Export', 'wp-maintenance' ), 'wp-maintenance-button wp-maintenance-button-secondary', 'submit', false ); ?>
211
+ </form>
212
+ </div>
213
+
214
+ <div class="wp-maintenance-setting-row">
215
+ <label class="wp-maintenance-setting-row-title"><?php _e('Import the plugin settings from a .json file. This file can be obtained by exporting the settings on another site using the form above', 'wp-maintenance'); ?></label>
216
+ <form method="post" enctype="multipart/form-data">
217
+ <input type="hidden" name="wpm_action" value="import_settings" />
218
+ <input type="file" name="wpm_import_file"/>
219
+ <?php wp_nonce_field( 'wpm_import_nonce', 'wpm_import_nonce' ); ?><p>
220
+ <?php submit_button( __( 'Import', 'wp-maintenance' ), 'wp-maintenance-button wp-maintenance-button-secondary', 'submit', false ); ?></p>
221
+ </form>
222
+ </div>
223
+ </div>
224
+
225
  </div>
226
  </div>
227
 
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.9
9
  * Text Domain: wp-maintenance
10
  * Domain Path: /languages/
11
  */
@@ -37,7 +37,7 @@ define( 'WPM_PLUGIN_URL', plugins_url().'/'.strtolower('wp-maintenance').'/');
37
  define( 'WPM_ICONS_URL', plugins_url().'/'.strtolower('wp-maintenance').'/socialicons/');
38
  define( 'WPM_ADMIN_URL', admin_url().'admin.php?page=wp-maintenance'); //we assume the admin url is absolute with at least one querystring
39
 
40
- if( !defined( 'WPM_VERSION' )) { define( 'WPM_VERSION', '6.0.9' ); }
41
 
42
  require WPM_DIR . 'classes/wp-maintenance.php';
43
  require WPM_DIR . 'classes/countdown.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.1.0
9
  * Text Domain: wp-maintenance
10
  * Domain Path: /languages/
11
  */
37
  define( 'WPM_ICONS_URL', plugins_url().'/'.strtolower('wp-maintenance').'/socialicons/');
38
  define( 'WPM_ADMIN_URL', admin_url().'admin.php?page=wp-maintenance'); //we assume the admin url is absolute with at least one querystring
39
 
40
+ if( !defined( 'WPM_VERSION' )) { define( 'WPM_VERSION', '6.1.0' ); }
41
 
42
  require WPM_DIR . 'classes/wp-maintenance.php';
43
  require WPM_DIR . 'classes/countdown.php';