Groups - Version 2.6.1

Version Description

Download this release

Release Info

Developer itthinx
Plugin Icon 128x128 Groups
Version 2.6.1
Comparing to
See all releases

Code changes from version 2.6.0 to 2.6.1

changelog.txt CHANGED
@@ -1,5 +1,14 @@
1
  == Groups by itthinx - changelog.txt ==
2
 
 
 
 
 
 
 
 
 
 
3
  = 2.6.0 =
4
  * Tested for WordPress 5.1.
5
  * Added an option to filter by posts restricted by any group.
1
  == Groups by itthinx - changelog.txt ==
2
 
3
+ = 2.6.1 =
4
+ * Improved the useability of group and capability selection dropdowns.
5
+ * Fixed clash between group filter and group action on Users admin screen.
6
+ * Added an option to filter the Users screen to match users who belong to all chosen groups.
7
+ * German translation updated.
8
+ * Spanish translation updated.
9
+ * French translation updated (yet incomplete).
10
+ * Updated the minimum required PHP version.
11
+
12
  = 2.6.0 =
13
  * Tested for WordPress 5.1.
14
  * Added an option to filter by posts restricted by any group.
css/groups-uie.css ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * groups-uie.css
3
+ *
4
+ * Copyright (c) "kento" Karim Rahimpur www.itthinx.com
5
+ *
6
+ * This code is released under the GNU General Public License.
7
+ * See COPYRIGHT.txt and LICENSE.txt.
8
+ *
9
+ * This code is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * This header and all notices must be kept intact.
15
+ *
16
+ * @author Karim Rahimpur
17
+ * @package groups
18
+ * @since groups 2.6.1
19
+ */
20
+
21
+ .selectize-dropdown.groups,
22
+ .selectize-dropdown.groups-read,
23
+ .selectize-dropdown.capability {
24
+ width: auto !important;
25
+ }
26
+ .selectize-dropdown.groups .selectize-dropdown-content .option,
27
+ .selectize-dropdown.capability .selectize-dropdown-content .option {
28
+ text-align: initial;
29
+ }
groups.php CHANGED
@@ -21,7 +21,7 @@
21
  * Plugin Name: Groups
22
  * Plugin URI: http://www.itthinx.com/plugins/groups
23
  * Description: Groups provides group-based user membership management, group-based capabilities and content access control.
24
- * Version: 2.6.0
25
  * Author: itthinx
26
  * Author URI: http://www.itthinx.com
27
  * Donate-Link: http://www.itthinx.com
@@ -32,7 +32,7 @@
32
  if ( !defined( 'ABSPATH' ) ) {
33
  exit;
34
  }
35
- define( 'GROUPS_CORE_VERSION', '2.6.0' );
36
  define( 'GROUPS_FILE', __FILE__ );
37
  if ( !defined( 'GROUPS_CORE_DIR' ) ) {
38
  define( 'GROUPS_CORE_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
21
  * Plugin Name: Groups
22
  * Plugin URI: http://www.itthinx.com/plugins/groups
23
  * Description: Groups provides group-based user membership management, group-based capabilities and content access control.
24
+ * Version: 2.6.1
25
  * Author: itthinx
26
  * Author URI: http://www.itthinx.com
27
  * Donate-Link: http://www.itthinx.com
32
  if ( !defined( 'ABSPATH' ) ) {
33
  exit;
34
  }
35
+ define( 'GROUPS_CORE_VERSION', '2.6.1' );
36
  define( 'GROUPS_FILE', __FILE__ );
37
  if ( !defined( 'GROUPS_CORE_DIR' ) ) {
38
  define( 'GROUPS_CORE_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
languages/groups-de_DE.mo CHANGED
Binary file
languages/groups-de_DE.po CHANGED
@@ -7,8 +7,8 @@ msgid ""
7
  msgstr ""
8
  "Project-Id-Version: \n"
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2019-03-08 23:32+0100\n"
11
- "PO-Revision-Date: 2019-03-08 23:50+0100\n"
12
  "Last-Translator: Karim\n"
13
  "Language-Team: itthinx.com\n"
14
  "Language: de_DE\n"
@@ -24,6 +24,11 @@ msgctxt "paging"
24
  msgid "%1$s of %2$s"
25
  msgstr "%1$s von %2$s"
26
 
 
 
 
 
 
27
  #: legacy/admin/class-groups-admin-posts-legacy.php:184
28
  #: lib/admin/class-groups-admin-posts.php:217
29
  msgid "— No Change —"
@@ -41,7 +46,7 @@ msgstr "(keine)"
41
  msgid "(only unrestricted)"
42
  msgstr "(ohne Beschränkung)"
43
 
44
- #: lib/admin/class-groups-admin-users.php:368
45
  msgid "--"
46
  msgstr "--"
47
 
@@ -166,7 +171,7 @@ msgstr "Neue Kapazität"
166
  msgid "Add restriction"
167
  msgstr "Beschränkung hinzufügen"
168
 
169
- #: lib/admin/class-groups-admin-users.php:202
170
  msgid "Add to group"
171
  msgstr "Zur Gruppe hinzufügen"
172
 
@@ -230,7 +235,7 @@ msgstr ""
230
  msgid "Anyone …"
231
  msgstr "Jeder …"
232
 
233
- #: lib/admin/class-groups-admin-users.php:205
234
  #: lib/admin/groups-admin-capabilities.php:334
235
  #: lib/admin/groups-admin-capabilities.php:360
236
  #: lib/admin/groups-admin-capabilities.php:374
@@ -343,10 +348,10 @@ msgstr "Kapazitäten auswählen …"
343
  #: lib/admin/class-groups-admin-user-profile.php:81
344
  #: lib/admin/class-groups-admin-user-profile.php:169
345
  #: lib/admin/class-groups-admin-user-profile.php:170
346
- #: lib/admin/class-groups-admin-users.php:180
347
- #: lib/admin/class-groups-admin-users.php:181
348
- #: lib/admin/class-groups-admin-users.php:241
349
- #: lib/admin/class-groups-admin-users.php:242
350
  msgid "Choose groups …"
351
  msgstr "Gruppen auswählen …"
352
 
@@ -403,6 +408,10 @@ msgstr ""
403
  "Könnten Sie bitte eine Minute freimachen und eine Rezension auf WordPress."
404
  "org abgeben?"
405
 
 
 
 
 
406
  #: lib/admin/groups-admin-options.php:286
407
  msgid "Deactivation and data persistence"
408
  msgstr "Deaktivierung und Datenpersistenz"
@@ -496,7 +505,7 @@ msgstr ""
496
  msgid "Example:"
497
  msgstr "Beispiel:"
498
 
499
- #: lib/admin/class-groups-admin-users.php:269
500
  msgid "Filter"
501
  msgstr "Filtern"
502
 
@@ -536,11 +545,27 @@ msgstr ""
536
  "Gehen Sie auf <strong>Groups > Optionen</strong> und aktivieren Sie die "
537
  "Kapazität <em>premium</em> zur Zugangsbeschränkung."
538
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
539
  #: lib/admin/groups-admin-groups.php:304
540
  msgid "Group"
541
  msgstr "Gruppe"
542
 
543
- #: lib/admin/class-groups-admin-users.php:201
544
  msgid "Group Actions"
545
  msgstr "Gruppenaktionen"
546
 
@@ -564,7 +589,7 @@ msgstr "Gruppenname : %s"
564
  #: lib/admin/class-groups-admin-user-profile.php:72
565
  #: lib/admin/class-groups-admin-user-profile.php:135
566
  #: lib/admin/class-groups-admin-user-profile.php:159
567
- #: lib/admin/class-groups-admin-users.php:341
568
  #: lib/admin/class-groups-admin.php:245 lib/admin/class-groups-admin.php:246
569
  #: lib/admin/class-groups-admin.php:275 lib/core/class-groups-help.php:63
570
  #: lib/core/class-groups-help.php:68 lib/core/class-groups-help.php:69
@@ -1041,7 +1066,7 @@ msgstr "Kapazitäten löschen"
1041
  msgid "Remove capability"
1042
  msgstr "Kapazität löschen"
1043
 
1044
- #: lib/admin/class-groups-admin-users.php:203
1045
  msgid "Remove from group"
1046
  msgstr "Von der Gruppe entfernen"
1047
 
@@ -1366,6 +1391,10 @@ msgstr ""
1366
  msgid "User profiles"
1367
  msgstr "Benutzerprofile"
1368
 
 
 
 
 
1369
  #: legacy/access/class-groups-access-meta-boxes-legacy.php:141
1370
  msgid "Using the quick-create field"
1371
  msgstr "Verwendung des Instant-Feldes"
7
  msgstr ""
8
  "Project-Id-Version: \n"
9
  "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2019-04-15 21:53+0200\n"
11
+ "PO-Revision-Date: 2019-04-15 22:07+0200\n"
12
  "Last-Translator: Karim\n"
13
  "Language-Team: itthinx.com\n"
14
  "Language: de_DE\n"
24
  msgid "%1$s of %2$s"
25
  msgstr "%1$s von %2$s"
26
 
27
+ #: lib/admin/class-groups-admin-users.php:283
28
+ msgctxt "label for conjunctive groups filter checkbox"
29
+ msgid "&cap;"
30
+ msgstr "&cap;"
31
+
32
  #: legacy/admin/class-groups-admin-posts-legacy.php:184
33
  #: lib/admin/class-groups-admin-posts.php:217
34
  msgid "&mdash; No Change &mdash;"
46
  msgid "(only unrestricted)"
47
  msgstr "(ohne Beschränkung)"
48
 
49
+ #: lib/admin/class-groups-admin-users.php:384
50
  msgid "--"
51
  msgstr "--"
52
 
171
  msgid "Add restriction"
172
  msgstr "Beschränkung hinzufügen"
173
 
174
+ #: lib/admin/class-groups-admin-users.php:213
175
  msgid "Add to group"
176
  msgstr "Zur Gruppe hinzufügen"
177
 
235
  msgid "Anyone &hellip;"
236
  msgstr "Jeder &hellip;"
237
 
238
+ #: lib/admin/class-groups-admin-users.php:216
239
  #: lib/admin/groups-admin-capabilities.php:334
240
  #: lib/admin/groups-admin-capabilities.php:360
241
  #: lib/admin/groups-admin-capabilities.php:374
348
  #: lib/admin/class-groups-admin-user-profile.php:81
349
  #: lib/admin/class-groups-admin-user-profile.php:169
350
  #: lib/admin/class-groups-admin-user-profile.php:170
351
+ #: lib/admin/class-groups-admin-users.php:191
352
+ #: lib/admin/class-groups-admin-users.php:192
353
+ #: lib/admin/class-groups-admin-users.php:252
354
+ #: lib/admin/class-groups-admin-users.php:253
355
  msgid "Choose groups &hellip;"
356
  msgstr "Gruppen auswählen &hellip;"
357
 
408
  "Könnten Sie bitte eine Minute freimachen und eine Rezension auf WordPress."
409
  "org abgeben?"
410
 
411
+ #: lib/core/class-groups-pagination.php:133
412
+ msgid "Current page"
413
+ msgstr "Aktuelle Seite"
414
+
415
  #: lib/admin/groups-admin-options.php:286
416
  msgid "Deactivation and data persistence"
417
  msgstr "Deaktivierung und Datenpersistenz"
505
  msgid "Example:"
506
  msgstr "Beispiel:"
507
 
508
+ #: lib/admin/class-groups-admin-users.php:285
509
  msgid "Filter"
510
  msgstr "Filtern"
511
 
545
  "Gehen Sie auf <strong>Groups > Optionen</strong> und aktivieren Sie die "
546
  "Kapazität <em>premium</em> zur Zugangsbeschränkung."
547
 
548
+ #: lib/core/class-groups-pagination.php:117
549
+ msgid "Go to the first page"
550
+ msgstr "Zur ersten Seite"
551
+
552
+ #: lib/core/class-groups-pagination.php:151
553
+ msgid "Go to the last page"
554
+ msgstr "Zur letzten Seite"
555
+
556
+ #: lib/core/class-groups-pagination.php:144
557
+ msgid "Go to the next page"
558
+ msgstr "Zur nächsten Seite"
559
+
560
+ #: lib/core/class-groups-pagination.php:124
561
+ msgid "Go to the previous page"
562
+ msgstr "Zur vorigen Seite"
563
+
564
  #: lib/admin/groups-admin-groups.php:304
565
  msgid "Group"
566
  msgstr "Gruppe"
567
 
568
+ #: lib/admin/class-groups-admin-users.php:212
569
  msgid "Group Actions"
570
  msgstr "Gruppenaktionen"
571
 
589
  #: lib/admin/class-groups-admin-user-profile.php:72
590
  #: lib/admin/class-groups-admin-user-profile.php:135
591
  #: lib/admin/class-groups-admin-user-profile.php:159
592
+ #: lib/admin/class-groups-admin-users.php:357
593
  #: lib/admin/class-groups-admin.php:245 lib/admin/class-groups-admin.php:246
594
  #: lib/admin/class-groups-admin.php:275 lib/core/class-groups-help.php:63
595
  #: lib/core/class-groups-help.php:68 lib/core/class-groups-help.php:69
1066
  msgid "Remove capability"
1067
  msgstr "Kapazität löschen"
1068
 
1069
+ #: lib/admin/class-groups-admin-users.php:214
1070
  msgid "Remove from group"
1071
  msgstr "Von der Gruppe entfernen"
1072
 
1391
  msgid "User profiles"
1392
  msgstr "Benutzerprofile"
1393
 
1394
+ #: lib/admin/class-groups-admin-users.php:281
1395
+ msgid "Users must belong to all chosen groups"
1396
+ msgstr "Benutzer müssen Mitglied aller ausgewählten Gruppen sein"
1397
+
1398
  #: legacy/access/class-groups-access-meta-boxes-legacy.php:141
1399
  msgid "Using the quick-create field"
1400
  msgstr "Verwendung des Instant-Feldes"
languages/groups-es_ES.mo CHANGED
Binary file
languages/groups-es_ES.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Groups\n"
6
  "Report-Msgid-Bugs-To: \n"
7
- "POT-Creation-Date: 2019-03-08 23:32+0100\n"
8
- "PO-Revision-Date: 2019-03-08 23:56+0100\n"
9
  "Last-Translator: Karim\n"
10
  "Language-Team: itthinx.com\n"
11
  "Language: es_ES\n"
@@ -22,6 +22,11 @@ msgctxt "paging"
22
  msgid "%1$s of %2$s"
23
  msgstr "%1$s de %2$s"
24
 
 
 
 
 
 
25
  #: legacy/admin/class-groups-admin-posts-legacy.php:184
26
  #: lib/admin/class-groups-admin-posts.php:217
27
  msgid "&mdash; No Change &mdash;"
@@ -39,7 +44,7 @@ msgstr "(ninguno)"
39
  msgid "(only unrestricted)"
40
  msgstr "(sin restricción)"
41
 
42
- #: lib/admin/class-groups-admin-users.php:368
43
  msgid "--"
44
  msgstr "--"
45
 
@@ -164,7 +169,7 @@ msgstr "Añadir capacidad"
164
  msgid "Add restriction"
165
  msgstr "Añadir restricción"
166
 
167
- #: lib/admin/class-groups-admin-users.php:202
168
  msgid "Add to group"
169
  msgstr "Añadir a grupo"
170
 
@@ -228,7 +233,7 @@ msgstr ""
228
  msgid "Anyone &hellip;"
229
  msgstr "Todos &hellip;"
230
 
231
- #: lib/admin/class-groups-admin-users.php:205
232
  #: lib/admin/groups-admin-capabilities.php:334
233
  #: lib/admin/groups-admin-capabilities.php:360
234
  #: lib/admin/groups-admin-capabilities.php:374
@@ -339,10 +344,10 @@ msgstr "Elegir capacidades &hellip;"
339
  #: lib/admin/class-groups-admin-user-profile.php:81
340
  #: lib/admin/class-groups-admin-user-profile.php:169
341
  #: lib/admin/class-groups-admin-user-profile.php:170
342
- #: lib/admin/class-groups-admin-users.php:180
343
- #: lib/admin/class-groups-admin-users.php:181
344
- #: lib/admin/class-groups-admin-users.php:241
345
- #: lib/admin/class-groups-admin-users.php:242
346
  msgid "Choose groups &hellip;"
347
  msgstr "Elegir grupos &hellip;"
348
 
@@ -395,6 +400,10 @@ msgid ""
395
  "Could you please spare a minute and give it a review over at WordPress.org?"
396
  msgstr "¿Puede dejar una reseña en WordPress.org?"
397
 
 
 
 
 
398
  #: lib/admin/groups-admin-options.php:286
399
  msgid "Deactivation and data persistence"
400
  msgstr "Desactivación y persistencia de los datos"
@@ -486,7 +495,7 @@ msgstr ""
486
  msgid "Example:"
487
  msgstr "Ejemplo:"
488
 
489
- #: lib/admin/class-groups-admin-users.php:269
490
  msgid "Filter"
491
  msgstr "Filtrar"
492
 
@@ -526,11 +535,27 @@ msgstr ""
526
  "Dirígete a <strong>Groups > Opciones</strong> y activa la capacidad "
527
  "<em>premium</em> para restringir acceso."
528
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
529
  #: lib/admin/groups-admin-groups.php:304
530
  msgid "Group"
531
  msgstr "Grupo"
532
 
533
- #: lib/admin/class-groups-admin-users.php:201
534
  msgid "Group Actions"
535
  msgstr "Acciones de Grupo"
536
 
@@ -554,7 +579,7 @@ msgstr "Nombre del Grupo : %s"
554
  #: lib/admin/class-groups-admin-user-profile.php:72
555
  #: lib/admin/class-groups-admin-user-profile.php:135
556
  #: lib/admin/class-groups-admin-user-profile.php:159
557
- #: lib/admin/class-groups-admin-users.php:341
558
  #: lib/admin/class-groups-admin.php:245 lib/admin/class-groups-admin.php:246
559
  #: lib/admin/class-groups-admin.php:275 lib/core/class-groups-help.php:63
560
  #: lib/core/class-groups-help.php:68 lib/core/class-groups-help.php:69
@@ -1024,7 +1049,7 @@ msgstr "Eliminar capacidades"
1024
  msgid "Remove capability"
1025
  msgstr "Eliminar capacidad"
1026
 
1027
- #: lib/admin/class-groups-admin-users.php:203
1028
  msgid "Remove from group"
1029
  msgstr "Eliminar de un grupo"
1030
 
@@ -1344,6 +1369,10 @@ msgstr ""
1344
  msgid "User profiles"
1345
  msgstr "Perfiles de usuario"
1346
 
 
 
 
 
1347
  #: legacy/access/class-groups-access-meta-boxes-legacy.php:141
1348
  msgid "Using the quick-create field"
1349
  msgstr "Usando el campo de creación instantánea"
4
  msgstr ""
5
  "Project-Id-Version: Groups\n"
6
  "Report-Msgid-Bugs-To: \n"
7
+ "POT-Creation-Date: 2019-04-15 21:53+0200\n"
8
+ "PO-Revision-Date: 2019-04-15 22:09+0200\n"
9
  "Last-Translator: Karim\n"
10
  "Language-Team: itthinx.com\n"
11
  "Language: es_ES\n"
22
  msgid "%1$s of %2$s"
23
  msgstr "%1$s de %2$s"
24
 
25
+ #: lib/admin/class-groups-admin-users.php:283
26
+ msgctxt "label for conjunctive groups filter checkbox"
27
+ msgid "&cap;"
28
+ msgstr "&cap;"
29
+
30
  #: legacy/admin/class-groups-admin-posts-legacy.php:184
31
  #: lib/admin/class-groups-admin-posts.php:217
32
  msgid "&mdash; No Change &mdash;"
44
  msgid "(only unrestricted)"
45
  msgstr "(sin restricción)"
46
 
47
+ #: lib/admin/class-groups-admin-users.php:384
48
  msgid "--"
49
  msgstr "--"
50
 
169
  msgid "Add restriction"
170
  msgstr "Añadir restricción"
171
 
172
+ #: lib/admin/class-groups-admin-users.php:213
173
  msgid "Add to group"
174
  msgstr "Añadir a grupo"
175
 
233
  msgid "Anyone &hellip;"
234
  msgstr "Todos &hellip;"
235
 
236
+ #: lib/admin/class-groups-admin-users.php:216
237
  #: lib/admin/groups-admin-capabilities.php:334
238
  #: lib/admin/groups-admin-capabilities.php:360
239
  #: lib/admin/groups-admin-capabilities.php:374
344
  #: lib/admin/class-groups-admin-user-profile.php:81
345
  #: lib/admin/class-groups-admin-user-profile.php:169
346
  #: lib/admin/class-groups-admin-user-profile.php:170
347
+ #: lib/admin/class-groups-admin-users.php:191
348
+ #: lib/admin/class-groups-admin-users.php:192
349
+ #: lib/admin/class-groups-admin-users.php:252
350
+ #: lib/admin/class-groups-admin-users.php:253
351
  msgid "Choose groups &hellip;"
352
  msgstr "Elegir grupos &hellip;"
353
 
400
  "Could you please spare a minute and give it a review over at WordPress.org?"
401
  msgstr "¿Puede dejar una reseña en WordPress.org?"
402
 
403
+ #: lib/core/class-groups-pagination.php:133
404
+ msgid "Current page"
405
+ msgstr "Página actual"
406
+
407
  #: lib/admin/groups-admin-options.php:286
408
  msgid "Deactivation and data persistence"
409
  msgstr "Desactivación y persistencia de los datos"
495
  msgid "Example:"
496
  msgstr "Ejemplo:"
497
 
498
+ #: lib/admin/class-groups-admin-users.php:285
499
  msgid "Filter"
500
  msgstr "Filtrar"
501
 
535
  "Dirígete a <strong>Groups > Opciones</strong> y activa la capacidad "
536
  "<em>premium</em> para restringir acceso."
537
 
538
+ #: lib/core/class-groups-pagination.php:117
539
+ msgid "Go to the first page"
540
+ msgstr "Ir a la primera página"
541
+
542
+ #: lib/core/class-groups-pagination.php:151
543
+ msgid "Go to the last page"
544
+ msgstr "Ir a la última página"
545
+
546
+ #: lib/core/class-groups-pagination.php:144
547
+ msgid "Go to the next page"
548
+ msgstr "Ir a la siguiente página"
549
+
550
+ #: lib/core/class-groups-pagination.php:124
551
+ msgid "Go to the previous page"
552
+ msgstr "Ir a la página anterior"
553
+
554
  #: lib/admin/groups-admin-groups.php:304
555
  msgid "Group"
556
  msgstr "Grupo"
557
 
558
+ #: lib/admin/class-groups-admin-users.php:212
559
  msgid "Group Actions"
560
  msgstr "Acciones de Grupo"
561
 
579
  #: lib/admin/class-groups-admin-user-profile.php:72
580
  #: lib/admin/class-groups-admin-user-profile.php:135
581
  #: lib/admin/class-groups-admin-user-profile.php:159
582
+ #: lib/admin/class-groups-admin-users.php:357
583
  #: lib/admin/class-groups-admin.php:245 lib/admin/class-groups-admin.php:246
584
  #: lib/admin/class-groups-admin.php:275 lib/core/class-groups-help.php:63
585
  #: lib/core/class-groups-help.php:68 lib/core/class-groups-help.php:69
1049
  msgid "Remove capability"
1050
  msgstr "Eliminar capacidad"
1051
 
1052
+ #: lib/admin/class-groups-admin-users.php:214
1053
  msgid "Remove from group"
1054
  msgstr "Eliminar de un grupo"
1055
 
1369
  msgid "User profiles"
1370
  msgstr "Perfiles de usuario"
1371
 
1372
+ #: lib/admin/class-groups-admin-users.php:281
1373
+ msgid "Users must belong to all chosen groups"
1374
+ msgstr "Los usuarios deben ser miembros de los grupos seleccionados"
1375
+
1376
  #: legacy/access/class-groups-access-meta-boxes-legacy.php:141
1377
  msgid "Using the quick-create field"
1378
  msgstr "Usando el campo de creación instantánea"
languages/groups-fr_FR.mo CHANGED
Binary file
languages/groups-fr_FR.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Groups\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2019-03-08 23:32+0100\n"
6
- "PO-Revision-Date: 2019-03-08 23:58+0100\n"
7
  "Last-Translator: Stéphane PASSEDOUET <s.passedouet@pheeric.com>\n"
8
  "Language-Team: itthinx.com\n"
9
  "Language: fr_FR\n"
@@ -26,6 +26,11 @@ msgctxt "paging"
26
  msgid "%1$s of %2$s"
27
  msgstr "%1$s sur %2$s"
28
 
 
 
 
 
 
29
  # @ groups
30
  #: legacy/admin/class-groups-admin-posts-legacy.php:184
31
  #: lib/admin/class-groups-admin-posts.php:217
@@ -46,7 +51,7 @@ msgid "(only unrestricted)"
46
  msgstr "(seulement sans restriction)"
47
 
48
  # @ groups
49
- #: lib/admin/class-groups-admin-users.php:368
50
  msgid "--"
51
  msgstr "--"
52
 
@@ -189,7 +194,7 @@ msgid "Add restriction"
189
  msgstr "Ajouter une restriction"
190
 
191
  # @ groups
192
- #: lib/admin/class-groups-admin-users.php:202
193
  msgid "Add to group"
194
  msgstr "Ajouter au groupe"
195
 
@@ -215,7 +220,7 @@ msgstr "Administrer les Groupes"
215
  # @ groups
216
  #: lib/admin/groups-admin-options.php:52
217
  msgid "Administer Groups plugin options"
218
- msgstr "Administrer les Options du plugin &quot;Groups&quot;"
219
 
220
  # @ groups
221
  #: lib/admin/groups-admin-options.php:198
@@ -255,7 +260,7 @@ msgid "Anyone &hellip;"
255
  msgstr ""
256
 
257
  # @ groups
258
- #: lib/admin/class-groups-admin-users.php:205
259
  #: lib/admin/groups-admin-capabilities.php:334
260
  #: lib/admin/groups-admin-capabilities.php:360
261
  #: lib/admin/groups-admin-capabilities.php:374
@@ -378,10 +383,10 @@ msgstr "Choisissez les capacités &hellip;"
378
  #: lib/admin/class-groups-admin-user-profile.php:81
379
  #: lib/admin/class-groups-admin-user-profile.php:169
380
  #: lib/admin/class-groups-admin-user-profile.php:170
381
- #: lib/admin/class-groups-admin-users.php:180
382
- #: lib/admin/class-groups-admin-users.php:181
383
- #: lib/admin/class-groups-admin-users.php:241
384
- #: lib/admin/class-groups-admin-users.php:242
385
  msgid "Choose groups &hellip;"
386
  msgstr "Choisissez des Groupes &hellip;"
387
 
@@ -439,6 +444,11 @@ msgid ""
439
  "Could you please spare a minute and give it a review over at WordPress.org?"
440
  msgstr ""
441
 
 
 
 
 
 
442
  # @ groups
443
  #: lib/admin/groups-admin-options.php:286
444
  msgid "Deactivation and data persistence"
@@ -544,7 +554,7 @@ msgstr ""
544
  msgid "Example:"
545
  msgstr "Exemple :"
546
 
547
- #: lib/admin/class-groups-admin-users.php:269
548
  msgid "Filter"
549
  msgstr ""
550
 
@@ -589,13 +599,33 @@ msgstr ""
589
  "Allez à <strong>Groups > Options</strong> et activez la capacité "
590
  "<em>premium</em> pour restreindre l'accès."
591
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
592
  # @ groups
593
  #: lib/admin/groups-admin-groups.php:304
594
  msgid "Group"
595
  msgstr "Groupe"
596
 
597
  # @ groups
598
- #: lib/admin/class-groups-admin-users.php:201
599
  msgid "Group Actions"
600
  msgstr "Actions du Groupe"
601
 
@@ -622,7 +652,7 @@ msgstr "Nom du Groupe : %s"
622
  #: lib/admin/class-groups-admin-user-profile.php:72
623
  #: lib/admin/class-groups-admin-user-profile.php:135
624
  #: lib/admin/class-groups-admin-user-profile.php:159
625
- #: lib/admin/class-groups-admin-users.php:341
626
  #: lib/admin/class-groups-admin.php:245 lib/admin/class-groups-admin.php:246
627
  #: lib/admin/class-groups-admin.php:275 lib/core/class-groups-help.php:63
628
  #: lib/core/class-groups-help.php:68 lib/core/class-groups-help.php:69
@@ -683,7 +713,7 @@ msgstr ""
683
  # @ groups
684
  #: lib/admin/groups-admin-options.php:334
685
  msgid "Groups network options"
686
- msgstr "Options de réseau de l'extension &quot;Groups&quot;"
687
 
688
  # @ groups
689
  #: lib/admin/class-groups-admin.php:208
@@ -1107,7 +1137,7 @@ msgid "Remove capability"
1107
  msgstr "Supprimer une Capacité"
1108
 
1109
  # @ groups
1110
- #: lib/admin/class-groups-admin-users.php:203
1111
  msgid "Remove from group"
1112
  msgstr "Retirer du groupe"
1113
 
@@ -1349,7 +1379,7 @@ msgid ""
1349
  "permissions derived from Groups capabilities."
1350
  msgstr ""
1351
  "Ces autorisations concernent la gestion des Groupes. Elles ne se appliquent "
1352
- "pas aux autorisations d'accès liées aux capacités des Groupes. "
1353
 
1354
  #: lib/admin/class-groups-admin-welcome.php:219
1355
  msgid "This could be important!"
@@ -1366,7 +1396,7 @@ msgstr ""
1366
  # @ groups
1367
  #: lib/admin/groups-admin-groups.php:516
1368
  msgid "This group has no capabilities."
1369
- msgstr "Ce groupe n'a pas de capacités"
1370
 
1371
  #: lib/admin/class-groups-admin-welcome.php:215
1372
  msgid ""
@@ -1412,7 +1442,7 @@ msgstr "Arborescence des Groupes"
1412
  # @ groups
1413
  #: lib/admin/groups-admin-options.php:267
1414
  msgid "Tree view"
1415
- msgstr " Aperçu de l'Arborescence"
1416
 
1417
  # @ groups
1418
  #: legacy/access/class-groups-access-meta-boxes-legacy.php:153
@@ -1450,6 +1480,11 @@ msgstr ""
1450
  msgid "User profiles"
1451
  msgstr "Profils d'Utilisateurs"
1452
 
 
 
 
 
 
1453
  # @ groups
1454
  #: legacy/access/class-groups-access-meta-boxes-legacy.php:141
1455
  msgid "Using the quick-create field"
@@ -1491,17 +1526,17 @@ msgstr ""
1491
 
1492
  #: lib/admin/class-groups-admin-welcome.php:111
1493
  msgid "Welcome"
1494
- msgstr ""
1495
 
1496
  #: lib/admin/class-groups-admin-welcome.php:46
1497
  #: lib/admin/class-groups-admin-welcome.php:47
1498
  msgid "Welcome to Groups"
1499
- msgstr ""
1500
 
1501
  #: lib/admin/class-groups-admin-welcome.php:138
1502
  #, php-format
1503
  msgid "Welcome to Groups %s"
1504
- msgstr ""
1505
 
1506
  #: lib/admin/class-groups-admin-welcome.php:165
1507
  msgid "What's New?"
@@ -1635,26 +1670,6 @@ msgid ""
1635
  "restriction instead."
1636
  msgstr ""
1637
 
1638
- # @ default
1639
- #~ msgid "Go to the last page"
1640
- #~ msgstr "Accédez à la dernière page"
1641
-
1642
- # @ default
1643
- #~ msgid "Go to the next page"
1644
- #~ msgstr "Accédez à la page suivante"
1645
-
1646
- # @ default
1647
- #~ msgid "Current page"
1648
- #~ msgstr "Page actuelle"
1649
-
1650
- # @ default
1651
- #~ msgid "Go to the previous page"
1652
- #~ msgstr "Accéder à la page précédente"
1653
-
1654
- # @ default
1655
- #~ msgid "Go to the first page"
1656
- #~ msgstr "Accéder à la première page"
1657
-
1658
  # @ groups
1659
  #~ msgid "Capability Id"
1660
  #~ msgstr "Id de la Capacité"
2
  msgstr ""
3
  "Project-Id-Version: Groups\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2019-04-15 21:53+0200\n"
6
+ "PO-Revision-Date: 2019-04-15 22:14+0200\n"
7
  "Last-Translator: Stéphane PASSEDOUET <s.passedouet@pheeric.com>\n"
8
  "Language-Team: itthinx.com\n"
9
  "Language: fr_FR\n"
26
  msgid "%1$s of %2$s"
27
  msgstr "%1$s sur %2$s"
28
 
29
+ #: lib/admin/class-groups-admin-users.php:283
30
+ msgctxt "label for conjunctive groups filter checkbox"
31
+ msgid "&cap;"
32
+ msgstr "&cap;"
33
+
34
  # @ groups
35
  #: legacy/admin/class-groups-admin-posts-legacy.php:184
36
  #: lib/admin/class-groups-admin-posts.php:217
51
  msgstr "(seulement sans restriction)"
52
 
53
  # @ groups
54
+ #: lib/admin/class-groups-admin-users.php:384
55
  msgid "--"
56
  msgstr "--"
57
 
194
  msgstr "Ajouter une restriction"
195
 
196
  # @ groups
197
+ #: lib/admin/class-groups-admin-users.php:213
198
  msgid "Add to group"
199
  msgstr "Ajouter au groupe"
200
 
220
  # @ groups
221
  #: lib/admin/groups-admin-options.php:52
222
  msgid "Administer Groups plugin options"
223
+ msgstr "Administrer les Options du plugin Groups"
224
 
225
  # @ groups
226
  #: lib/admin/groups-admin-options.php:198
260
  msgstr ""
261
 
262
  # @ groups
263
+ #: lib/admin/class-groups-admin-users.php:216
264
  #: lib/admin/groups-admin-capabilities.php:334
265
  #: lib/admin/groups-admin-capabilities.php:360
266
  #: lib/admin/groups-admin-capabilities.php:374
383
  #: lib/admin/class-groups-admin-user-profile.php:81
384
  #: lib/admin/class-groups-admin-user-profile.php:169
385
  #: lib/admin/class-groups-admin-user-profile.php:170
386
+ #: lib/admin/class-groups-admin-users.php:191
387
+ #: lib/admin/class-groups-admin-users.php:192
388
+ #: lib/admin/class-groups-admin-users.php:252
389
+ #: lib/admin/class-groups-admin-users.php:253
390
  msgid "Choose groups &hellip;"
391
  msgstr "Choisissez des Groupes &hellip;"
392
 
444
  "Could you please spare a minute and give it a review over at WordPress.org?"
445
  msgstr ""
446
 
447
+ # @ default
448
+ #: lib/core/class-groups-pagination.php:133
449
+ msgid "Current page"
450
+ msgstr "Page actuelle"
451
+
452
  # @ groups
453
  #: lib/admin/groups-admin-options.php:286
454
  msgid "Deactivation and data persistence"
554
  msgid "Example:"
555
  msgstr "Exemple :"
556
 
557
+ #: lib/admin/class-groups-admin-users.php:285
558
  msgid "Filter"
559
  msgstr ""
560
 
599
  "Allez à <strong>Groups > Options</strong> et activez la capacité "
600
  "<em>premium</em> pour restreindre l'accès."
601
 
602
+ # @ default
603
+ #: lib/core/class-groups-pagination.php:117
604
+ msgid "Go to the first page"
605
+ msgstr "Accéder à la première page"
606
+
607
+ # @ default
608
+ #: lib/core/class-groups-pagination.php:151
609
+ msgid "Go to the last page"
610
+ msgstr "Accédez à la dernière page"
611
+
612
+ # @ default
613
+ #: lib/core/class-groups-pagination.php:144
614
+ msgid "Go to the next page"
615
+ msgstr "Accédez à la page suivante"
616
+
617
+ # @ default
618
+ #: lib/core/class-groups-pagination.php:124
619
+ msgid "Go to the previous page"
620
+ msgstr "Accéder à la page précédente"
621
+
622
  # @ groups
623
  #: lib/admin/groups-admin-groups.php:304
624
  msgid "Group"
625
  msgstr "Groupe"
626
 
627
  # @ groups
628
+ #: lib/admin/class-groups-admin-users.php:212
629
  msgid "Group Actions"
630
  msgstr "Actions du Groupe"
631
 
652
  #: lib/admin/class-groups-admin-user-profile.php:72
653
  #: lib/admin/class-groups-admin-user-profile.php:135
654
  #: lib/admin/class-groups-admin-user-profile.php:159
655
+ #: lib/admin/class-groups-admin-users.php:357
656
  #: lib/admin/class-groups-admin.php:245 lib/admin/class-groups-admin.php:246
657
  #: lib/admin/class-groups-admin.php:275 lib/core/class-groups-help.php:63
658
  #: lib/core/class-groups-help.php:68 lib/core/class-groups-help.php:69
713
  # @ groups
714
  #: lib/admin/groups-admin-options.php:334
715
  msgid "Groups network options"
716
+ msgstr "Options de réseau de l'extension Groups"
717
 
718
  # @ groups
719
  #: lib/admin/class-groups-admin.php:208
1137
  msgstr "Supprimer une Capacité"
1138
 
1139
  # @ groups
1140
+ #: lib/admin/class-groups-admin-users.php:214
1141
  msgid "Remove from group"
1142
  msgstr "Retirer du groupe"
1143
 
1379
  "permissions derived from Groups capabilities."
1380
  msgstr ""
1381
  "Ces autorisations concernent la gestion des Groupes. Elles ne se appliquent "
1382
+ "pas aux autorisations d'accès liées aux capacités des Groupes."
1383
 
1384
  #: lib/admin/class-groups-admin-welcome.php:219
1385
  msgid "This could be important!"
1396
  # @ groups
1397
  #: lib/admin/groups-admin-groups.php:516
1398
  msgid "This group has no capabilities."
1399
+ msgstr "Ce groupe n'a pas de capacités."
1400
 
1401
  #: lib/admin/class-groups-admin-welcome.php:215
1402
  msgid ""
1442
  # @ groups
1443
  #: lib/admin/groups-admin-options.php:267
1444
  msgid "Tree view"
1445
+ msgstr "Aperçu de l'Arborescence"
1446
 
1447
  # @ groups
1448
  #: legacy/access/class-groups-access-meta-boxes-legacy.php:153
1480
  msgid "User profiles"
1481
  msgstr "Profils d'Utilisateurs"
1482
 
1483
+ # @ groups
1484
+ #: lib/admin/class-groups-admin-users.php:281
1485
+ msgid "Users must belong to all chosen groups"
1486
+ msgstr "Les utilisateurs doivent être membres de tous les groupes choisis"
1487
+
1488
  # @ groups
1489
  #: legacy/access/class-groups-access-meta-boxes-legacy.php:141
1490
  msgid "Using the quick-create field"
1526
 
1527
  #: lib/admin/class-groups-admin-welcome.php:111
1528
  msgid "Welcome"
1529
+ msgstr "Bienvenue"
1530
 
1531
  #: lib/admin/class-groups-admin-welcome.php:46
1532
  #: lib/admin/class-groups-admin-welcome.php:47
1533
  msgid "Welcome to Groups"
1534
+ msgstr "Bienvenue aux Groups"
1535
 
1536
  #: lib/admin/class-groups-admin-welcome.php:138
1537
  #, php-format
1538
  msgid "Welcome to Groups %s"
1539
+ msgstr "Bienvenue aux Groups %s"
1540
 
1541
  #: lib/admin/class-groups-admin-welcome.php:165
1542
  msgid "What's New?"
1670
  "restriction instead."
1671
  msgstr ""
1672
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1673
  # @ groups
1674
  #~ msgid "Capability Id"
1675
  #~ msgstr "Id de la Capacité"
languages/groups.pot CHANGED
@@ -7,7 +7,7 @@
7
  msgid ""
8
  msgstr "Project-Id-Version: PACKAGE VERSION\n"
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2019-03-08 23:32+0100\n"
11
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -23,6 +23,11 @@ msgctxt "paging"
23
  msgid "%1$s of %2$s"
24
  msgstr ""
25
 
 
 
 
 
 
26
  #: legacy/admin/class-groups-admin-posts-legacy.php:184
27
  #: lib/admin/class-groups-admin-posts.php:217
28
  msgid "&mdash; No Change &mdash;"
@@ -40,7 +45,7 @@ msgstr ""
40
  msgid "(only unrestricted)"
41
  msgstr ""
42
 
43
- #: lib/admin/class-groups-admin-users.php:368
44
  msgid "--"
45
  msgstr ""
46
 
@@ -162,7 +167,7 @@ msgstr ""
162
  msgid "Add restriction"
163
  msgstr ""
164
 
165
- #: lib/admin/class-groups-admin-users.php:202
166
  msgid "Add to group"
167
  msgstr ""
168
 
@@ -214,7 +219,7 @@ msgstr ""
214
  msgid "Anyone &hellip;"
215
  msgstr ""
216
 
217
- #: lib/admin/class-groups-admin-users.php:205
218
  #: lib/admin/groups-admin-capabilities.php:334
219
  #: lib/admin/groups-admin-capabilities.php:360
220
  #: lib/admin/groups-admin-capabilities.php:374
@@ -310,10 +315,10 @@ msgstr ""
310
  #: lib/admin/class-groups-admin-user-profile.php:81
311
  #: lib/admin/class-groups-admin-user-profile.php:169
312
  #: lib/admin/class-groups-admin-user-profile.php:170
313
- #: lib/admin/class-groups-admin-users.php:180
314
- #: lib/admin/class-groups-admin-users.php:181
315
- #: lib/admin/class-groups-admin-users.php:241
316
- #: lib/admin/class-groups-admin-users.php:242
317
  msgid "Choose groups &hellip;"
318
  msgstr ""
319
 
@@ -358,6 +363,10 @@ msgid "Could you please spare a minute and give it a review over at "
358
  "WordPress.org?"
359
  msgstr ""
360
 
 
 
 
 
361
  #: lib/admin/groups-admin-options.php:286
362
  msgid "Deactivation and data persistence"
363
  msgstr ""
@@ -436,7 +445,7 @@ msgstr ""
436
  msgid "Example:"
437
  msgstr ""
438
 
439
- #: lib/admin/class-groups-admin-users.php:269
440
  msgid "Filter"
441
  msgstr ""
442
 
@@ -465,11 +474,27 @@ msgid "Go to <strong>Groups > Options</strong> and enable the <em>premium</"
465
  "em> capability to restrict access."
466
  msgstr ""
467
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
468
  #: lib/admin/groups-admin-groups.php:304
469
  msgid "Group"
470
  msgstr ""
471
 
472
- #: lib/admin/class-groups-admin-users.php:201
473
  msgid "Group Actions"
474
  msgstr ""
475
 
@@ -493,7 +518,7 @@ msgstr ""
493
  #: lib/admin/class-groups-admin-user-profile.php:72
494
  #: lib/admin/class-groups-admin-user-profile.php:135
495
  #: lib/admin/class-groups-admin-user-profile.php:159
496
- #: lib/admin/class-groups-admin-users.php:341
497
  #: lib/admin/class-groups-admin.php:245 lib/admin/class-groups-admin.php:246
498
  #: lib/admin/class-groups-admin.php:275 lib/core/class-groups-help.php:63
499
  #: lib/core/class-groups-help.php:68 lib/core/class-groups-help.php:69
@@ -894,7 +919,7 @@ msgstr ""
894
  msgid "Remove capability"
895
  msgstr ""
896
 
897
- #: lib/admin/class-groups-admin-users.php:203
898
  msgid "Remove from group"
899
  msgstr ""
900
 
@@ -1170,6 +1195,10 @@ msgstr ""
1170
  msgid "User profiles"
1171
  msgstr ""
1172
 
 
 
 
 
1173
  #: legacy/access/class-groups-access-meta-boxes-legacy.php:141
1174
  msgid "Using the quick-create field"
1175
  msgstr ""
7
  msgid ""
8
  msgstr "Project-Id-Version: PACKAGE VERSION\n"
9
  "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2019-04-15 21:53+0200\n"
11
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
23
  msgid "%1$s of %2$s"
24
  msgstr ""
25
 
26
+ #: lib/admin/class-groups-admin-users.php:283
27
+ msgctxt "label for conjunctive groups filter checkbox"
28
+ msgid "&cap;"
29
+ msgstr ""
30
+
31
  #: legacy/admin/class-groups-admin-posts-legacy.php:184
32
  #: lib/admin/class-groups-admin-posts.php:217
33
  msgid "&mdash; No Change &mdash;"
45
  msgid "(only unrestricted)"
46
  msgstr ""
47
 
48
+ #: lib/admin/class-groups-admin-users.php:384
49
  msgid "--"
50
  msgstr ""
51
 
167
  msgid "Add restriction"
168
  msgstr ""
169
 
170
+ #: lib/admin/class-groups-admin-users.php:213
171
  msgid "Add to group"
172
  msgstr ""
173
 
219
  msgid "Anyone &hellip;"
220
  msgstr ""
221
 
222
+ #: lib/admin/class-groups-admin-users.php:216
223
  #: lib/admin/groups-admin-capabilities.php:334
224
  #: lib/admin/groups-admin-capabilities.php:360
225
  #: lib/admin/groups-admin-capabilities.php:374
315
  #: lib/admin/class-groups-admin-user-profile.php:81
316
  #: lib/admin/class-groups-admin-user-profile.php:169
317
  #: lib/admin/class-groups-admin-user-profile.php:170
318
+ #: lib/admin/class-groups-admin-users.php:191
319
+ #: lib/admin/class-groups-admin-users.php:192
320
+ #: lib/admin/class-groups-admin-users.php:252
321
+ #: lib/admin/class-groups-admin-users.php:253
322
  msgid "Choose groups &hellip;"
323
  msgstr ""
324
 
363
  "WordPress.org?"
364
  msgstr ""
365
 
366
+ #: lib/core/class-groups-pagination.php:133
367
+ msgid "Current page"
368
+ msgstr ""
369
+
370
  #: lib/admin/groups-admin-options.php:286
371
  msgid "Deactivation and data persistence"
372
  msgstr ""
445
  msgid "Example:"
446
  msgstr ""
447
 
448
+ #: lib/admin/class-groups-admin-users.php:285
449
  msgid "Filter"
450
  msgstr ""
451
 
474
  "em> capability to restrict access."
475
  msgstr ""
476
 
477
+ #: lib/core/class-groups-pagination.php:117
478
+ msgid "Go to the first page"
479
+ msgstr ""
480
+
481
+ #: lib/core/class-groups-pagination.php:151
482
+ msgid "Go to the last page"
483
+ msgstr ""
484
+
485
+ #: lib/core/class-groups-pagination.php:144
486
+ msgid "Go to the next page"
487
+ msgstr ""
488
+
489
+ #: lib/core/class-groups-pagination.php:124
490
+ msgid "Go to the previous page"
491
+ msgstr ""
492
+
493
  #: lib/admin/groups-admin-groups.php:304
494
  msgid "Group"
495
  msgstr ""
496
 
497
+ #: lib/admin/class-groups-admin-users.php:212
498
  msgid "Group Actions"
499
  msgstr ""
500
 
518
  #: lib/admin/class-groups-admin-user-profile.php:72
519
  #: lib/admin/class-groups-admin-user-profile.php:135
520
  #: lib/admin/class-groups-admin-user-profile.php:159
521
+ #: lib/admin/class-groups-admin-users.php:357
522
  #: lib/admin/class-groups-admin.php:245 lib/admin/class-groups-admin.php:246
523
  #: lib/admin/class-groups-admin.php:275 lib/core/class-groups-help.php:63
524
  #: lib/core/class-groups-help.php:68 lib/core/class-groups-help.php:69
919
  msgid "Remove capability"
920
  msgstr ""
921
 
922
+ #: lib/admin/class-groups-admin-users.php:214
923
  msgid "Remove from group"
924
  msgstr ""
925
 
1195
  msgid "User profiles"
1196
  msgstr ""
1197
 
1198
+ #: lib/admin/class-groups-admin-users.php:281
1199
+ msgid "Users must belong to all chosen groups"
1200
+ msgstr ""
1201
+
1202
  #: legacy/access/class-groups-access-meta-boxes-legacy.php:141
1203
  msgid "Using the quick-create field"
1204
  msgstr ""
lib/admin/class-groups-admin-users.php CHANGED
@@ -81,18 +81,29 @@ class Groups_Admin_Users {
81
  public static function pre_user_query( $user_query ) {
82
  global $pagenow, $wpdb;
83
  if ( ( $pagenow == 'users.php' ) && empty( $_GET['page'] ) ) {
84
- if ( isset( $_REQUEST['group_ids'] ) && is_array( $_REQUEST['group_ids'] ) ) {
85
  $group_ids = array();
86
- foreach ( $_REQUEST['group_ids'] as $group_id ) {
87
  $group_id = Groups_Utility::id( $group_id );
88
  if ( $group_id !== false ) {
89
  $group_ids[] = $group_id;
90
  }
91
  }
92
- if ( count( $group_ids ) > 0 ) {
 
93
  $user_group_table = _groups_get_tablename( 'user_group' );
94
  $group_ids = implode( ',', esc_sql( $group_ids ) );
95
- $user_query->query_where .= " AND $wpdb->users.ID IN ( SELECT DISTINCT user_id FROM $user_group_table WHERE group_id IN ( $group_ids ) ) ";
 
 
 
 
 
 
 
 
 
 
96
  }
97
  }
98
  }
@@ -237,7 +248,7 @@ class Groups_Admin_Users {
237
  $output .= '<div class="groups-filter-container">';
238
  $output .= '<div class="groups-select-container">';
239
  $output .= sprintf(
240
- '<select id="filter-groups" class="groups" name="group_ids[]" multiple="multiple" placeholder="%s" data-placeholder="%s">',
241
  esc_attr( __( 'Choose groups &hellip;', 'groups' ) ) ,
242
  esc_attr( __( 'Choose groups &hellip;', 'groups' ) )
243
  );
@@ -255,7 +266,7 @@ class Groups_Admin_Users {
255
  // as it creates a lot of unneccessary objects and can lead
256
  // to out of memory issues on large user bases.
257
  $user_count = isset( $user_counts[$group->group_id] ) ? $user_counts[$group->group_id] : 0;
258
- $selected = isset( $_REQUEST['group_ids'] ) && is_array( $_REQUEST['group_ids'] ) && in_array( $group->group_id, $_REQUEST['group_ids'] );
259
  $output .= sprintf(
260
  '<option value="%d" %s>%s</option>',
261
  Groups_Utility::id( $group->group_id ),
@@ -266,7 +277,12 @@ class Groups_Admin_Users {
266
  $output .= '</select>';
267
  $output .= '</div>'; // .groups-select-container
268
  $output .= '</div>'; // .groups-filter-container
269
- $output .= '<input class="button" type="submit" value="' . esc_attr( __( 'Filter', 'groups' ) ) . '"/>';
 
 
 
 
 
270
  $output .= '</form>';
271
  $output .= Groups_UIE::render_select( '#filter-groups' );
272
  $views['groups'] = $output;
81
  public static function pre_user_query( $user_query ) {
82
  global $pagenow, $wpdb;
83
  if ( ( $pagenow == 'users.php' ) && empty( $_GET['page'] ) ) {
84
+ if ( isset( $_REQUEST['filter_group_ids'] ) && is_array( $_REQUEST['filter_group_ids'] ) ) {
85
  $group_ids = array();
86
+ foreach ( $_REQUEST['filter_group_ids'] as $group_id ) {
87
  $group_id = Groups_Utility::id( $group_id );
88
  if ( $group_id !== false ) {
89
  $group_ids[] = $group_id;
90
  }
91
  }
92
+ $n = count( $group_ids );
93
+ if ( $n > 0 ) {
94
  $user_group_table = _groups_get_tablename( 'user_group' );
95
  $group_ids = implode( ',', esc_sql( $group_ids ) );
96
+ $conjunctive = !empty( $_REQUEST['filter_groups_conjunctive'] );
97
+ if ( !$conjunctive ) {
98
+ $user_query->query_where .= " AND $wpdb->users.ID IN ( SELECT DISTINCT user_id FROM $user_group_table WHERE group_id IN ( $group_ids ) ) ";
99
+ } else {
100
+ $user_query->query_where .=
101
+ " AND $wpdb->users.ID IN ( " .
102
+ "SELECT user_id FROM ( " .
103
+ "SELECT user_id, COUNT( group_id ) AS n FROM $user_group_table WHERE group_id IN ( $group_ids ) GROUP BY user_id " .
104
+ ") group_counts WHERE n = " . intval( $n ) .
105
+ ") ";
106
+ }
107
  }
108
  }
109
  }
248
  $output .= '<div class="groups-filter-container">';
249
  $output .= '<div class="groups-select-container">';
250
  $output .= sprintf(
251
+ '<select id="filter-groups" class="groups" name="filter_group_ids[]" multiple="multiple" placeholder="%s" data-placeholder="%s">',
252
  esc_attr( __( 'Choose groups &hellip;', 'groups' ) ) ,
253
  esc_attr( __( 'Choose groups &hellip;', 'groups' ) )
254
  );
266
  // as it creates a lot of unneccessary objects and can lead
267
  // to out of memory issues on large user bases.
268
  $user_count = isset( $user_counts[$group->group_id] ) ? $user_counts[$group->group_id] : 0;
269
+ $selected = isset( $_REQUEST['filter_group_ids'] ) && is_array( $_REQUEST['filter_group_ids'] ) && in_array( $group->group_id, $_REQUEST['filter_group_ids'] );
270
  $output .= sprintf(
271
  '<option value="%d" %s>%s</option>',
272
  Groups_Utility::id( $group->group_id ),
277
  $output .= '</select>';
278
  $output .= '</div>'; // .groups-select-container
279
  $output .= '</div>'; // .groups-filter-container
280
+ $conjunctive = !empty( $_REQUEST['filter_groups_conjunctive'] );
281
+ $output .= sprintf( '<label title="%s" style="margin-right: 4px;">', esc_html__( 'Users must belong to all chosen groups', 'label title for conjunctive groups filter checkbox', 'groups' ) );
282
+ $output .= sprintf( '<input class="filter-groups-conjunctive" name="filter_groups_conjunctive" type="checkbox" value="1" %s />', $conjunctive ? ' checked="checked" ' : '' );
283
+ $output .= esc_html_x( '&cap;', 'label for conjunctive groups filter checkbox', 'groups' );
284
+ $output .= '</label>';
285
+ $output .= '<input class="button" style="vertical-align:middle" type="submit" value="' . esc_attr( __( 'Filter', 'groups' ) ) . '"/>';
286
  $output .= '</form>';
287
  $output .= Groups_UIE::render_select( '#filter-groups' );
288
  $views['groups'] = $output;
lib/views/class-groups-uie.php CHANGED
@@ -74,6 +74,9 @@ class Groups_UIE {
74
  if ( !wp_style_is( 'selectize' ) ) {
75
  wp_enqueue_style( 'selectize', GROUPS_PLUGIN_URL . 'css/selectize/selectize.bootstrap2.css', array(), $groups_version );
76
  }
 
 
 
77
  break;
78
  }
79
  break;
74
  if ( !wp_style_is( 'selectize' ) ) {
75
  wp_enqueue_style( 'selectize', GROUPS_PLUGIN_URL . 'css/selectize/selectize.bootstrap2.css', array(), $groups_version );
76
  }
77
+ if ( !wp_style_is( 'groups-uie' ) ) {
78
+ wp_enqueue_style( 'groups-uie', GROUPS_PLUGIN_URL . 'css/groups-uie.css', array(), $groups_version );
79
+ }
80
  break;
81
  }
82
  break;
readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: http://www.itthinx.com/plugins/groups
4
  Tags: groups, access, access control, membership, memberships, member, members, capability, capabilities, content, download, downloads, file, file access, files, paypal, permission, permissions, subscription, subscriptions, woocommerce
5
  Requires at least: 4.6
6
  Tested up to: 5.1
7
- Requires PHP: 5.5.38
8
- Stable tag: 2.6.0
9
  License: GPLv3
10
 
11
  Groups is an efficient and powerful solution, providing group-based user membership management, group-based capabilities and content access control.
@@ -190,15 +190,7 @@ See also the [Groups Documentation](http://docs.itthinx.com/document/groups/) pa
190
 
191
  == Changelog ==
192
 
193
- = 2.6.0 =
194
- * Tested for WordPress 5.1.
195
- * Added an option to filter by posts restricted by any group.
196
- * Added an option to filter by posts restricted by no group.
197
- * Removed an option to filter by only unrestricted posts which didn't work.
198
- * Improved groups column header fitting on post admin screens.
199
- * Fixed a notice when a user has no groups assigned.
200
-
201
- For the full changelog see the [changelog.txt](https://github.com/itthinx/groups/blob/master/changelog.txt).
202
 
203
  == Upgrade Notice ==
204
 
4
  Tags: groups, access, access control, membership, memberships, member, members, capability, capabilities, content, download, downloads, file, file access, files, paypal, permission, permissions, subscription, subscriptions, woocommerce
5
  Requires at least: 4.6
6
  Tested up to: 5.1
7
+ Requires PHP: 5.6.0
8
+ Stable tag: 2.6.1
9
  License: GPLv3
10
 
11
  Groups is an efficient and powerful solution, providing group-based user membership management, group-based capabilities and content access control.
190
 
191
  == Changelog ==
192
 
193
+ For the full changelog see [changelog.txt](https://github.com/itthinx/groups/blob/master/changelog.txt).
 
 
 
 
 
 
 
 
194
 
195
  == Upgrade Notice ==
196