Skip to content

Commit

Permalink
Merge pull request #1060 from publishpress/release-4.0.19
Browse files Browse the repository at this point in the history
Release 4.0.19
  • Loading branch information
agapetry authored Feb 29, 2024
2 parents adf6190 + 29128df commit f2413be
Show file tree
Hide file tree
Showing 11 changed files with 2,028 additions and 1,306 deletions.
2 changes: 1 addition & 1 deletion classes/PublishPress/Permissions/DB/Groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ public static function getGroupsForUser($user, $args = [])
$ckey = $user_id . $args_key;
$return_groups = (isset($user_groups_md[$agent_type][$ckey])) ? $user_groups_md[$agent_type][$ckey] : [];

if ('all' != $cols) {
if ('all' != $args['cols']) {
// Filter results
$return_groups = apply_filters(
'presspermit_get_pp_groups_for_user',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ public static function fltUsersColumns($defaults)
);

unset($defaults['role']);
unset($defaults['bbp_user_role']);

if (defined('PRESSPERMIT_USERS_HIDE_BBP_ROLE')) {
unset($defaults['bbp_user_role']);
}

$title = esc_html__('Click to show only users who have specific permissions', 'press-permit-core');
$style = (!PWP::empty_REQUEST('pp_has_exceptions')) ? 'style="font-weight:bold; color:black"' : '';
Expand Down
Binary file modified languages/press-permit-core-es_ES.mo
Binary file not shown.
1,047 changes: 639 additions & 408 deletions languages/press-permit-core-es_ES.po

Large diffs are not rendered by default.

Binary file modified languages/press-permit-core-fr_FR.mo
Binary file not shown.
1,227 changes: 731 additions & 496 deletions languages/press-permit-core-fr_FR.po

Large diffs are not rendered by default.

Binary file modified languages/press-permit-core-it_IT.mo
Binary file not shown.
1,028 changes: 638 additions & 390 deletions languages/press-permit-core-it_IT.po

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions languages/press-permit-core.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the same license as the PublishPress Permissions plugin.
msgid ""
msgstr ""
"Project-Id-Version: PublishPress Permissions 4.0.18\n"
"Project-Id-Version: PublishPress Permissions 4.0.19\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-02-26T19:40:58+00:00\n"
"POT-Creation-Date: 2024-02-29T20:04:17+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.8.1\n"
"X-Domain: press-permit-core\n"
Expand Down Expand Up @@ -1254,15 +1254,15 @@ msgstr ""
msgid "Roles %1$s*%2$s"
msgstr ""

#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:109
#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:112
msgid "Click to show only users who have specific permissions"
msgstr ""

#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:113
#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:116
msgid "Specific Permissions %1$s*%2$s"
msgstr ""

#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:252
#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:255
msgid "%s more"
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions press-permit-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Advanced yet accessible content permissions. Give users or groups type-specific roles. Enable or block access for specific posts or terms.
* Author: PublishPress
* Author URI: https://publishpress.com/
* Version: 4.0.18
* Version: 4.0.19
* Text Domain: press-permit-core
* Domain Path: /languages/
* Requires at least: 5.5
Expand Down Expand Up @@ -202,7 +202,7 @@ function presspermit_load() {
return;
}

define('PRESSPERMIT_VERSION', '4.0.18');
define('PRESSPERMIT_VERSION', '4.0.19');

if (!defined('PRESSPERMIT_READ_PUBLIC_CAP')) {
define('PRESSPERMIT_READ_PUBLIC_CAP', 'read');
Expand Down
11 changes: 8 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: restrict, access, permissions, cms, user, private, category, pages, privac
Requires at least: 5.5
Tested up to: 6.4
Requires PHP: 7.2.5
Stable tag: 4.0.18
Stable tag: 4.0.19
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -240,7 +240,12 @@ Yes, we use the phrase "publishpress-ppcore-install" to share install links. You

== Changelog ==

= 4.0.18 - 22 Feb 2024 =
= 4.0.19 - 29 Feb 2024 =
* API : Function pp_get_groups_for_user() no longer defaulted to returning group objects
* Compat : bbPress - Forum Role column on Users screen was hidden
* Lang : Upate ES, FR, IT translations

= 4.0.18 - 27 Feb 2024 =
* Perf : Eliminated scan of users table on plugin activation (impacting sites with large number of users)
* Perf : Eliminated recursive query of subpages (impacting sites with complex page hierarchies)
* Perf : Improved caching of post capability checks
Expand All @@ -256,7 +261,7 @@ Yes, we use the phrase "publishpress-ppcore-install" to share install links. You
* Fixed : Legacy Nav Menu Management - Limited Nav Menu editors saw uneditable menus in dropdown on Menus management screen
* Fixed : Legacy Nav Menu Management filters interfered with front end filtering under some conditions
* Fixed : Sanity check to prevent excessive version history logging if installed plugin's version tags or version tag storage is incorrect
* Fixed : Terms were inappropriately auto-assigned under some conditions\
* Fixed : Terms were inappropriately auto-assigned under some conditions
* Change : Permissions > Settings > Editing option to disable auto-assignment of terms (when default term is not selectable). Note: Auto-assignment is required for some term-restricted editing configurations.
* Change : Auto-assign a term only if no default terms are selectable and the user's editing access is modified by term-specific Permissions
* Change : Never auto-assign a term to front page or posts page
Expand Down

0 comments on commit f2413be

Please sign in to comment.