diff --git a/classes/PublishPress/Permissions.php b/classes/PublishPress/Permissions.php
index 5253a9cf..bd4bf5f3 100644
--- a/classes/PublishPress/Permissions.php
+++ b/classes/PublishPress/Permissions.php
@@ -243,6 +243,7 @@ private function load($args = [])
'suppress_administrator_metagroups' => 0,
'users_bulk_groups' => 1,
'limit_front_end_term_filtering' => 0,
+ 'list_all_constants' => 0,
];
$this->default_advanced_options = apply_filters('presspermit_default_advanced_options', $this->default_advanced_options);
diff --git a/classes/PublishPress/Permissions/Constants.php b/classes/PublishPress/Permissions/Constants.php
index f9983563..10789480 100644
--- a/classes/PublishPress/Permissions/Constants.php
+++ b/classes/PublishPress/Permissions/Constants.php
@@ -9,6 +9,8 @@ class Constants
public $constants_by_type = [];
public function __construct() {
+ do_action('presspermit_load_constants');
+
$this->loadConstants();
$this->loadConstantTypes();
}
@@ -38,8 +40,22 @@ private function loadConstants() {
'PP_FUTURE_POSTS_BLOGROLL' => esc_html__("Include scheduled posts in the posts query if user can edit them", 'press-permit-core-hints'),
'PP_UNFILTERED_TERM_COUNTS' => esc_html__("Don't filter term post counts in get_terms() call", 'press-permit-core-hints'),
'PP_DISABLE_NAV_MENU_FILTER' => esc_html__("Leave unreadable posts on WP Navigation Menus", 'press-permit-core-hints'),
+ 'PRESSPERMIT_NO_NAV_MENU_SCRIPTS' => esc_html__("Don't apply CSS to hide empty Nav Menus", 'press-permit-core-hints'),
+ 'PRESSPERMIT_HIDE_EMPTY_NAV_MENU_DIV' => esc_html__("For legacy Nav Menus, hide empty nav menu div", 'press-permit-core-hints'),
'PP_NAV_MENU_SHOW_EMPTY_TERMS' => esc_html__("Leave terms with no readable posts on WP Navigation Menus", 'press-permit-core-hints'),
];
+
+if (defined('PRESSPERMIT_TEASER_VERSION')) {
+ $consts = array_merge(
+ $consts,
+ [
+ 'PRESSPERMIT_TEASER_REDIRECT_ARG' => esc_html__("When Teaser is applied with Redirect enabled, append original url as redirect_to argument", 'press-permit-core-hints'),
+ 'PRESSPERMIT_TEASER_REDIRECT_VAR' => esc_html__("For Teaser compatibility, specify a redirect argument to use instead of redirect_to", 'press-permit-core-hints'),
+ 'PRESSPERMIT_TEASER_REDIRECT_ALTERNATE' => esc_html__("For Teaser compatibility, specify an additional redirect argument other than redirect_to", 'press-permit-core-hints'),
+ 'PRESSPERMIT_TEASER_LOGIN_REDIRECT_NO_PP_ARG' => esc_html__("For Teaser compatibility, prevent the pp_permissions argument from being appended to redirects", 'press-permit-core-hints'),
+ ]
+ );
+}
foreach ($consts as $k => $v) $this->constants[$k] = (object)['descript' => $v, 'type' => $type];
$type = 'get-pages';
@@ -49,8 +65,16 @@ private function loadConstants() {
'PPC_FORCE_PAGE_REMAP' => esc_html__("If some pages have been suppressed from get_pages() results, change child pages' corresponding post_parent values to a visible ancestor", 'press-permit-core-hints'),
'PPC_NO_PAGE_REMAP' => esc_html__("Never modify the post_parent value in the get_pages() result set, even if some pages have been suppressed", 'press-permit-core-hints'),
'PP_GET_PAGES_LEAN' => esc_html__("For performance, change the get_pages() database query to return only a subset of fields, excluding post_content", 'press-permit-core-hints'),
- 'PP_TEASER_HIDE_PAGE_LISTING' => esc_html__("PRO: Don't apply content teaser to get_pages() results (leave unreadable posts hidden)", 'press-permit-core-hints'),
];
+
+if (defined('PRESSPERMIT_TEASER_VERSION')) {
+ $consts = array_merge(
+ $consts,
+ [
+ 'PP_TEASER_HIDE_PAGE_LISTING' => esc_html__("PRO: Don't apply content teaser to get_pages() results (leave unreadable posts hidden)", 'press-permit-core-hints'),
+ ]
+ );
+}
foreach ($consts as $k => $v) $this->constants[$k] = (object)['descript' => $v, 'type' => $type];
$type = 'get-terms';
@@ -60,24 +84,47 @@ private function loadConstants() {
];
foreach ($consts as $k => $v) $this->constants[$k] = (object)['descript' => $v, 'type' => $type];
+
+$type = 'post-author';
+$consts = [
+ 'PRESSPERMIT_AUTOSET_AUTHOR' => esc_html__("Set Author to current user if autoset_post_author / autoset_page_author capability is assigned", 'press-permit-core-hints'),
+];
+foreach ($consts as $k => $v) $this->constants[$k] = (object)['descript' => $v, 'type' => $type];
+
+
$type = 'media';
$consts = [
'PP_MEDIA_LIB_UNFILTERED' => esc_html__("Leave Media Library with normal access criteria based on user's role capabilities ", 'press-permit-core-hints'),
+ 'PRESSPERMIT_MEDIA_UPLOAD_GRANT_PAGE_EDIT_CAPS' => esc_html__("Accommodate front end uploading solutions that require page editing capabilities for the async upload request", 'press-permit-core-hints'),
+ 'PRESSPERMIT_MEDIA_IGNORE_UNREGISTERED_PARENT_TYPES' => esc_html__('Treat media attached to unregistered post types as unattached, to avoid improper and confusing filtering', 'press-permit-core-hints'),
];
+
+if (defined('PRESSPERMIT_FILE_ACCESS_VERSION')) {
+ $consts = array_merge(
+ $consts,
+ [
+ 'PP_ATTACHED_FILE_AUTOPRIVACY' => esc_html__("Attached Files Private setting available", 'press-permit-core-hints'),
+ 'PPFF_EXCLUDE_MIME_TYPES' => esc_html__("Comma-separated list of mime types to exclude from File Access filtering", 'press-permit-core-hints'),
+ 'PPFF_INCLUDE_MIME_TYPES' => esc_html__("Comma-separated list of mime types to include in File Access filtering (bypassing others)", 'press-permit-core-hints'),
+ 'PP_QUIET_FILE_404' => esc_html__("When file access is blocked, do not set the WP_Query 404 / 403 property", 'press-permit-core-hints'),
+ 'PPFF_STATUS_CODE' => esc_html__("HTTP status code to send when file access is blocked", 'press-permit-core-hints'),
+ ]
+ );
+}
foreach ($consts as $k => $v) $this->constants[$k] = (object)['descript' => $v, 'type' => $type];
$type = 'admin';
$consts = [
'PP_USERS_UI_GROUP_FILTER_LINK' => esc_html__("On Users listing, Permission groups in custom column are list filter links instead of group edit links", 'press-permit-core-hints'),
'PP_ADMIN_READONLY_LISTABLE' => esc_html__("Unlock Permissions > Settings > Core > Admin Back End > 'Hide non-editable posts'", 'press-permit-core-hints'),
- 'PP_UPLOADS_FORCE_FILTERING' => esc_html__("Within the async-upload.php script, filtering author's retrieval of the attachment they just uploaded", 'press-permit-core-hints'),
+ 'PP_ADMIN_TERMS_READONLY_LISTABLE' => esc_html__("Unlock Permissions > Settings > Core > Admin Back End > 'Hide non-editable posts'", 'press-permit-core-hints'),
+ 'PP_UPLOADS_FORCE_FILTERING' => esc_html__("Within the async-upload.php script, filter author's retrieval of the attachment they just uploaded", 'press-permit-core-hints'),
'PP_NO_COMMENT_FILTERING' => esc_html__("Don't filter comment display or moderation within wp-admin", 'press-permit-core-hints'),
];
foreach ($consts as $k => $v) $this->constants[$k] = (object)['descript' => $v, 'type' => $type];
$type = 'permissions-admin';
$consts = [
- 'PP_DISABLE_BULK_ROLES' => "",
'PP_FORCE_EXCEPTION_OVERWRITE' => esc_html__("If propagating permissions are assigned to a page branch, overwrite any explicitly assigned permissions in sub-pages", 'press-permit-core-hints'),
'PP_EXCEPTIONS_MAX_INSERT_ROWS' => esc_html__("Max number of specific permissions to insert in a single database query (default 1000)", 'press-permit-core-hints'),
'PP_DISABLE_MENU_TWEAK' => esc_html__("Don't tweak the admin menu indexes to position Permissions menu under Users", 'press-permit-core-hints'),
@@ -112,19 +159,15 @@ private function loadConstants() {
];
foreach ($consts as $k => $v) $this->constants[$k] = (object)['descript' => $v, 'type' => $type];
-$type = 'user-sync';
-$consts = [
- 'PP_SKIP_USER_SYNC' => esc_html__("Don't auto-assign role metagroups for all users. Instead, assign per-user at first login.", 'press-permit-core-hints'),
- 'PP_AUTODELETE_ROLE_METAGROUPS' => esc_html__("When synchronizing role metagroups to currently defined WP roles, don't delete groups for previously defined WP roles.", 'press-permit-core-hints'),
-];
-foreach ($consts as $k => $v) $this->constants[$k] = (object)['descript' => $v, 'type' => $type];
-$type = 'force-pp-settings';
+$type = 'users';
$consts = [
+ 'PP_AUTODELETE_ROLE_METAGROUPS' => esc_html__("When synchronizing role metagroups to currently defined WP roles, don't delete groups for previously defined WP roles.", 'press-permit-core-hints'),
'PP_FORCE_DYNAMIC_ROLES' => esc_html__("Force detection of WP user roles which are appended dynamically but not stored to the WP database.", 'press-permit-core-hints'),
];
foreach ($consts as $k => $v) $this->constants[$k] = (object)['descript' => $v, 'type' => $type];
+
$type = 'perf';
$consts = [
'PP_NO_FRONTEND_ADMIN' => esc_html__("To save memory on front end access, don't register any filters related to content editing", 'press-permit-core-hints'),
@@ -136,13 +179,8 @@ private function loadConstants() {
];
foreach ($consts as $k => $v) $this->constants[$k] = (object)['descript' => $v, 'type' => $type];
-$type = 'wp-compat';
-$consts = [
- 'PP_UNFILTERED_PAGE_URI' => esc_html__("Don't restore pre-4.4 behavior of not requiring 'publish' status for inclusion in page uri hierarchy", 'press-permit-core-hints'),
-];
-foreach ($consts as $k => $v) $this->constants[$k] = (object)['descript' => $v, 'type' => $type];
-
+/*
if (defined('PUBLISHPRESS_REVISIONS_VERSION') || defined("REVISIONARY_VERSION")) {
$type = 'third-party';
$consts = [
@@ -151,41 +189,89 @@ private function loadConstants() {
];
foreach ($consts as $k => $v) $this->constants[$k] = (object)['descript' => $v, 'type' => $type];
}
+*/
-$type = 'support';
-$consts = [
- 'PPI_LEGACY_UPLOAD' => "",
- 'PPI_ERROR_LOG_UPLOAD_LIMIT' => "",
-];
-foreach ($consts as $k => $v) $this->constants[$k] = (object)['descript' => $v, 'type' => $type, 'suppress_display' => true];
+$this->constants = apply_filters('presspermit_constants', $this->constants);
+
+$arr = [];
-$type = 'debug-dev';
+$type = 'debug-dev-unsupported';
$consts = [
'PRESSPERMIT_DEBUG' => "",
'PRESSPERMIT_DEBUG_LOGFILE' => "",
'PRESSPERMIT_MEMORY_LOG' => "",
'AGP_NO_USAGE_MSG' => "",
- 'PRESSPERMIT_DEBUG_ACTIVATE_KEY' => "",
- 'PRESSPERMIT_DEBUG_DEACTIVATE_KEY' => "",
- 'PRESSPERMIT_DEBUG_UPDATE_CHECK_PPC' => "",
- 'PRESSPERMIT_DEBUG_EXT_INFO' => "",
- 'PRESSPERMIT_DEBUG_CHANGELOG_PPC' => "",
- 'PRESSPERMIT_DEBUG_CONFIG_CHECK' => "",
- 'PRESSPERMIT_DEBUG_CONFIG_UPLOAD' => "",
- 'PP_FORCE_PPCOM_INFO' => "",
'PP_DISABLE_CAP_CACHE' => "",
- 'PP_FILTER_JSON_REST' => "",
+ 'PRESSPERMIT_DISABLE_TERM_PREASSIGN' => '',
'PP_DISABLE_UNFILTERED_TYPES_CLAUSE' => esc_html__("Development use only (suppresses post_status = 'publish' clause for unfiltered post types with anonymous user)", 'press-permit-core-hints'),
'PP_RETAIN_PUBLISH_FILTER' => esc_html__("Development use only (on front end, do not replace 'post_status = 'publish'' clause with filtered equivalent)", 'press-permit-core-hints'),
- 'PP_GET_TERMS_SHORTCUT' => "",
- 'PP_LEGACY_HTTP_REDIRECT' => "",
- 'PP_AGENTS_CAPTION_LIMIT' => "",
- 'PP_AGENTS_EMSIZE_THRESHOLD' => "",
- 'PP_UI_EMS_PER_CHARACTER' => "",
+ 'PP_DISABLE_BULK_ROLES' => "",
+ 'PUBLISHPRESS_ACTION_PRIORITY_INIT' => '',
+ 'PRESSPERMIT_NO_EARLY_CAPS_INIT' => '',
+ 'PRESSPERMIT_DISABLE_QUERYFILTERS' => '',
+ 'PP_ADMIN_POSTS_NO_FILTER' => '',
+ 'PRESSPERMIT_FORCE_POST_FILTERING' => '',
+ 'PRESSPERMIT_DISABLE_POST_COUNT_FILTER' => '',
+ 'PP_NO_PROPAGATING_EXCEPTION_DELETION' => '',
+ 'PP_EXCEPTIONS_MAX_INSERT_ROWS' => '',
+ 'PP_FORCE_EXCEPTION_OVERWRITE' => '',
+ 'PP_DISABLE_OPTIMIZED_EXCEPTIONS' => '',
+ 'PRESSPERMIT_SAVE_POST_ALLOW_BYPASS' => '',
+ 'PRESSPERMIT_AUTOSAVE_BYPASS_SAVE_FILTERS' => '',
+ 'PP_GET_PAGES_LIMIT_ADMIN_FILTERING' => '',
+ 'PRESSPERMIT_GET_PAGES_DISABLE_IN_CLAUSE' => '',
+ 'PRESSPERMIT_GET_PAGES_IGNORE_EXCLUDE_ARGS' => '',
+ 'PP_LEGACY_PAGE_URI_FILTER' => '',
+ //'PRESSPERMIT_READ_PUBLIC_CAP' => '',
+ 'PRESSPERMIT_STRICT_READ_CAP' => '',
+ 'PRESSPERMIT_SIMPLIFY_READ_PERMISSIONS' => '',
+ 'PRESSPERMIT_LEGACY_HOOKS' => '',
+ 'PRESSPERMIT_NO_LEGACY_API' => '',
+ 'PRESSPERMIT_FIND_POST_TYPE_NO_DEFAULT_TYPE' => '',
+ 'PRESSPERMIT_LIMIT_ASYNC_UPLOAD_FILTERING' => '',
+ 'PRESSPERMIT_FILTER_PRIVATE_TAXONOMIES' => '',
+ 'PUBLISHPRESS_PERMISSIONS_MENU_GROUPING' => '',
+ 'PP_DEFAULT_APPEARANCE_MENU' => '',
+ 'PRESSPERMIT_TILE' => '',
+ 'PRESSPERMIT_LEGACY_POST_TYPE_ENABLE_METABOX' => '',
+ 'PP_LEGACY_POST_TAG_CAPS' => '',
+ 'PRESSPERMIT_NO_PROCESS_BEFORE_REDIRECT' => '',
+ 'PRESSPERMIT_MENU_EDITOR_ADD_UNPUBLISHED' => '',
+ 'PP_NAV_MENU_ENABLE_POSTMETA_FILTER' => '',
+ 'PP_NAV_MENU_DISABLE_POSTMETA_FILTER' => '',
+ 'PRESSPERMIT_EDIT_NAV_MENUS_NO_PAGING' => '',
+ 'PP_PAGE_PARENT_NOPAGING' => '',
];
-foreach ($consts as $k => $v) $this->constants[$k] = (object)['descript' => $v, 'type' => $type, 'suppress_display' => true];
+foreach ($consts as $k => $v) $arr[$k] = (object)['descript' => $v, 'type' => $type];
-$this->constants = apply_filters('presspermit_constants', $this->constants);
+
+$type = 'deprecated';
+$consts = [
+ 'PRESSPERMIT_TERM_FILTERS_LEGACY_LOAD' => '',
+ 'PP_LEGACY_POST_BLOCKAGE' => '',
+ 'PP_GET_PAGES_LEGACY_FILTER' => '',
+ 'PP_LEGACY_REST_FILTERING' => '',
+ 'PRESSPERMIT_LEGACY_ADMIN_TERM_COUNT_FILTER' => '',
+ 'PRESSPERMIT_LEGACY_SAVE_POST_TERM_ASSIGNMENT' => '',
+ 'PRESSPERMIT_LEGACY_PREASSIGN_TERMS' => '',
+ 'PRESSPERMIT_LEGACY_COMMENT_FILTERING' => '',
+ 'PRESSPERMIT_LEGACY_MAIN_SITE_CHECK' => '',
+ 'PRESSPERMIT_NAV_MENU_EDIT_DEBUG' => '',
+ 'PP_AGENTS_CAPTION_LIMIT' => '',
+ 'PP_AGENTS_EMSIZE_THRESHOLD' => '',
+ 'PP_UI_EMS_PER_CHARACTER' => '',
+ 'PP_FILTER_JSON_REST' => '',
+ 'PRESSPERMIT_NO_USER_LOCALE' => '',
+ 'PP_FORCE_PLUGIN_MENU' => '',
+ 'PP_FORCE_USERS_MENU' => '',
+ 'PRESSPERMIT_OWN_DESCENDENT_CHECK' => '',
+ 'PRESSPERMIT_FILTER_VALIDATE_PAGE_PARENT' => '',
+ 'PRESSPERMIT_NO_PROCESS_BEFORE_PARENT_REVERT' => '',
+ 'PRESSPERMIT_PAGE_LISTING_FLUSH_CACHE' => '',
+];
+foreach ($consts as $k => $v) $arr[$k] = (object)['descript' => $v, 'type' => $type];
+
+$this->constants = $this->constants + $arr;
} // end function
diff --git a/classes/PublishPress/Permissions/UI/AgentPermissionsAjax.php b/classes/PublishPress/Permissions/UI/AgentPermissionsAjax.php
index f9edf44b..e3862e93 100644
--- a/classes/PublishPress/Permissions/UI/AgentPermissionsAjax.php
+++ b/classes/PublishPress/Permissions/UI/AgentPermissionsAjax.php
@@ -282,6 +282,64 @@ public function __construct() {
echo '' . 'exceptions_mirror' . '~' . esc_attr(implode('|', $edited_input_ids)) . '<--ppResponse-->';
break;
+ } elseif (0 === strpos($action, 'exceptions_convert_')) {
+
+ $arr = explode('_', $action);
+
+ if (count($arr) < 3) {
+ break;
+ }
+
+ $modification = $arr[2];
+
+ if (!in_array($modification, ['include', 'exclude', 'additional'])) {
+ break;
+ }
+
+ $edited_input_ids = [];
+ $all_eitem_ids = [];
+
+ $input_vals = (!empty($_GET['pp_eitem_ids'])) ? explode('|', PWP::sanitizeCSV(sanitize_text_field($_GET['pp_eitem_ids']))) : [];
+
+ if (!$input_vals) {
+ exit;
+ }
+
+ foreach ($input_vals as $id_csv) {
+ $eitem_ids = $this->editableEitemIDs(explode(',', $id_csv));
+
+ if ($agent_type && $agent_id) {
+ $agent_clause = "e.agent_type = '$agent_type' AND e.agent_id = '$agent_id' AND";
+ } else {
+ $agent_clause = '';
+ }
+
+ $eitem_id_csv = implode("','", array_map('intval', $eitem_ids));
+
+ $mod_type_clause = $wpdb->prepare("AND e.mod_type != %s", $modification); // don't change exceptions that already have requested mod_type
+
+ // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
+ foreach ($results = $wpdb->get_results(
+ "SELECT * FROM $wpdb->ppc_exception_items AS i"
+ . " INNER JOIN $wpdb->ppc_exceptions AS e ON i.exception_id = e.exception_id"
+ . " WHERE $agent_clause eitem_id IN ('$eitem_id_csv') $mod_type_clause" // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
+ ) as $row) {
+ $args = (array)$row;
+ $args['mod_type'] = $modification;
+ $agents = [$row->assign_for => [$agent_id => true]];
+ $pp->assignExceptions($agents, $agent_type, $args);
+
+ $edited_input_ids[] = $id_csv;
+ $all_eitem_ids[] = $row->eitem_id;
+ }
+ }
+
+ \PublishPress\Permissions\DB\PermissionsUpdate::removeExceptionItemsById($all_eitem_ids);
+
+ do_action('presspermit_exception_items_converted', $all_eitem_ids, $agent_type, $agent_id);
+
+ echo '' . 'exceptions_convert' . '~' . esc_attr(implode('|', $edited_input_ids)) . '<--ppResponse-->';
+ break;
}
} // end switch
diff --git a/classes/PublishPress/Permissions/UI/AgentPermissionsUI.php b/classes/PublishPress/Permissions/UI/AgentPermissionsUI.php
index a0645465..0bbe0888 100644
--- a/classes/PublishPress/Permissions/UI/AgentPermissionsUI.php
+++ b/classes/PublishPress/Permissions/UI/AgentPermissionsUI.php
@@ -45,6 +45,7 @@ public static function exceptionAssignmentScripts()
'submissionMsg' => esc_html__('Permissions submission in progress...', 'press-permit-core'),
'reloadRequired' => esc_html__('Reload form for further changes to this permission', 'press-permit-core'),
'mirrorDone' => esc_html__('Permissions mirrored. Reload form to view newly saved permissions.', 'press-permit-core'),
+ 'convertDone' => esc_html__('Permissions converted. Reload form to view newly saved permissions.', 'press-permit-core'),
'noMode' => esc_html__('No Qualification selected!', 'press-permit-core'),
'ajaxurl' => wp_nonce_url(admin_url(''), 'pp-ajax'),
];
@@ -1093,6 +1094,12 @@ public static function currentExceptionsUI($exc_results, $args = [])
$_op = $operation;
}
+ $convert_caption = [
+ 'additional' => __('Convert to "Enabled"', 'press-permit-core'),
+ 'exclude' => __('Convert to "Blocked"', 'press-permit-core'),
+ 'include' => __('Convert to "Limit to"', 'press-permit-core'),
+ ];
+
if (in_array($via_src, ['post', 'term'])) {
switch ($_op) {
case 'read':
@@ -1160,6 +1167,12 @@ public static function currentExceptionsUI($exc_results, $args = [])
. esc_html($caption)
. '';
}
+
+ foreach (['additional', 'exclude', 'include'] as $_mod_type) {
+ echo ""
+ . $convert_caption[$_mod_type]
+ . ' ';
+ }
}
echo '';
diff --git a/classes/PublishPress/Permissions/UI/AgentsAjax.php b/classes/PublishPress/Permissions/UI/AgentsAjax.php
index 53f581e3..12f0c1f3 100644
--- a/classes/PublishPress/Permissions/UI/AgentsAjax.php
+++ b/classes/PublishPress/Permissions/UI/AgentsAjax.php
@@ -171,7 +171,7 @@ public function __construct()
$args = [
'fields' => ['ID', 'user_login', 'display_name'],
'search' => $search_str,
- 'search_columns' => ['user_login', 'user_nicename', 'display_name'],
+ 'search_columns' => ['user_login', 'user_nicename', 'display_name', 'user_email'],
'include' => $include_ids,
'role' => $role_filter,
'orderby' => $orderby,
diff --git a/classes/PublishPress/Permissions/UI/SettingsAdmin.php b/classes/PublishPress/Permissions/UI/SettingsAdmin.php
index b152970c..52b898c3 100644
--- a/classes/PublishPress/Permissions/UI/SettingsAdmin.php
+++ b/classes/PublishPress/Permissions/UI/SettingsAdmin.php
@@ -188,9 +188,6 @@ public static function getConstantStr($constant) {
return esc_html__("Enable post contributors or authors with pp_set_edit_exceptions capability to set editing Permissions on posts authored by others", 'press-permit-core-hints');
// 'editing'
- case 'PP_DISABLE_FORKING_SUPPORT' :
- return esc_html__("Don't try to integrate with the Post Forking plugin", 'press-permit-core-hints');
-
case 'PP_LOCK_OPTION_PAGES_ONLY' :
return esc_html__("Permissions setting 'Pages can be set or removed from Top Level by' applies to 'page' type only", 'press-permit-core-hints');
@@ -200,38 +197,36 @@ public static function getConstantStr($constant) {
case 'PPC_ASSOCIATION_NOFILTER' :
return esc_html__("Circle membership does not limit page association (page parent setting) ability", 'press-permit-core-hints');
+ // auto-default-term-setting-override
case 'PP_AUTO_DEFAULT_TERM' :
return esc_html__("Determines the default value of Permissions > Settings > Editing > Auto-assign default term", 'press-permit-core-hints');
case 'PP_AUTO_DEFAULT_CATEGORY' :
- return esc_html__("When saving a post, if default category is not in user's subset of assignable categories, substitute first available", 'press-permit-core-hints');
+ return esc_html__("Always auto-assign a category if none are selected and user lacks permission for default category", 'press-permit-core-hints');
case 'PP_AUTO_DEFAULT_POST_TAG' :
- return esc_html__("When saving a post, if default tag is not in user's subset of assignable tags, substitute first available", 'press-permit-core-hints');
+ return esc_html__("Always auto-assign a post tag if none are selected", 'press-permit-core-hints');
case 'PP_AUTO_DEFAULT_CUSTOM_TAXOMY_NAME_HERE' :
- return esc_html__("When saving a post, if default term (of specified taxonomy) is not in user's subset of assignable tags, substitute first available", 'press-permit-core-hints');
+ return esc_html__("Always auto-assign a term of this taxonomy if none are selected", 'press-permit-core-hints');
case 'PP_NO_AUTO_DEFAULT_TERM' :
return esc_html__("Determines the default setting of Permissions > Settings > Editing > Auto-assign default terms", 'press-permit-core-hints');
- case 'PP_AUTO_DEFAULT_CATEGORY' :
- return esc_html__("When saving a post, never auto-assign a category, even if it is the user's only assignable category", 'press-permit-core-hints');
+ case 'PP_NO_AUTO_DEFAULT_CATEGORY' :
+ return esc_html__("Do not auto-assign a category (except standard default category if user has permission)", 'press-permit-core-hints');
case 'PP_NO_AUTO_DEFAULT_POST_TAG' :
- return esc_html__("When saving a post, never auto-assign a tag, even if it is the user's only assignable tag", 'press-permit-core-hints');
+ return esc_html__("Do not auto-assign a post tag", 'press-permit-core-hints');
case 'PP_NO_AUTO_DEFAULT_CUSTOM_TAXOMY_NAME_HERE' :
- return esc_html__("When saving a post, never auto-assign a term (of specified taxonomy), even if it is the user's only assignable term", 'press-permit-core-hints');
-
- case 'PPCE_DISABLE_CATEGORY_RETENTION' :
- return esc_html__("When a limited user updates a post, strip out currently stored categories they don't have permission to assign", 'press-permit-core-hints');
+ return esc_html__("Do not auto-assign a term of this taxonomy", 'press-permit-core-hints');
- case 'PPCE_DISABLE_POST_TAG_RETENTION' :
- return esc_html__("When a limited user updates a post, strip out currently stored tags they don't have permission to assign", 'press-permit-core-hints');
+ case 'PP_AUTO_DEFAULT_SINGLE_TERM_ONLY' :
+ return esc_html__("Do not auto-assign a term if the user has permission for more than one term in the taxonomy", 'press-permit-core-hints');
- case 'PPCE_DISABLE_CUSTOM_TAXOMY_NAME_HERE_RETENTION' :
- return esc_html__("When a limited user updates a post, strip out currently stored terms (of specified taxonomy) they don't have permission to assign", 'press-permit-core-hints');
+ case 'PP_AUTO_DEFAULT_TERM_EXCEPTIONS_NOT_REQUIRED' :
+ return esc_html__("If auto-assign term setting is enabled, apply it even if user does not have term assignment limitations", 'press-permit-core-hints');
case 'PP_NO_MODERATION' :
return esc_html__("Don't define an 'Approved' status, even if Status Control module is active", 'press-permit-core-hints');
diff --git a/classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php b/classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php
index c8325a1c..d22941e7 100644
--- a/classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php
+++ b/classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php
@@ -70,6 +70,7 @@ public function optionCaptions($captions)
'dynamic_wp_roles' => esc_html__('Detect Dynamically Mapped WP Roles', 'press-permit-core'),
'non_admins_set_read_exceptions' => esc_html__('Non-Administrators can set Reading Permissions for their editable posts', 'press-permit-core'),
'users_bulk_groups' => esc_html__('Bulk Add / Remove Groups on Users Screen', 'press-permit-core'),
+ 'list_all_constants' => esc_html('Display all available constant definitions'),
]);
}
@@ -87,6 +88,7 @@ public function optionSections($sections)
'user_permissions' => ['user_permissions'],
'role_integration' => ['pattern_roles_include_generic_rolecaps', 'dynamic_wp_roles'],
'misc' => ['users_bulk_groups', 'user_search_by_role', 'display_hints', 'display_extension_hints'],
+ 'constants' => ['list_all_constants'],
]);
}
@@ -354,7 +356,7 @@ public function optionsUI()
$section = 'constants'; // --- CONSTANTS SECTION ---
- // don't display the section unless constants are defined or WP_DEBUG set
+ // don't display the section unless constants are defined or debug / constant display option enabled
require_once(PRESSPERMIT_CLASSPATH . '/Constants.php');
$ppc = new \PublishPress\Permissions\Constants();
@@ -370,13 +372,20 @@ public function optionsUI()
}
// Unless debugging, only list defined constants and available constants in the same section
- if ($defined_constant_types || (defined('PRESSPERMIT_DEBUG') && PRESSPERMIT_DEBUG)) :
- ?>
-
-
+
+ ?>
+
+
section_captions[$tab][$section]); ?>
+
+ optionCheckbox('list_all_constants', $tab, $section, true, '');
+ ?>
+
+ getOption('list_all_constants') || (defined('PRESSPERMIT_DEBUG') && PRESSPERMIT_DEBUG)) :?>
-
+
+
@@ -384,6 +393,13 @@ public function optionsUI()
+
+
+
+
+
+
+
-
+
+
constants[$const_name]->descript); ?>
+
-
+
-
+
-
+
+
+
+
+
+
+
+
constants_by_type as $const_type => $constants) :
// Unless debugging, only list constants in sections which already have a constant defined
- if (!isset($defined_constant_types[$const_type]) && (!defined('PRESSPERMIT_DEBUG') || !PRESSPERMIT_DEBUG)) {
+ if (!isset($defined_constant_types[$const_type]) && (!presspermit()->getOption('list_all_constants') && (!defined('PRESSPERMIT_DEBUG') || ! PRESSPERMIT_DEBUG))) {
continue;
}
?>
@@ -449,17 +484,33 @@ public function optionsUI()
?>
-
+
+
+
+
+
constants[$const_name]->descript); ?>
-
-
-
-
+
+
+ getUser();
- if ((!isset($args[1]) || $args[1] == $user->ID) && array_diff_key(array_filter($user->allcaps), array_filter($current_user->allcaps))) {
- $current_user->allcaps = array_merge(array_filter($current_user->allcaps), array_filter($user->allcaps));
+ if ($user->ID == $current_user->ID) {
+ if ((!isset($args[1]) || $args[1] == $user->ID) && array_diff_key(array_filter($user->allcaps), array_filter($current_user->allcaps))) {
+ if (defined('PRESSPERMIT_LEGACY_USER_CAPS')) {
+ $current_user->allcaps = array_merge(array_filter($current_user->allcaps), array_filter($user->allcaps));
+ } else {
+ $current_user->allcaps = array_merge(array_filter($current_user->allcaps), array_filter($user->allcaps, function ($x) {return $x === true;}));
+ }
+ }
}
return $wp_blogcaps;
diff --git a/common/css/settings.css b/common/css/settings.css
index 29fb3658..fed557fc 100644
--- a/common/css/settings.css
+++ b/common/css/settings.css
@@ -325,9 +325,11 @@ table.pp-options-table .pp-optionhint {
.pp_cap_descripts tr.const-section td {
font-style: italic;
- text-align: right;
+ text-align: left;
vertical-align: bottom;
- padding-bottom: 0
+ padding-bottom: 0;
+ color: #8b8b8b;
+ font-weight: bold;
}
.pp_cap_descripts td.defined {
diff --git a/common/js/exception-edit.dev.js b/common/js/exception-edit.dev.js
index 01659eb7..b4f4b543 100644
--- a/common/js/exception-edit.dev.js
+++ b/common/js/exception-edit.dev.js
@@ -711,6 +711,11 @@ jQuery(document).ready(function ($) {
break;
case 'exceptions_mirror':
set_class = 'exc-copied';
+ set_message = ppRestrict.mirrorDone;
+ break;
+ case 'exceptions_convert':
+ set_class = 'exc-copied';
+ set_message = ppRestrict.convertDone;
break;
default:
return;
@@ -721,10 +726,10 @@ jQuery(document).ready(function ($) {
$.each(edited_eitem_ids, function (index, value) {
cbid = $('#pp_current_exceptions input[name="pp_edit_exception[]"][value="' + value + '"]').attr('id');
- if ('exceptions_mirror' == operation) {
+ if (('exceptions_mirror' == operation) || ('exceptions_convert' == operation)) {
$('#' + cbid).closest('div').find('label input').attr('class', set_class);
$('#' + cbid).prop('checked', false);
- $('#' + cbid).closest('div.pp-current-type-roles').find('div.pp-exception-bulk-edit div.mirror-confirm').html(ppRestrict.mirrorDone).show();
+ $('#' + cbid).closest('div.pp-current-type-roles').find('div.pp-exception-bulk-edit div.mirror-confirm').html(set_message).show();
} else {
$('#' + cbid).closest('div').find('label').attr('class', set_class);
diff --git a/common/js/exception-edit.js b/common/js/exception-edit.js
index 28986194..beab0745 100644
--- a/common/js/exception-edit.js
+++ b/common/js/exception-edit.js
@@ -1,6 +1,6 @@
-jQuery(document).ready(function($){var presspermitItemPath=new Object;var presspermitAllExceptionData=[];var presspermitXid=-1;$('ul.categorychecklist ul.children li[style="display:none"]').parent().prevAll('input.menu-item-checkbox').next('span').html(' + ');$('input.menu-item-checkbox').nextAll('span').on('click', function(e){$(this).parent().children('ul.children').children('li').toggle();if($(this).nextAll('ul.children').length){if($(this).html()==' + '){$(this).html(' – ');}else{$(this).html(' + ');}}
-e.preventDefault();});$(document).on('click','ul.categorychecklist li label',function(e){$(this).prevAll('input.menu-item-checkbox').trigger('click');});$('.add-to-menu .waiting').hide();$("#pp_save_exceptions input.button-primary").on('click', function(){$('input[name="member_csv"]').val($("input#member_csv").val());$('input[name="group_name"]').val($("input#group_name").val());$('input[name="description"]').val($("input#description").val());$("#pp_new_x_submission_msg").html(ppRestrict.submissionMsg);$("#pp_new_x_submission_msg").show();});$('#agent-profile #submit').on('click', function(e){$('#pp_review_exceptions').hide();$('#pp_add_exception').remove();});$(document).on('click',"#pp_tbl_exception_selections .pp_clear",function(e){var presspermitXid=$(this).closest('tr').find('input[name="pp_presspermitXid[]"]').val();if(typeof presspermitAllExceptionData[presspermitXid]!='undefined'){delete presspermitAllExceptionData[presspermitXid];}
-$(this).closest('tr').remove();e.stopPropagation();});$('.pp_clear_all').on('click', function(){$('.pp_clear').trigger('click');});$(".menu-item-checkbox").on('click', function(){presspermitItemCheckboxClick('menu-item',$(this));});var presspermitItemCheckboxClick=function(data_var,t){var expr=data_var+'\\[(\[^\\]\]*)';var re=new RegExp(expr);itemdata=t.closest('li').getItemData();if(t.closest('div.tabs-panel').parent().hasClass('hierarchical')){presspermitXajaxUI('get_presspermitItemPath',presspermitXupdateItemPath,itemdata['menu-item-object-id']);}}
+jQuery(document).ready(function($){var presspermitItemPath=new Object;var presspermitAllExceptionData=[];var presspermitXid=-1;$('ul.categorychecklist ul.children li[style="display:none"]').parent().prevAll('input.menu-item-checkbox').next('span').html(' + ');$('input.menu-item-checkbox').nextAll('span').on('click',function(e){$(this).parent().children('ul.children').children('li').toggle();if($(this).nextAll('ul.children').length){if($(this).html()==' + '){$(this).html(' – ');}else{$(this).html(' + ');}}
+e.preventDefault();});$(document).on('click','ul.categorychecklist li label',function(e){$(this).prevAll('input.menu-item-checkbox').trigger('click');});$('.add-to-menu .waiting').hide();$("#pp_save_exceptions input.button-primary").on('click',function(){$('input[name="member_csv"]').val($("input#member_csv").val());$('input[name="group_name"]').val($("input#group_name").val());$('input[name="description"]').val($("input#description").val());$("#pp_new_x_submission_msg").html(ppRestrict.submissionMsg);$("#pp_new_x_submission_msg").show();});$('#agent-profile #submit').on('click',function(e){$('#pp_review_exceptions').hide();$('#pp_add_exception').remove();});$(document).on('click',"#pp_tbl_exception_selections .pp_clear",function(e){var presspermitXid=$(this).closest('tr').find('input[name="pp_presspermitXid[]"]').val();if(typeof presspermitAllExceptionData[presspermitXid]!='undefined'){delete presspermitAllExceptionData[presspermitXid];}
+$(this).closest('tr').remove();e.stopPropagation();});$('.pp_clear_all').on('click',function(){$('.pp_clear').trigger('click');});$(".menu-item-checkbox").on('click',function(){presspermitItemCheckboxClick('menu-item',$(this));});var presspermitItemCheckboxClick=function(data_var,t){var expr=data_var+'\\[(\[^\\]\]*)';var re=new RegExp(expr);itemdata=t.closest('li').getItemData();if(t.closest('div.tabs-panel').parent().hasClass('hierarchical')){presspermitXajaxUI('get_presspermitItemPath',presspermitXupdateItemPath,itemdata['menu-item-object-id']);}}
var presspermitExceptionsTimer;var presspermitXupdateItemPath=function(data,txtStatus){var item_info=data.split('\r');presspermitItemPath[item_info[0]]=item_info[1];$('input.menu-item-checkbox[value="'+item_info[0]+'"]').nextAll('label').attr('title',item_info[1]);clearTimeout(presspermitExceptionsTimer);}
$(document).on('mouseenter','div.hierarchical ul.categorychecklist li label',function(){if($(this).attr('title')==undefined||$(this).attr('title')==''){var that=this;presspermitExceptionsTimer=setTimeout(function(){itemdata=$(that).closest('li').getItemData();presspermitXajaxUI('get_presspermitItemPath',presspermitXupdateItemPath,itemdata['menu-item-object-id']);},500);}});$(document).on('mouseleave','ul.categorychecklist li label',function(){clearTimeout(presspermitExceptionsTimer);});$(document).on('click','.submit-add-item-exception',function(e){presspermitXaddItemException('menu-item');return false;});var presspermitXaddItemException=function(data_var){$('div.pp-ext-promo').hide();var items=$('#menu-settings-column').find('.tabs-panel-active .categorychecklist li input:checked');if(!$('input[name="pp_select_x_operation"]').val()){$('#pp_item_selection_msg').html(ppRestrict.noOp);$('#pp_item_selection_msg').addClass('pp-error-note');$('#pp_item_selection_msg').show();return false;}
if(items.length==0){$('#pp_item_selection_msg').html(ppRestrict.noItems);$('#pp_item_selection_msg').addClass('pp-error-note');$('#pp_item_selection_msg').show();return false;}
@@ -26,8 +26,7 @@ $(conds).each(function(){id=presspermitEscapeID(this.id);var lbl=$('#pp_add_exce
+'|'+$('#'+id).val()
+'|'+itemdata['menu-item-object-id'];if($.inArray(trackdata,presspermitAllExceptionData)!=-1){duplicate=true;}else{presspermitXid++;presspermitAllExceptionData[presspermitXid]=trackdata;if(hier_type){assign_mode_inputs=' '
+' ';}else
-assign_mode_inputs='';newrow=''
-+''+for_type_caption+' '
+assign_mode_inputs='';newrow=' '+for_type_caption+' '
+''+op_caption+' '
+''+mod_type_caption+' '
+''+selected_caption+' '
@@ -42,8 +41,7 @@ assign_mode_inputs='';newrow=''
+' '
+' '
+assign_mode_inputs
-+''
-+' ';$('#pp_tbl_exception_selections tbody').append(newrow);any_added=true;}});}});$("#pp_add_exception .menu-item-checkbox").prop('checked',false);if(duplicate&&!any_added){$('#pp_item_selection_msg').html(ppRestrict.alreadyException);$('#pp_item_selection_msg').addClass('pp-error-note');$('#pp_item_selection_msg').show();}else{$('#pp_item_selection_msg').html(ppRestrict.pleaseReview);$('#pp_item_selection_msg').removeClass('pp-error-note');$('#pp_item_selection_msg').show();}
++'';$('#pp_tbl_exception_selections tbody').append(newrow);any_added=true;}});}});$("#pp_add_exception .menu-item-checkbox").prop('checked',false);if(duplicate&&!any_added){$('#pp_item_selection_msg').html(ppRestrict.alreadyException);$('#pp_item_selection_msg').addClass('pp-error-note');$('#pp_item_selection_msg').show();}else{$('#pp_item_selection_msg').html(ppRestrict.pleaseReview);$('#pp_item_selection_msg').removeClass('pp-error-note');$('#pp_item_selection_msg').show();}
return false;}
var presspermitReloadOperation=function(){if($('select[name="pp_select_x_for_type"]').val()){$('select[name="pp_select_x_for_type"] option.pp-opt-none').remove();presspermitXajaxUI('get_operation_options',presspermitDrawOperations);}else
$('.pp-select-x-operation').hide();}
@@ -56,11 +54,11 @@ var presspermitReloadAssignFor=function(){if($('select[name="pp_select_x_for_typ
var pressPermitNoneItemVisibility=function(){var mod_type=$('input[name="pp_select_x_mod_type"]:checked').val();if('include'==mod_type||(('exclude'==mod_type)&&('associate'==$('input[name="pp_select_x_operation"]').val()))){$('td.pp-select-items input.menu-item-checkbox[value="0"]').closest('li').show();}else{$('td.pp-select-items input.menu-item-checkbox[value="0"]').closest('li').hide();}}
var presspermitReloadStatus=function(){var op=$('input[name="pp_select_x_operation"]').val();var mod_type=$('input[name="pp_select_x_mod_type"]:checked').val();if(mod_type&&op){setTimeout(function(){presspermitXajaxUI('get_status_ui',presspermitDrawStatus)},50);if('include'==mod_type){$('input.add-to-top').show();$('input.add-to-top').parent().show();}else{$('input.add-to-top').hide();$('input.add-to-top').parent().hide();}}else
$('.pp-select-x-status').hide();pressPermitNoneItemVisibility();}
-$('select[name="pp_select_x_for_type"]').on('change',presspermitReloadOperation);$('select[name="pp_select_x_for_type"]').on('change', function(){$('.pp-select-items').hide();$('.pp-select-x-mod-type').hide();$('.pp-select-x-via-type').hide();$('.pp-select-x-status').hide();$('#pp_add_exception').css('width','auto');});$('td.pp-select-x-operation').on('click', function(){var sel=$(this).find('input:checked').val();if(sel){presspermitLastOp=sel;}
-presspermitReloadViaType();});$('td.pp-select-x-operation').on('click',presspermitReloadModificationType);$('td.pp-select-x-operation').on('click',presspermitReloadStatus);$('td.pp-select-x-mod-type').on('click', function(){var sel=$(this).find('input:checked').val();if(sel){presspermitLastModType=sel;}
-presspermitReloadStatus();});$('select[name="pp_select_x_via_type"]').on('change',presspermitReloadStatus);$('select[name="pp_select_x_via_type"]').on('change',presspermitReloadAssignFor);$('select[name="pp_select_x_via_type"]').on('change', function(){$('#pp_add_exception .postbox').hide();if($(this).find('option').length){var pp_via_type=$(this).val();if(!pp_via_type){pp_via_type=$('select[name="pp_select_x_for_type"]').val();}
+$('select[name="pp_select_x_for_type"]').on('change',presspermitReloadOperation);$('select[name="pp_select_x_for_type"]').on('change',function(){$('.pp-select-items').hide();$('.pp-select-x-mod-type').hide();$('.pp-select-x-via-type').hide();$('.pp-select-x-status').hide();$('#pp_add_exception').css('width','auto');});$('td.pp-select-x-operation').on('click',function(){var sel=$(this).find('input:checked').val();if(sel){presspermitLastOp=sel;}
+presspermitReloadViaType();});$('td.pp-select-x-operation').on('click',presspermitReloadModificationType);$('td.pp-select-x-operation').on('click',presspermitReloadStatus);$('td.pp-select-x-mod-type').on('click',function(){var sel=$(this).find('input:checked').val();if(sel){presspermitLastModType=sel;}
+presspermitReloadStatus();});$('select[name="pp_select_x_via_type"]').on('change',presspermitReloadStatus);$('select[name="pp_select_x_via_type"]').on('change',presspermitReloadAssignFor);$('select[name="pp_select_x_via_type"]').on('change',function(){$('#pp_add_exception .postbox').hide();if($(this).find('option').length){var pp_via_type=$(this).val();if(!pp_via_type){pp_via_type=$('select[name="pp_select_x_for_type"]').val();}
$('#select-exception-'+pp_via_type).show();$('.pp-select-items').show();}else
-$('.pp-select-items').hide();$('#pp_add_exception').css('width','100%');$('input.menu-item-checkbox').prop('checked',false);});$('select[name="pp_select_x_via_type"]').on('click', function(){presspermitLastViaType=$(this).val();});var presspermitUpdateItemNoneCaption=function(){if($('select[name="pp_select_x_for_type"]').val()=='_term_'){if($('input[name="pp_select_x_operation"]').val()=='associate'&&$('input[name="pp_select_x_mod_type"]').val()!='additional'){$('#select-exception-'+$('select[name="pp_select_x_via_type"]').val()).find('input.menu-item-checkbox[value="0"]').siblings('label').first().html(ppRestrict.noParent);}else{$('#select-exception-'+$('select[name="pp_select_x_via_type"]').val()).find('input.menu-item-checkbox[value="0"]').siblings('label').first().html(ppRestrict.none);}}else{if($('input[name="pp_select_x_operation"]').val()=='associate'&&$('input[name="pp_select_x_mod_type"]').val()!='additional'){$('#select-exception-'+$('select[name="pp_select_x_for_type"]').val()).find('input.menu-item-checkbox[value="0"]').siblings('label').first().html(ppRestrict.noParent);}else{$('#select-exception-'+$('select[name="pp_select_x_for_type"]').val()).find('input.menu-item-checkbox[value="0"]').siblings('label').first().html(ppRestrict.none);}}}
+$('.pp-select-items').hide();$('#pp_add_exception').css('width','100%');$('input.menu-item-checkbox').prop('checked',false);});$('select[name="pp_select_x_via_type"]').on('click',function(){presspermitLastViaType=$(this).val();});var presspermitUpdateItemNoneCaption=function(){if($('select[name="pp_select_x_for_type"]').val()=='_term_'){if($('input[name="pp_select_x_operation"]').val()=='associate'&&$('input[name="pp_select_x_mod_type"]').val()!='additional'){$('#select-exception-'+$('select[name="pp_select_x_via_type"]').val()).find('input.menu-item-checkbox[value="0"]').siblings('label').first().html(ppRestrict.noParent);}else{$('#select-exception-'+$('select[name="pp_select_x_via_type"]').val()).find('input.menu-item-checkbox[value="0"]').siblings('label').first().html(ppRestrict.none);}}else{if($('input[name="pp_select_x_operation"]').val()=='associate'&&$('input[name="pp_select_x_mod_type"]').val()!='additional'){$('#select-exception-'+$('select[name="pp_select_x_for_type"]').val()).find('input.menu-item-checkbox[value="0"]').siblings('label').first().html(ppRestrict.noParent);}else{$('#select-exception-'+$('select[name="pp_select_x_for_type"]').val()).find('input.menu-item-checkbox[value="0"]').siblings('label').first().html(ppRestrict.none);}}}
$('input[name="pp_select_x_mod_type"]').on('change',presspermitUpdateItemNoneCaption);$(document).on('click','#pp_select_x_item_assign',function(e){presspermitLastItemAssign=$(this).prop('checked');});$(document).on('click','#pp_select_x_child_assign',function(e){presspermitLastChildAssign=$(this).prop('checked');});var presspermitLastOp='';var presspermitLastModType='';var presspermitLastViaType='';var presspermitLastItemAssign='';var presspermitLastChildAssign='';var presspermitDrawOperations=function(data,txtStatus){sel=$('td.pp-select-x-operation');sel.html(data);sel.triggerHandler('change');$('.pp-select-x-operation').show();if(presspermitLastOp&&$('input[name="pp_select_x_operation"][value="'+presspermitLastOp+'"]').length){$('input[name="pp_select_x_operation"][value="'+presspermitLastOp+'"]').click();}else{$('input[name="pp_select_x_operation"]').first().click();}
presspermitXajaxUI_done();}
var presspermitDrawViaTypes=function(data,txtStatus){sel=$('select[name="pp_select_x_via_type"]');sel.html(data);sel.triggerHandler('change');$('.pp-select-x-via-type').show();if(presspermitLastViaType&&$('select[name="pp_select_x_via_type"] option[value="'+presspermitLastViaType+'"]').length){$('select[name="pp_select_x_via_type"]').val(presspermitLastViaType).change();}
@@ -86,15 +84,15 @@ if(presspermitExceptionsSearchTimer)clearTimeout(presspermitExceptionsSearchTime
var presspermitProcessQuickSearchResponse=function(resp,req,panel){var matched,newID,takenIDs={},form=document.getElementById('nav-menu-meta'),pattern=new RegExp('menu-item\\[(\[^\\]\]*)','g'),$items=$('').html(resp).find('li'),$item;if(!$items.length){$('.categorychecklist',panel).html('
'+ppItems.noResultsFound+'
');$('img.waiting',panel).hide();return;}
$items.each(function(){$item=$(this);matched=pattern.exec($item.html());if(matched&&matched[1]){newID=matched[1];while(form.elements['menu-item['+newID+'][menu-item-type]']||takenIDs[newID]){newID--;}
takenIDs[newID]=true;if(newID!=matched[1]){$item.html($item.html().replace(new RegExp('menu-item\\['+matched[1]+'\\]','g'),'menu-item['+newID+']'));}}});$('.categorychecklist',panel).html($items);$('img.waiting',panel).hide();}
-$('#pp_current_exceptions input').on('click', function(e){$(this).closest('div.pp-current-type-roles').find('div.pp-exception-bulk-edit').show();});$('#pp_current_exceptions .pp_check_all').on('click', function(e){$(this).closest('td').find('input[name="pp_edit_exception[]"][disabled!="true"]').prop('checked',$(this).is(':checked'));});var presspermitCurrentExceptionsAjaxDone=function(){$('#pp_current_exceptions input.submit-edit-item-exception').prop('disabled',false);$('#pp_current_exceptions .waiting').hide();}
+$('#pp_current_exceptions input').on('click',function(e){$(this).closest('div.pp-current-type-roles').find('div.pp-exception-bulk-edit').show();});$('#pp_current_exceptions .pp_check_all').on('click',function(e){$(this).closest('td').find('input[name="pp_edit_exception[]"][disabled!="true"]').prop('checked',$(this).is(':checked'));});var presspermitCurrentExceptionsAjaxDone=function(){$('#pp_current_exceptions input.submit-edit-item-exception').prop('disabled',false);$('#pp_current_exceptions .waiting').hide();}
var presspermitRemoveExceptionsDone=function(data,txtStatus){presspermitCurrentExceptionsAjaxDone();if(!data)
return;var startpos=data.indexOf('');var endpos=data.indexOf('<--ppResponse-->');if((startpos==-1)||(endpos<=startpos))
return;data=data.substr(startpos+17,endpos-startpos-17);var deleted_ass_ids=data.split('|');$.each(deleted_ass_ids,function(index,value){cbid=$('#pp_current_exceptions input[name="pp_edit_exception[]"][value="'+value+'"]').attr('id');$('#'+cbid).closest('label').parent().remove();var ass_ids=value.split(',');for(i=0;i
');var endpos=data.indexOf('<--ppResponse-->');if((startpos==-1)||(endpos<=startpos))
-return;data=data.substr(startpos+17,endpos-startpos-17);var edit_data=data.split('~');var operation=edit_data[0];var set_class='';switch(operation){case'exceptions_propagate':set_class='role_both';break;case'exceptions_unpropagate':set_class='';break;case'exceptions_children_only':set_class='role_ch';break;case'exceptions_mirror':set_class='exc-copied';break;default:return;}
-var edited_eitem_ids=edit_data[1].split('|');$.each(edited_eitem_ids,function(index,value){cbid=$('#pp_current_exceptions input[name="pp_edit_exception[]"][value="'+value+'"]').attr('id');if('exceptions_mirror'==operation){$('#'+cbid).closest('div').find('label input').attr('class',set_class);$('#'+cbid).prop('checked',false);$('#'+cbid).closest('div.pp-current-type-roles').find('div.pp-exception-bulk-edit div.mirror-confirm').html(ppRestrict.mirrorDone).show();}else{$('#'+cbid).closest('div').find('label').attr('class',set_class);if(('exceptions_children_only'==operation)||('exceptions_unpropagate'==operation)){$('#'+cbid).closest('div').find('input').prop('checked',false);$('#'+cbid).closest('div').find('input').prop('disabled',true);$('#'+cbid).closest('div').find('label').attr('title',ppRestrict.reloadRequired);}}});}
-$('#pp_current_exceptions input.submit-edit-item-exception').on('click', function(e){var action=$(this).closest('div.pp-current-type-roles').find('div.pp-exception-bulk-edit select').first().val();if(!action){alert(ppRestrict.noAction);return false;}
+return;data=data.substr(startpos+17,endpos-startpos-17);var edit_data=data.split('~');var operation=edit_data[0];var set_class='';switch(operation){case'exceptions_propagate':set_class='role_both';break;case'exceptions_unpropagate':set_class='';break;case'exceptions_children_only':set_class='role_ch';break;case'exceptions_mirror':set_class='exc-copied';set_message=ppRestrict.mirrorDone;break;case'exceptions_convert':set_class='exc-copied';set_message=ppRestrict.convertDone;break;default:return;}
+var edited_eitem_ids=edit_data[1].split('|');$.each(edited_eitem_ids,function(index,value){cbid=$('#pp_current_exceptions input[name="pp_edit_exception[]"][value="'+value+'"]').attr('id');if(('exceptions_mirror'==operation)||('exceptions_convert'==operation)){$('#'+cbid).closest('div').find('label input').attr('class',set_class);$('#'+cbid).prop('checked',false);$('#'+cbid).closest('div.pp-current-type-roles').find('div.pp-exception-bulk-edit div.mirror-confirm').html(set_message).show();}else{$('#'+cbid).closest('div').find('label').attr('class',set_class);if(('exceptions_children_only'==operation)||('exceptions_unpropagate'==operation)){$('#'+cbid).closest('div').find('input').prop('checked',false);$('#'+cbid).closest('div').find('input').prop('disabled',true);$('#'+cbid).closest('div').find('label').attr('title',ppRestrict.reloadRequired);}}});}
+$('#pp_current_exceptions input.submit-edit-item-exception').on('click',function(e){var action=$(this).closest('div.pp-current-type-roles').find('div.pp-exception-bulk-edit select').first().val();if(!action){alert(ppRestrict.noAction);return false;}
var selected_ids=new Array();$(this).closest('div.pp-current-exceptions').find('input[type="checkbox"]:checked').each(function(){selected_ids.push($(this).attr('value'));});var rids=selected_ids.join('|');if(!rids){return false;}
$(this).prop('disabled',true);$(this).closest('div').find('.waiting').show();switch(action){case'remove':presspermitAjaxSubmit('exceptions_remove',presspermitRemoveExceptionsDone,rids);break
default:presspermitAjaxSubmit('exceptions_'+action,presspermitEditExceptionsDone,rids);break}
diff --git a/languages/press-permit-core-es_ES.mo b/languages/press-permit-core-es_ES.mo
index 0b3ef88b..914cc3ff 100644
Binary files a/languages/press-permit-core-es_ES.mo and b/languages/press-permit-core-es_ES.mo differ
diff --git a/languages/press-permit-core-es_ES.po b/languages/press-permit-core-es_ES.po
index 7915cd87..28de4597 100644
--- a/languages/press-permit-core-es_ES.po
+++ b/languages/press-permit-core-es_ES.po
@@ -5,8 +5,8 @@ msgstr ""
"Project-Id-Version: Plugins - PublishPress Permissions: Control User Access "
"for Posts, Pages, Categories, Tags - Stable (latest release)\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
-"POT-Creation-Date: 2024-07-01T15:33:44+00:00\n"
-"PO-Revision-Date: 2024-07-01 23:56+0200\n"
+"POT-Creation-Date: 2024-09-16T16:07:26+00:00\n"
+"PO-Revision-Date: 2024-09-16 23:40+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: es\n"
@@ -309,51 +309,51 @@ msgstr "Contacto"
msgid "Permission Group"
msgstr "Grupo de permisos"
-#: classes/PublishPress/Permissions/DB/Groups.php:451
+#: classes/PublishPress/Permissions/DB/Groups.php:446
msgid "Logged In"
msgstr "Conectado"
-#: classes/PublishPress/Permissions/DB/Groups.php:454
+#: classes/PublishPress/Permissions/DB/Groups.php:449
msgid "Not Logged In"
msgstr "Desconectado"
-#: classes/PublishPress/Permissions/DB/Groups.php:457
+#: classes/PublishPress/Permissions/DB/Groups.php:452
msgid "Everyone"
msgstr "Todos"
-#: classes/PublishPress/Permissions/DB/Groups.php:462
-#: classes/PublishPress/Permissions/DB/Groups.php:477
+#: classes/PublishPress/Permissions/DB/Groups.php:457
+#: classes/PublishPress/Permissions/DB/Groups.php:472
msgid "Change Request Notifications"
msgstr "Avisos de solicitud de cambio"
-#: classes/PublishPress/Permissions/DB/Groups.php:462
-#: classes/PublishPress/Permissions/DB/Groups.php:477
+#: classes/PublishPress/Permissions/DB/Groups.php:457
+#: classes/PublishPress/Permissions/DB/Groups.php:472
msgid "Pending Revision Monitors"
msgstr "Monitores de revisión pendientes"
-#: classes/PublishPress/Permissions/DB/Groups.php:466
-#: classes/PublishPress/Permissions/DB/Groups.php:481
+#: classes/PublishPress/Permissions/DB/Groups.php:461
+#: classes/PublishPress/Permissions/DB/Groups.php:476
msgid "Scheduled Change Notifications"
msgstr "Avisos de cambios programados"
-#: classes/PublishPress/Permissions/DB/Groups.php:466
-#: classes/PublishPress/Permissions/DB/Groups.php:481
+#: classes/PublishPress/Permissions/DB/Groups.php:461
+#: classes/PublishPress/Permissions/DB/Groups.php:476
msgid "Scheduled Revision Monitors"
msgstr "Monitores de revisión programada"
-#: classes/PublishPress/Permissions/DB/Groups.php:494
+#: classes/PublishPress/Permissions/DB/Groups.php:489
msgid "Authenticated site users (logged in)"
msgstr "Usuarios del sitio identificados (conectados)"
-#: classes/PublishPress/Permissions/DB/Groups.php:497
+#: classes/PublishPress/Permissions/DB/Groups.php:492
msgid "Anonymous users (not logged in)"
msgstr "Usuarios anónimos (no conectados)"
-#: classes/PublishPress/Permissions/DB/Groups.php:500
+#: classes/PublishPress/Permissions/DB/Groups.php:495
msgid "All users (including anonymous)"
msgstr "Todos los usuarios (incluyendo a los anónimos)"
-#: classes/PublishPress/Permissions/DB/Groups.php:506
+#: classes/PublishPress/Permissions/DB/Groups.php:501
msgid "All users with the WordPress role of %s"
msgstr "Todos los usuarios con el perfil de WordPress de %s"
@@ -409,7 +409,7 @@ msgstr "Grupos personalizados"
#: classes/PublishPress/Permissions/Groups.php:56
#: classes/PublishPress/Permissions/UI/Dashboard/DashboardFilters.php:265
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:95
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:93
#: modules/presspermit-import/classes/Permissions/Import/DB/RoleScoper.php:27
msgid "Groups"
msgstr "Grupos"
@@ -471,14 +471,14 @@ msgid "selected:"
msgstr "seleccionado:"
#: classes/PublishPress/Permissions/UI/AgentExceptionsAjax.php:154
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:199
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:203
#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/AjaxUI.php:133
msgid "Nav Menus (Legacy)"
msgstr "Menús de navegación (heredado)"
#: classes/PublishPress/Permissions/UI/AgentExceptionsAjax.php:156
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:873
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:201
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:205
#: modules/presspermit-collaboration/classes/Permissions/Collab/AdminFilters.php:215
#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/AjaxUI.php:135
msgid "Legacy"
@@ -609,6 +609,10 @@ msgstr "Nombre:"
msgid "Primary Role:"
msgstr "Perfil principal:"
+#: classes/PublishPress/Permissions/UI/AgentPermissions.php:247
+msgid "Description:"
+msgstr "Descripción:"
+
#: classes/PublishPress/Permissions/UI/AgentPermissions.php:264
msgid "Update Group"
msgstr "Actualizar el grupo"
@@ -798,7 +802,7 @@ msgstr "Menú de navegación (bloque)"
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:98
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:867
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:207
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:211
msgid "Block"
msgstr "Bloque"
@@ -1048,7 +1052,7 @@ msgid "* %s"
msgstr "* %s"
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1062
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:71
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:69
msgid "Remove"
msgstr "Quitar"
@@ -1314,7 +1318,7 @@ msgid "select groups"
msgstr "selecciona los grupos"
#: classes/PublishPress/Permissions/UI/Dashboard/ItemExceptionsUI.php:267
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:318
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:320
msgid "close"
msgstr "cierra"
@@ -1348,7 +1352,7 @@ msgstr ""
"la integración de los permisos."
#: classes/PublishPress/Permissions/UI/Dashboard/PostEdit.php:76
-#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:314
+#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:312
#: classes/PublishPress/Permissions/UI/Settings.php:84
msgid "Permissions Settings"
msgstr "Ajustes de los permisos"
@@ -1366,7 +1370,7 @@ msgid "Permissions: %s this %s"
msgstr "Permisos: %s este %s"
#: classes/PublishPress/Permissions/UI/Dashboard/PostEdit.php:164
-#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:338
+#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:336
msgid "enable custom permissions for %s"
msgstr "activar los permisos personalizados para %s"
@@ -1454,7 +1458,7 @@ msgstr "Permisos: %1$s este %2$s"
msgid "Update"
msgstr "Actualizar"
-#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:373
+#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:371
msgid ""
"Displayed permissions are those assigned for the \"%1$s\" type. You can also "
"%2$sdefine universal %3$s permissions which apply to all related post "
@@ -1486,50 +1490,50 @@ msgstr "%1$s Permisos %2$s*%3$s"
msgid "Universal Permissions"
msgstr "Permisos universal"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:49
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:52
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:47
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:50
msgid "Permissions…"
msgstr "Permisos…"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:61
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:59
msgid "Add"
msgstr "Añadir"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:65
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:63
msgid "Add selected users to Permission Group"
msgstr "Añadir los usuarios seleccionados al Grupo de permisos"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:75
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:73
msgid "Remove selected users from Permission Group"
msgstr "Quitar los usuarios seleccionados del Grupo de permisos"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:83
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:81
msgid "Click to show only users who have no group"
msgstr "Haz clic para mostrar sólo los usuarios que no tienen un grupo"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:90
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:88
msgid "%1$s(x)%2$s"
msgstr "%1$s(x)%2$s"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:97
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:95
msgid "Click to show only users who have supplemental roles"
msgstr ""
"Haz clic para mostrar sólo los usuarios que tienen perfiles suplementarios"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:101
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:99
msgid "Roles %1$s*%2$s"
msgstr "Perfiles %1$s*%2$s"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:112
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:110
msgid "Click to show only users who have specific permissions"
msgstr ""
"Haz clic para mostrar sólo los usuarios que tienen permisos específicos"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:116
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:114
msgid "Specific Permissions %1$s*%2$s"
msgstr "Permisos específicos %1$s*%2$s"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:255
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:253
msgid "%s more"
msgstr "%s Más"
@@ -2108,11 +2112,11 @@ msgstr "Modificar los permisos para estas taxonomías:"
msgid "Modify permissions for these Post Types:"
msgstr "Modificar los permisos para estos tipos de contenido:"
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:205
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:209
msgid "Nav Menus (Block)"
msgstr "Menús de navegación (bloque)"
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:238
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:242
msgid ""
"%1$sNote%2$s: This causes type-specific capabilities to be required for "
"editing (\"edit_things\" instead of \"edit_posts\"). You can %3$sassign "
@@ -2124,7 +2128,7 @@ msgstr ""
"perfiles suplementarios%4$s para el tipo de contenido o añadir las "
"capacidades directamente a un perfil de WordPress."
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:287
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:291
msgid ""
"%1$sNote:%2$s If enabled, the create_posts, create_pages, etc. capabilities "
"will be enforced for all Filtered Post Types. You can %3$sadd these "
@@ -2134,7 +2138,7 @@ msgstr ""
"etc. se aplicarán a todos los tipos de contenidos filtrados. Puedes "
"%3$sañadir estas capacidades a cualquier perfil%4$s que lo necesite."
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:300
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:304
msgid ""
"%1$sNote:%2$s If enabled, the create_posts, create_pages, etc. capabilities "
"will be enforced for all Filtered Post Types. You can use a WordPress role "
@@ -2146,7 +2150,7 @@ msgstr ""
"un editor de perfiles de WordPress como %3$sPublishPress Capabilities%4$s "
"para añadir estas capacidades a cualquier perfil que lo necesite."
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:325
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:329
msgid ""
"%1$sNote:%2$s If enabled, users cannot add previously non-existant tags to a "
"post unless their role includes the Edit capability for its taxonomy. You "
@@ -2159,7 +2163,7 @@ msgstr ""
"a Capacidades > Capacidades > Taxonomías%4$s para cualquier perfil que lo "
"necesite."
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:338
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:342
msgid ""
"%1$sNote:%2$s If enabled, users cannot add previously non-existent tags to a "
"post unless their role includes the Edit capability for its taxonomy. You "
@@ -2172,7 +2176,7 @@ msgstr ""
"perfiles de WordPress como %3$sPublishPress Capabilities%4$s para añadir "
"estas capacidades a cualquier perfil que lo necesite."
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:404
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:408
msgid "%sPosts / Pages Listing:%s %s"
msgstr "%sListado de entradas/páginas:%s %s"
@@ -2501,19 +2505,19 @@ msgstr "(despublicado)"
msgid "You are not permitted to manage menu locations"
msgstr "No tienes permiso para gestionar las ubicaciones de los menús"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:86
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:88
msgid "Post Approved"
msgstr "Entrada aprobada"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:87
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:89
msgid "Page Approved"
msgstr "Página aprobada"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:291
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:293
msgid "Author Search / Select"
msgstr "Búsqueda/selección de autor"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:317
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:319
msgid "select other"
msgstr "seleccionar otro"
@@ -2782,7 +2786,7 @@ msgid "Pages can be set or removed from Top Level by:"
msgstr "Las páginas pueden ser creadas o eliminadas del nivel superior por:"
#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:52
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:347
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:350
msgid "Specified element IDs also require the following site-wide Role:"
msgstr ""
"Los IDs de elementos especificados también requieren el siguiente perfil a "
@@ -2843,95 +2847,99 @@ msgid "Order Page Parent dropdown by Title"
msgstr "Ordenar el desplegable de los padres de la página por el título"
#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:66
+msgid "Page Parent selection for editable pages only"
+msgstr "Selección del padre de página solo para páginas editables"
+
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:67
msgid "Auto-assign available term if default term is unavailable"
msgstr ""
"Asignación automática de términos disponibles si el término por defecto no "
"está disponible"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:67
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:68
msgid "Bulk-Add Author Pages (on Users screen)"
msgstr "Añadir páginas de autor por lote (en la pantalla de Usuarios)"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:68
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:69
msgid "Publish Author Pages at bulk creation"
msgstr "Publicar páginas de autor en la creación en lote"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:69
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:70
msgid "Fork published posts only"
msgstr "Bifurcar sólo las entradas publicadas"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:70
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:71
msgid "Forking enforces edit_others_posts capability"
msgstr "La bifurcación hace cumplir la capacidad de `edit_others_posts`"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:71
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:72
msgid "Add taxonomy columns to Edit Posts screen"
msgstr "Añadir columnas de taxonomías en la pantalla de «Editar entradas»"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:72
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:73
msgid "Non-Administrators can set Editing Permissions for their editable posts"
msgstr ""
"Los no administradores pueden establecer permisos de edición para sus "
"entradas editables"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:73
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:74
msgid "Assign Publish Permissions separate from Edit Permissions"
msgstr "Asignar permisos de publicación separados de los permisos de edición"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:194
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:195
msgid "lock"
msgstr "bloqueado"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:265
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:268
msgid "no Page Parent filter"
msgstr "no hay filtro de página principal"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:265
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:268
msgid "Page Authors, Editors and Administrators"
msgstr "Autores, editores y administradores de páginas"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:265
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:268
msgid "Page Editors and Administrators"
msgstr "Editores y administradores de páginas"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:265
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:268
msgid "Administrators"
msgstr "Administradores"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:306
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:309
msgid "Edit Form HTML IDs:"
msgstr "Editar los IDs HTML de los formularios:"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:316
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:319
msgid "%1$s sample IDs:%2$s %3$s"
msgstr "%1$s muestra de IDs:%2$s %3$s"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:349
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:356
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:352
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:359
msgid "Content Administrator"
msgstr "Administrador de contenidos"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:352
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:355
msgid "no requirement"
msgstr "ningún requisito"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:353
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:356
msgid "Contributor / Author / Editor"
msgstr "Colaborador/Autor/Editor"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:354
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:357
msgid "Author / Editor"
msgstr "Autor/Editor"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:357
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:360
msgid "User Administrator"
msgstr "Administrador de usuarios"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:358
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:361
msgid "Option Administrator"
msgstr "Administrador de opciones"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:394
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:397
msgid ""
"The following settings apply to users who have the upload_files or "
"edit_files capability:"
@@ -2939,23 +2947,23 @@ msgstr ""
"Los siguientes ajustes se aplican a los usuarios que tienen la capacidad "
"`upload_files` o `edit_files`:"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:446
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:449
msgid "User editing capabilities apply for"
msgstr "Las capacidades de edición del usuario se aplican para"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:449
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:452
msgid "any user"
msgstr "todos los usuarios"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:449
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:452
msgid "equal or lower role levels"
msgstr "niveles de perfil iguales o inferiores"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:449
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:452
msgid "lower role levels"
msgstr "niveles de perfil inferiores"
-#: modules/presspermit-collaboration/classes/Permissions/CollabHooks.php:635
+#: modules/presspermit-collaboration/classes/Permissions/CollabHooks.php:640
msgid "You are not allowed to create new %s"
msgstr "No estás autorizado a crear nueva %s"
diff --git a/languages/press-permit-core-fr_FR.mo b/languages/press-permit-core-fr_FR.mo
index 2632ba14..b6a6d84a 100644
Binary files a/languages/press-permit-core-fr_FR.mo and b/languages/press-permit-core-fr_FR.mo differ
diff --git a/languages/press-permit-core-fr_FR.po b/languages/press-permit-core-fr_FR.po
index 028808b9..0db4692a 100644
--- a/languages/press-permit-core-fr_FR.po
+++ b/languages/press-permit-core-fr_FR.po
@@ -5,8 +5,8 @@ msgstr ""
"Project-Id-Version: Plugins - PublishPress Permissions: Control User Access "
"for Posts, Pages, Categories, Tags - Stable (latest release)\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
-"POT-Creation-Date: 2024-07-01T15:33:44+00:00\n"
-"PO-Revision-Date: 2024-07-01 23:54+0200\n"
+"POT-Creation-Date: 2024-09-16T16:07:26+00:00\n"
+"PO-Revision-Date: 2024-09-16 23:38+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr\n"
@@ -314,52 +314,52 @@ msgstr "Contact"
msgid "Permission Group"
msgstr "Groupe de droits"
-#: classes/PublishPress/Permissions/DB/Groups.php:451
+#: classes/PublishPress/Permissions/DB/Groups.php:446
msgid "Logged In"
msgstr "Connecté"
-#: classes/PublishPress/Permissions/DB/Groups.php:454
+#: classes/PublishPress/Permissions/DB/Groups.php:449
msgid "Not Logged In"
msgstr "Déconnecté"
-#: classes/PublishPress/Permissions/DB/Groups.php:457
+#: classes/PublishPress/Permissions/DB/Groups.php:452
msgid "Everyone"
msgstr "Tout le monde"
-#: classes/PublishPress/Permissions/DB/Groups.php:462
-#: classes/PublishPress/Permissions/DB/Groups.php:477
+#: classes/PublishPress/Permissions/DB/Groups.php:457
+#: classes/PublishPress/Permissions/DB/Groups.php:472
msgid "Change Request Notifications"
msgstr "Notifications de demande de modification"
-#: classes/PublishPress/Permissions/DB/Groups.php:462
-#: classes/PublishPress/Permissions/DB/Groups.php:477
+#: classes/PublishPress/Permissions/DB/Groups.php:457
+#: classes/PublishPress/Permissions/DB/Groups.php:472
msgid "Pending Revision Monitors"
msgstr "Moniteurs de révision en attente"
-#: classes/PublishPress/Permissions/DB/Groups.php:466
-#: classes/PublishPress/Permissions/DB/Groups.php:481
+#: classes/PublishPress/Permissions/DB/Groups.php:461
+#: classes/PublishPress/Permissions/DB/Groups.php:476
msgid "Scheduled Change Notifications"
msgstr "Notifications de modification planifiées"
-#: classes/PublishPress/Permissions/DB/Groups.php:466
-#: classes/PublishPress/Permissions/DB/Groups.php:481
+#: classes/PublishPress/Permissions/DB/Groups.php:461
+#: classes/PublishPress/Permissions/DB/Groups.php:476
msgid "Scheduled Revision Monitors"
msgstr "Moniteurs de révision planifiée"
-#: classes/PublishPress/Permissions/DB/Groups.php:494
+#: classes/PublishPress/Permissions/DB/Groups.php:489
msgid "Authenticated site users (logged in)"
msgstr "Utilisateurs/utilisatrices authentifiés du site (connectés)"
-#: classes/PublishPress/Permissions/DB/Groups.php:497
+#: classes/PublishPress/Permissions/DB/Groups.php:492
msgid "Anonymous users (not logged in)"
msgstr "Utilisateurs/utilisatrices anonymes (déconnectés)"
-#: classes/PublishPress/Permissions/DB/Groups.php:500
+#: classes/PublishPress/Permissions/DB/Groups.php:495
msgid "All users (including anonymous)"
msgstr ""
"Tous les utilisateurs et toutes les utilisatrices (y compris les anonymes)"
-#: classes/PublishPress/Permissions/DB/Groups.php:506
+#: classes/PublishPress/Permissions/DB/Groups.php:501
msgid "All users with the WordPress role of %s"
msgstr ""
"Tous les utilisateurs et toutes les utilisatrices ayant le rôle WordPress de "
@@ -417,7 +417,7 @@ msgstr "Groupes personnalisés"
#: classes/PublishPress/Permissions/Groups.php:56
#: classes/PublishPress/Permissions/UI/Dashboard/DashboardFilters.php:265
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:95
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:93
#: modules/presspermit-import/classes/Permissions/Import/DB/RoleScoper.php:27
msgid "Groups"
msgstr "Groupes"
@@ -481,14 +481,14 @@ msgid "selected:"
msgstr "sélectionné :"
#: classes/PublishPress/Permissions/UI/AgentExceptionsAjax.php:154
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:199
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:203
#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/AjaxUI.php:133
msgid "Nav Menus (Legacy)"
msgstr "Menus de navigation (ancien)"
#: classes/PublishPress/Permissions/UI/AgentExceptionsAjax.php:156
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:873
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:201
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:205
#: modules/presspermit-collaboration/classes/Permissions/Collab/AdminFilters.php:215
#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/AjaxUI.php:135
msgid "Legacy"
@@ -619,6 +619,10 @@ msgstr "Nom :"
msgid "Primary Role:"
msgstr "Rôle principal :"
+#: classes/PublishPress/Permissions/UI/AgentPermissions.php:247
+msgid "Description:"
+msgstr "Description :"
+
#: classes/PublishPress/Permissions/UI/AgentPermissions.php:264
msgid "Update Group"
msgstr "Mettre à jour le groupe"
@@ -812,7 +816,7 @@ msgstr "Menu de navigation (bloc)"
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:98
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:867
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:207
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:211
msgid "Block"
msgstr "Bloc"
@@ -1062,7 +1066,7 @@ msgid "* %s"
msgstr "* %s"
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1062
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:71
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:69
msgid "Remove"
msgstr "Retirer"
@@ -1328,7 +1332,7 @@ msgid "select groups"
msgstr "sélectionner groupes"
#: classes/PublishPress/Permissions/UI/Dashboard/ItemExceptionsUI.php:267
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:318
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:320
msgid "close"
msgstr "fermer"
@@ -1363,7 +1367,7 @@ msgstr ""
"ultérieure pour l’intégration de Permissions."
#: classes/PublishPress/Permissions/UI/Dashboard/PostEdit.php:76
-#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:314
+#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:312
#: classes/PublishPress/Permissions/UI/Settings.php:84
msgid "Permissions Settings"
msgstr "Réglages des droits"
@@ -1381,7 +1385,7 @@ msgid "Permissions: %s this %s"
msgstr "Droits : %s cette %s"
#: classes/PublishPress/Permissions/UI/Dashboard/PostEdit.php:164
-#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:338
+#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:336
msgid "enable custom permissions for %s"
msgstr "activer les droits avancés pour %s"
@@ -1473,7 +1477,7 @@ msgstr "Droits : %1$s cette %2$s"
msgid "Update"
msgstr "Mettre à jour"
-#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:373
+#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:371
msgid ""
"Displayed permissions are those assigned for the \"%1$s\" type. You can also "
"%2$sdefine universal %3$s permissions which apply to all related post "
@@ -1505,53 +1509,53 @@ msgstr "%1$s Droits %2$s*%3$s"
msgid "Universal Permissions"
msgstr "Droits universels"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:49
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:52
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:47
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:50
msgid "Permissions…"
msgstr "Droits…"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:61
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:59
msgid "Add"
msgstr "Ajouter"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:65
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:63
msgid "Add selected users to Permission Group"
msgstr "Ajouter utilisateurs/utilisatrices sélectionné(e)s au groupe de droits"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:75
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:73
msgid "Remove selected users from Permission Group"
msgstr "Retirer utilisateurs/utilisatrices sélectionné(e)s du groupe de droits"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:83
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:81
msgid "Click to show only users who have no group"
msgstr ""
"Cliquez pour afficher utilisateurs/utilisatrices qui n’ont pas un groupe "
"uniquement"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:90
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:88
msgid "%1$s(x)%2$s"
msgstr "%1$s(x)%2$s"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:97
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:95
msgid "Click to show only users who have supplemental roles"
msgstr ""
"Cliquez pour afficher uniquement les comptes qui ont des rôles "
"supplémentaires uniquement"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:101
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:99
msgid "Roles %1$s*%2$s"
msgstr "Rôles %1$s*%2$s"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:112
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:110
msgid "Click to show only users who have specific permissions"
msgstr ""
"Cliquez pour afficher uniquement les comptes qui ont des droits spécifiques"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:116
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:114
msgid "Specific Permissions %1$s*%2$s"
msgstr "Droits spécifiques %1$s*%2$s"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:255
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:253
msgid "%s more"
msgstr "%s de plus"
@@ -2139,11 +2143,11 @@ msgstr "Modifiez les droits pour ces taxonomies :"
msgid "Modify permissions for these Post Types:"
msgstr "Modifiez les droits pour ces types de publication :"
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:205
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:209
msgid "Nav Menus (Block)"
msgstr "Menus de navigation (bloc)"
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:238
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:242
msgid ""
"%1$sNote%2$s: This causes type-specific capabilities to be required for "
"editing (\"edit_things\" instead of \"edit_posts\"). You can %3$sassign "
@@ -2155,7 +2159,7 @@ msgstr ""
"%3$sassigner des rôles supplémentaires%4$s pour le type de publication ou "
"ajouter les permissions directement à un rôle WordPress."
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:287
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:291
msgid ""
"%1$sNote:%2$s If enabled, the create_posts, create_pages, etc. capabilities "
"will be enforced for all Filtered Post Types. You can %3$sadd these "
@@ -2166,7 +2170,7 @@ msgstr ""
"filtrées. Vous pouvez %3$sajouter ces capacités à tout rôle%4$s qui en a "
"besoin."
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:300
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:304
msgid ""
"%1$sNote:%2$s If enabled, the create_posts, create_pages, etc. capabilities "
"will be enforced for all Filtered Post Types. You can use a WordPress role "
@@ -2179,7 +2183,7 @@ msgstr ""
"%3$sPublishPress Capabilities%4$s pour ajouter ces capacités à tout rôle qui "
"en a besoin."
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:325
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:329
msgid ""
"%1$sNote:%2$s If enabled, users cannot add previously non-existant tags to a "
"post unless their role includes the Edit capability for its taxonomy. You "
@@ -2192,7 +2196,7 @@ msgstr ""
"taxonomie concernée. Vous pouvez ajouter ces capacités dans « Capacités »> "
"« Capacités »> « Taxonomies »%4$s pour tous les rôles qui en ont besoin."
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:338
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:342
msgid ""
"%1$sNote:%2$s If enabled, users cannot add previously non-existent tags to a "
"post unless their role includes the Edit capability for its taxonomy. You "
@@ -2206,7 +2210,7 @@ msgstr ""
"%3$sPublishPress Capabilities%4$s pour ajouter ces capacités à tout rôle qui "
"en a besoin."
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:404
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:408
msgid "%sPosts / Pages Listing:%s %s"
msgstr "%sListe des publications/pages : %s %s"
@@ -2536,19 +2540,19 @@ msgstr "(non publié)"
msgid "You are not permitted to manage menu locations"
msgstr "Vous n’êtes pas autorisé à gérer les emplacements des menus"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:86
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:88
msgid "Post Approved"
msgstr "Publication approuvée"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:87
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:89
msgid "Page Approved"
msgstr "Page approuvée"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:291
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:293
msgid "Author Search / Select"
msgstr "Recherche/sélection des auteurs/autrices"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:317
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:319
msgid "select other"
msgstr "sélectionnez autre"
@@ -2818,7 +2822,7 @@ msgid "Pages can be set or removed from Top Level by:"
msgstr "Les pages peuvent être placées ou retirées du niveau supérieur par :"
#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:52
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:347
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:350
msgid "Specified element IDs also require the following site-wide Role:"
msgstr ""
"Les ID d’éléments spécifiés nécessitent également le rôle suivant pour "
@@ -2886,98 +2890,102 @@ msgid "Order Page Parent dropdown by Title"
msgstr "Trier la liste déroulante des pages parentes par titre"
#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:66
+msgid "Page Parent selection for editable pages only"
+msgstr "Sélection de la page parent pour les pages modifiables uniquement"
+
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:67
msgid "Auto-assign available term if default term is unavailable"
msgstr ""
"Assignation automatique d’un terme disponible si le terme par défaut n’est "
"pas disponible"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:67
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:68
msgid "Bulk-Add Author Pages (on Users screen)"
msgstr "Ajout groupé de pages d’auteur/autrice (sur l’écran Utilisateurs)"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:68
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:69
msgid "Publish Author Pages at bulk creation"
msgstr "Publiez les pages d’auteur/autrice lors de la création groupée"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:69
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:70
msgid "Fork published posts only"
msgstr "Cloner les publications publiées uniquement"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:70
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:71
msgid "Forking enforces edit_others_posts capability"
msgstr "Le clonage applique la permission edit_others_posts"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:71
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:72
msgid "Add taxonomy columns to Edit Posts screen"
msgstr "Ajouter les colonnes de taxonomies sur l’écran Modifier publications"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:72
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:73
msgid "Non-Administrators can set Editing Permissions for their editable posts"
msgstr ""
"Les non-administrateurs/non-administratrices peuvent definir les droits de "
"modification pour leur publications modifiables"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:73
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:74
msgid "Assign Publish Permissions separate from Edit Permissions"
msgstr ""
"Assigner les droits de publication séparément des droits de modification"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:194
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:195
msgid "lock"
msgstr "bloquer"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:265
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:268
msgid "no Page Parent filter"
msgstr "acun filtre de page parent"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:265
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:268
msgid "Page Authors, Editors and Administrators"
msgstr ""
"Auteurs/autrices, editeurs/éditrices et administrateurs/administratrices de "
"pages"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:265
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:268
msgid "Page Editors and Administrators"
msgstr "Éditeurs/éditrices et administrateurs/administratrices de pages"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:265
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:268
msgid "Administrators"
msgstr "Administrateurs/administratrices"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:306
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:309
msgid "Edit Form HTML IDs:"
msgstr "Modifier les ID HTML du formulaire :"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:316
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:319
msgid "%1$s sample IDs:%2$s %3$s"
msgstr "%1$s exemples d’ID : %2$s %3$s"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:349
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:356
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:352
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:359
msgid "Content Administrator"
msgstr "Administrateur/administratrice de contenu"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:352
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:355
msgid "no requirement"
msgstr "aucune obligation"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:353
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:356
msgid "Contributor / Author / Editor"
msgstr "Contributeur/contributrice / auteur/autrices / éditeur/éditrice"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:354
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:357
msgid "Author / Editor"
msgstr "Auteur/autrice / éditeur/éditrice"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:357
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:360
msgid "User Administrator"
msgstr "Administrateur/administratrice de comptes"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:358
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:361
msgid "Option Administrator"
msgstr "Administrateur/administratrice des options"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:394
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:397
msgid ""
"The following settings apply to users who have the upload_files or "
"edit_files capability:"
@@ -2986,23 +2994,23 @@ msgstr ""
"permission de téléverser des fichiers (upload_files) ou de modifier des "
"fichiers (edit_files) :"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:446
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:449
msgid "User editing capabilities apply for"
msgstr "Les permissions de modification du compte s’appliquent à"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:449
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:452
msgid "any user"
msgstr "tout(e) utilisateur/utilisatrice"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:449
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:452
msgid "equal or lower role levels"
msgstr "niveaux de rôle égaux ou inférieurs"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:449
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:452
msgid "lower role levels"
msgstr "niveaux de rôle inférieurs"
-#: modules/presspermit-collaboration/classes/Permissions/CollabHooks.php:635
+#: modules/presspermit-collaboration/classes/Permissions/CollabHooks.php:640
msgid "You are not allowed to create new %s"
msgstr "Vous n’êtes pas autorisé à créer nouveaux %s"
diff --git a/languages/press-permit-core-it_IT.mo b/languages/press-permit-core-it_IT.mo
index 3af002bf..5ed05e98 100644
Binary files a/languages/press-permit-core-it_IT.mo and b/languages/press-permit-core-it_IT.mo differ
diff --git a/languages/press-permit-core-it_IT.po b/languages/press-permit-core-it_IT.po
index e0e3672f..73a33d0f 100644
--- a/languages/press-permit-core-it_IT.po
+++ b/languages/press-permit-core-it_IT.po
@@ -5,8 +5,8 @@ msgstr ""
"Project-Id-Version: Plugins - PublishPress Permissions: Control User Access "
"for Posts, Pages, Categories, Tags - Stable (latest release)\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
-"POT-Creation-Date: 2024-07-01T15:33:44+00:00\n"
-"PO-Revision-Date: 2024-07-01 23:52+0200\n"
+"POT-Creation-Date: 2024-09-16T16:07:26+00:00\n"
+"PO-Revision-Date: 2024-09-16 23:37+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: it\n"
@@ -309,51 +309,51 @@ msgstr "Contatto"
msgid "Permission Group"
msgstr "Gruppo di autorizzazioni"
-#: classes/PublishPress/Permissions/DB/Groups.php:451
+#: classes/PublishPress/Permissions/DB/Groups.php:446
msgid "Logged In"
msgstr "Connesso"
-#: classes/PublishPress/Permissions/DB/Groups.php:454
+#: classes/PublishPress/Permissions/DB/Groups.php:449
msgid "Not Logged In"
msgstr "Disconnesso"
-#: classes/PublishPress/Permissions/DB/Groups.php:457
+#: classes/PublishPress/Permissions/DB/Groups.php:452
msgid "Everyone"
msgstr "Ognuno"
-#: classes/PublishPress/Permissions/DB/Groups.php:462
-#: classes/PublishPress/Permissions/DB/Groups.php:477
+#: classes/PublishPress/Permissions/DB/Groups.php:457
+#: classes/PublishPress/Permissions/DB/Groups.php:472
msgid "Change Request Notifications"
msgstr "Notifiche di richieste di cambiamento"
-#: classes/PublishPress/Permissions/DB/Groups.php:462
-#: classes/PublishPress/Permissions/DB/Groups.php:477
+#: classes/PublishPress/Permissions/DB/Groups.php:457
+#: classes/PublishPress/Permissions/DB/Groups.php:472
msgid "Pending Revision Monitors"
msgstr "Monitoraggio delle revisioni in sospeso"
-#: classes/PublishPress/Permissions/DB/Groups.php:466
-#: classes/PublishPress/Permissions/DB/Groups.php:481
+#: classes/PublishPress/Permissions/DB/Groups.php:461
+#: classes/PublishPress/Permissions/DB/Groups.php:476
msgid "Scheduled Change Notifications"
msgstr "Notifiche di cambiamenti programmati"
-#: classes/PublishPress/Permissions/DB/Groups.php:466
-#: classes/PublishPress/Permissions/DB/Groups.php:481
+#: classes/PublishPress/Permissions/DB/Groups.php:461
+#: classes/PublishPress/Permissions/DB/Groups.php:476
msgid "Scheduled Revision Monitors"
msgstr "Monitoraggio delle revisioni programmate"
-#: classes/PublishPress/Permissions/DB/Groups.php:494
+#: classes/PublishPress/Permissions/DB/Groups.php:489
msgid "Authenticated site users (logged in)"
msgstr "Utenti autenticati del sito (connessi)"
-#: classes/PublishPress/Permissions/DB/Groups.php:497
+#: classes/PublishPress/Permissions/DB/Groups.php:492
msgid "Anonymous users (not logged in)"
msgstr "Utenti anonimi (disconnessi)"
-#: classes/PublishPress/Permissions/DB/Groups.php:500
+#: classes/PublishPress/Permissions/DB/Groups.php:495
msgid "All users (including anonymous)"
msgstr "Tutti gli utenti (incluso gli anonimi)"
-#: classes/PublishPress/Permissions/DB/Groups.php:506
+#: classes/PublishPress/Permissions/DB/Groups.php:501
msgid "All users with the WordPress role of %s"
msgstr "Tutti gli utenti con il ruolo in WordPress di %s"
@@ -408,7 +408,7 @@ msgstr "Gruppi personalizzati"
#: classes/PublishPress/Permissions/Groups.php:56
#: classes/PublishPress/Permissions/UI/Dashboard/DashboardFilters.php:265
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:95
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:93
#: modules/presspermit-import/classes/Permissions/Import/DB/RoleScoper.php:27
msgid "Groups"
msgstr "Gruppi"
@@ -472,14 +472,14 @@ msgid "selected:"
msgstr "selezionato:"
#: classes/PublishPress/Permissions/UI/AgentExceptionsAjax.php:154
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:199
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:203
#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/AjaxUI.php:133
msgid "Nav Menus (Legacy)"
msgstr "Menu di navigaazione (legacy)"
#: classes/PublishPress/Permissions/UI/AgentExceptionsAjax.php:156
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:873
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:201
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:205
#: modules/presspermit-collaboration/classes/Permissions/Collab/AdminFilters.php:215
#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/AjaxUI.php:135
msgid "Legacy"
@@ -610,6 +610,10 @@ msgstr "Nome:"
msgid "Primary Role:"
msgstr "Ruolo primario:"
+#: classes/PublishPress/Permissions/UI/AgentPermissions.php:247
+msgid "Description:"
+msgstr "Descrizione:"
+
#: classes/PublishPress/Permissions/UI/AgentPermissions.php:264
msgid "Update Group"
msgstr "Aggiorna gruppo"
@@ -797,7 +801,7 @@ msgstr "Menu navigazione (blocco)"
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:98
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:867
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:207
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:211
msgid "Block"
msgstr "Blocco"
@@ -1047,7 +1051,7 @@ msgid "* %s"
msgstr "* %s"
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1062
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:71
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:69
msgid "Remove"
msgstr "Rimuovi"
@@ -1312,7 +1316,7 @@ msgid "select groups"
msgstr "seleziona gruppi"
#: classes/PublishPress/Permissions/UI/Dashboard/ItemExceptionsUI.php:267
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:318
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:320
msgid "close"
msgstr "chiudi"
@@ -1347,7 +1351,7 @@ msgstr ""
"l'integrazione con Permissions (Autorizzazioni)."
#: classes/PublishPress/Permissions/UI/Dashboard/PostEdit.php:76
-#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:314
+#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:312
#: classes/PublishPress/Permissions/UI/Settings.php:84
msgid "Permissions Settings"
msgstr "Impostazioni delle autorizzazioni"
@@ -1365,7 +1369,7 @@ msgid "Permissions: %s this %s"
msgstr "Autorizzazioni: %s questo %s"
#: classes/PublishPress/Permissions/UI/Dashboard/PostEdit.php:164
-#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:338
+#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:336
msgid "enable custom permissions for %s"
msgstr "abilita autorizzazioni personalizzate per %s"
@@ -1455,7 +1459,7 @@ msgstr "Autorizzazioni: %1$s questo %2$s"
msgid "Update"
msgstr "Aggiorna"
-#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:373
+#: classes/PublishPress/Permissions/UI/Dashboard/TermEdit.php:371
msgid ""
"Displayed permissions are those assigned for the \"%1$s\" type. You can also "
"%2$sdefine universal %3$s permissions which apply to all related post "
@@ -1487,50 +1491,50 @@ msgstr "%1$s Autorizzazioni %2$s*%3$s"
msgid "Universal Permissions"
msgstr "Autorizzazioni universali"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:49
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:52
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:47
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:50
msgid "Permissions…"
msgstr "Autorizzazioni…"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:61
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:59
msgid "Add"
msgstr "Aggiungi"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:65
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:63
msgid "Add selected users to Permission Group"
msgstr "Aggiungi gli utenti selezionati al gruppo di autorizzazioni"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:75
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:73
msgid "Remove selected users from Permission Group"
msgstr "Rimuovi gli utenti selezionati dal gruppo di autorizzazioni"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:83
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:81
msgid "Click to show only users who have no group"
msgstr "Fai clic per mostrare solo gli utenti che non hanno un gruppo"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:90
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:88
msgid "%1$s(x)%2$s"
msgstr "%1$s(x)%2$s"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:97
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:95
msgid "Click to show only users who have supplemental roles"
msgstr ""
"Fai clic per mostrare solo gli utenti che hanno dei ruoli supplementari"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:101
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:99
msgid "Roles %1$s*%2$s"
msgstr "Ruoli %1$s*%2$s"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:112
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:110
msgid "Click to show only users who have specific permissions"
msgstr ""
"Fai clic per visualizzare solo gli utenti che hanno autorizzazioni specifiche"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:116
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:114
msgid "Specific Permissions %1$s*%2$s"
msgstr "Autorizzazioni specifiche %1$s*%2$s"
-#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:255
+#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:253
msgid "%s more"
msgstr "%s altro"
@@ -2109,11 +2113,11 @@ msgstr "Modifica le autorizzazioni per queste tassonomie:"
msgid "Modify permissions for these Post Types:"
msgstr "Modifica le autorizzazioni per questi tipi di articoli:"
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:205
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:209
msgid "Nav Menus (Block)"
msgstr "Menu di navigazione (blocco)"
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:238
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:242
msgid ""
"%1$sNote%2$s: This causes type-specific capabilities to be required for "
"editing (\"edit_things\" instead of \"edit_posts\"). You can %3$sassign "
@@ -2125,7 +2129,7 @@ msgstr ""
"Puoi %3$sassegnare ruoli supplementari%4$s per il tipo di contenuto oppure "
"aggiungere direttamente delle capacità a un ruolo WordPress."
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:287
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:291
msgid ""
"%1$sNote:%2$s If enabled, the create_posts, create_pages, etc. capabilities "
"will be enforced for all Filtered Post Types. You can %3$sadd these "
@@ -2135,7 +2139,7 @@ msgstr ""
"verranno aumentate le capacità di tutti i tipi di contenuto filtrati. Puoi "
"%3$saggiungere queste capacità a ciascun ruolo%4$s che desideri."
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:300
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:304
msgid ""
"%1$sNote:%2$s If enabled, the create_posts, create_pages, etc. capabilities "
"will be enforced for all Filtered Post Types. You can use a WordPress role "
@@ -2147,7 +2151,7 @@ msgstr ""
"utilizzare un editor di ruoli come %3$sPublishPress Capabilities%4$s per "
"aggiungere queste capacità a ciascun ruolo che desideri."
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:325
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:329
msgid ""
"%1$sNote:%2$s If enabled, users cannot add previously non-existant tags to a "
"post unless their role includes the Edit capability for its taxonomy. You "
@@ -2159,7 +2163,7 @@ msgstr ""
"includa la capacità di modifica della tassonomia. Puoi %3$saggiungere queste "
"capacità Capacità > Capacità > Tassonomie%4$s per ciascun ruolo che desideri."
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:338
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:342
msgid ""
"%1$sNote:%2$s If enabled, users cannot add previously non-existent tags to a "
"post unless their role includes the Edit capability for its taxonomy. You "
@@ -2172,7 +2176,7 @@ msgstr ""
"di ruoli di WordPress come %3$sPublishPress Capabilities%4$s per aggiungere "
"queste capacità a ciascun ruolo che desideri."
-#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:404
+#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:408
msgid "%sPosts / Pages Listing:%s %s"
msgstr "%sElenco di articoli/pagine:%s %s"
@@ -2504,19 +2508,19 @@ msgstr "(non pubblicato)"
msgid "You are not permitted to manage menu locations"
msgstr "Non sei autorizzato a gestire le posizioni dei menu"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:86
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:88
msgid "Post Approved"
msgstr "Articolo approvato"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:87
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:89
msgid "Page Approved"
msgstr "Pagina approvata"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:291
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:293
msgid "Author Search / Select"
msgstr "Ricerca/seleziona autore"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:317
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:319
msgid "select other"
msgstr "seleziona un altro"
@@ -2784,7 +2788,7 @@ msgstr ""
"Le pagine possono essere impostate o rimosse dal primo livello tramite:"
#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:52
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:347
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:350
msgid "Specified element IDs also require the following site-wide Role:"
msgstr ""
"Gli ID elemento specificati richiedono anche il seguente ruolo a livello di "
@@ -2845,96 +2849,100 @@ msgid "Order Page Parent dropdown by Title"
msgstr "Ordina menu a discesa delle pagine genitore per titolo"
#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:66
+msgid "Page Parent selection for editable pages only"
+msgstr "Selezione della pagina genitore solo per le pagine modificabili"
+
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:67
msgid "Auto-assign available term if default term is unavailable"
msgstr ""
"Assegnazione automatica di un termine disponibile se il termine predefinito "
"non è disponibile"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:67
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:68
msgid "Bulk-Add Author Pages (on Users screen)"
msgstr "Aggiunta in blocco di pagine autore (nella schermata Utenti)"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:68
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:69
msgid "Publish Author Pages at bulk creation"
msgstr "Pubblica pagine autore durante la creazione di massa"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:69
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:70
msgid "Fork published posts only"
msgstr "Clona soltanto gli articoli pubblicati"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:70
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:71
msgid "Forking enforces edit_others_posts capability"
msgstr "La clonazione impone la capacità edit_others_posts"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:71
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:72
msgid "Add taxonomy columns to Edit Posts screen"
msgstr ""
"Aggiungere delle colonne di tassonomie nella schermata modifica articoli"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:72
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:73
msgid "Non-Administrators can set Editing Permissions for their editable posts"
msgstr ""
"I non amministratori possono impostare le autorizzazioni di modifica per i "
"loro articoli modificabili"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:73
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:74
msgid "Assign Publish Permissions separate from Edit Permissions"
msgstr "Assegna pubblicazione separate dalle autorizzazioni di modifica"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:194
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:195
msgid "lock"
msgstr "bloccare"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:265
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:268
msgid "no Page Parent filter"
msgstr "nessun filtro pagina genitore"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:265
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:268
msgid "Page Authors, Editors and Administrators"
msgstr "Autori, editor di pagine e amministratori"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:265
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:268
msgid "Page Editors and Administrators"
msgstr "Editor di pagine e amministratori"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:265
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:268
msgid "Administrators"
msgstr "Amministratori"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:306
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:309
msgid "Edit Form HTML IDs:"
msgstr "Modifica ID HTML modulo:"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:316
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:319
msgid "%1$s sample IDs:%2$s %3$s"
msgstr "%1$s ID campione:%2$s %3$s"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:349
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:356
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:352
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:359
msgid "Content Administrator"
msgstr "Amministratore dei contenuti"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:352
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:355
msgid "no requirement"
msgstr "nessun requisito"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:353
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:356
msgid "Contributor / Author / Editor"
msgstr "Collaboratore/Autore/Editore"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:354
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:357
msgid "Author / Editor"
msgstr "Autore/Editore"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:357
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:360
msgid "User Administrator"
msgstr "Utente amministratore"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:358
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:361
msgid "Option Administrator"
msgstr "Opzione amministratore"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:394
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:397
msgid ""
"The following settings apply to users who have the upload_files or "
"edit_files capability:"
@@ -2942,23 +2950,23 @@ msgstr ""
"Le impostazioni seguenti si applicano agli utenti che hanno la competenza "
"upload_files oppure edit_files:"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:446
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:449
msgid "User editing capabilities apply for"
msgstr "Le capacità di modifica utente si applicano per"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:449
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:452
msgid "any user"
msgstr "qualsiasi utente"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:449
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:452
msgid "equal or lower role levels"
msgstr "livelli di ruolo uguali o inferiori"
-#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:449
+#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:452
msgid "lower role levels"
msgstr "livelli di ruolo inferiori"
-#: modules/presspermit-collaboration/classes/Permissions/CollabHooks.php:635
+#: modules/presspermit-collaboration/classes/Permissions/CollabHooks.php:640
msgid "You are not allowed to create new %s"
msgstr "Non hai i permessi per creare nuove %s"
diff --git a/languages/press-permit-core.pot b/languages/press-permit-core.pot
index 18bfefa9..053caecc 100644
--- a/languages/press-permit-core.pot
+++ b/languages/press-permit-core.pot
@@ -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.29\n"
+"Project-Id-Version: PublishPress Permissions 4.0.30\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"POT-Creation-Date: 2024-09-16T16:07:26+00:00\n"
+"POT-Creation-Date: 2024-09-25T17:53:44+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.10.0\n"
"X-Domain: press-permit-core\n"
@@ -340,7 +340,7 @@ msgid "Block:"
msgstr ""
#: classes/PublishPress/Permissions/UI/AgentExceptionsAjax.php:115
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1410
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1423
msgid "Limit to:"
msgstr ""
@@ -355,7 +355,7 @@ msgid "Nav Menus (Legacy)"
msgstr ""
#: classes/PublishPress/Permissions/UI/AgentExceptionsAjax.php:156
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:873
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:874
#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:205
#: modules/presspermit-collaboration/classes/Permissions/Collab/AdminFilters.php:215
#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/AjaxUI.php:135
@@ -365,7 +365,7 @@ msgstr ""
#: classes/PublishPress/Permissions/UI/AgentExceptionsAjax.php:160
#: classes/PublishPress/Permissions/UI/AgentExceptionsAjax.php:173
#: classes/PublishPress/Permissions/UI/AgentExceptionsAjax.php:179
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:977
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:978
msgid "%s:"
msgstr ""
@@ -378,9 +378,9 @@ msgid "sub-%s:"
msgstr ""
#: classes/PublishPress/Permissions/UI/AgentExceptionsAjax.php:247
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:106
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:169
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1047
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:107
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:170
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1048
msgid "(all)"
msgstr ""
@@ -508,17 +508,17 @@ msgid "View currently stored user permissions:"
msgstr ""
#: classes/PublishPress/Permissions/UI/AgentPermissions.php:381
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:220
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:222
msgid "%1$sUsers who have Supplemental Roles assigned directly%2$s"
msgstr ""
#: classes/PublishPress/Permissions/UI/AgentPermissions.php:382
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:221
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:223
msgid "%1$sUsers who have Specific Permissions assigned directly%2$s"
msgstr ""
#: classes/PublishPress/Permissions/UI/AgentPermissions.php:383
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:222
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:224
msgid "%1$sUsers who have Supplemental Roles or Specific Permissions directly%2$s"
msgstr ""
@@ -548,7 +548,7 @@ msgstr ""
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:17
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:41
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:427
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:428
msgid "clear"
msgstr ""
@@ -578,7 +578,7 @@ msgid "Reload form for further changes to this role"
msgstr ""
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:40
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:471
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:472
msgid "Set Specific Permissions"
msgstr ""
@@ -603,20 +603,24 @@ msgid "Permissions mirrored. Reload form to view newly saved permissions."
msgstr ""
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:48
+msgid "Permissions converted. Reload form to view newly saved permissions."
+msgstr ""
+
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:49
msgid "No Qualification selected!"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:61
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:62
msgid "No items selected!"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:62
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:988
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:63
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:989
msgid "(no parent)"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:63
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:763
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:64
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:764
#: classes/PublishPress/Permissions/UI/ItemsMetabox.php:295
#: classes/PublishPress/Permissions/UI/ItemsMetabox.php:297
#: classes/PublishPress/Permissions/UI/ItemsMetabox.php:576
@@ -625,312 +629,324 @@ msgstr ""
msgid "(none)"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:68
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:69
msgid "No results found."
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:91
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:92
msgid "select..."
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:96
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:865
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:97
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:866
msgid "Nav Menu (Block)"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:98
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:867
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:99
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:868
#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:211
msgid "Block"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:111
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:112
msgid "n/a"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:127
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:251
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:390
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:421
-msgid "Post Type"
-msgstr ""
-
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:128
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:252
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:391
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:422
-msgid "Operation"
+msgid "Post Type"
msgstr ""
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:129
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:423
-msgid "Adjustment"
+msgid "Operation"
msgstr ""
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:130
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:424
-msgid "Qualification"
+msgid "Adjustment"
msgstr ""
#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:131
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:425
+msgid "Qualification"
+msgstr ""
+
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:132
msgid "Statuses"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:160
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:161
msgid "for item"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:183
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:184
msgid "Warning: Content hidden by these Permissions will be displayed if PP is deactivated. Consider setting a private Visibility on Edit Post screen instead."
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:217
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:218
msgid "To assign page-specific Permissions for editing, parent selection or term assignment, enable the Collaborative Publishing module."
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:229
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:230
msgid "To assign forum-specific Permissions for bbPress, activate the Compatibility Pack module."
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:232
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:233
msgid "To assign forum-specific Permissions for bbPress, %1$supgrade to Permissions Pro%2$s and enable the Compatibility Pack module."
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:252
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:391
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:253
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:392
msgid "Role"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:253
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:254
msgid "For Statuses"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:271
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:272
#: classes/PublishPress/Permissions/UI/AgentRolesAjax.php:78
#: classes/PublishPress/Permissions/UI/AgentRolesAjax.php:100
msgid "Standard statuses"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:276
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:277
msgid "Status: Private"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:281
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:282
msgid "Add Role"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:294
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:295
msgid "To assign roles for custom post statuses, activate the Status Control module."
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:297
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:298
msgid "To assign roles for custom post statuses, %1$supgrade to Permissions Pro%2$s and enable the Status Control module."
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:309
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:310
msgid "To assign roles for bbPress forums, activate the Compatibility Pack module."
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:312
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:313
msgid "To assign roles for bbPress forums, %1$supgrade to Permissions Pro%2$s and enable the Compatibility Pack module."
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:324
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:325
msgid "To assign page-specific PublishPress Revision permissions, enable the Collaborative Publishing module."
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:356
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:357
msgid "Select %s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:392
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:426
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:393
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:427
msgid "Status"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:402
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:403
msgid "Save Roles"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:439
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:440
msgid "Mirror all selections to other operation(s)"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:447
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:448
msgid "Save Permissions"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:469
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:470
msgid "Add Supplemental Roles"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:481
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:482
msgid "Clone"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:593
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:594
msgid "Supplemental Roles %1$s(for user)%2$s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:594
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:595
msgid "Supplemental Roles"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:626
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:834
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:627
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:835
msgid "Show Groups"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:663
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:664
msgid "Term Management"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:667
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:670
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:668
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:671
msgid "objects"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:668
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:669
msgid "Direct-Assigned"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:671
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:672
msgid "Disabled Type"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:676
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:677
msgid "%s Roles"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:715
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1168
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:716
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1181
msgid "Apply"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:754
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:755
#: classes/PublishPress/Permissions/UI/Dashboard/Profile.php:37
msgid "Specific Permissions %1$s(for user)%2$s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:755
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:756
msgid "Specific Permissions"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:871
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:872
#: modules/presspermit-collaboration/classes/Permissions/Collab/AdminFilters.php:213
msgid "Nav Menu (Legacy)"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:892
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:893
msgid "(all post types)"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:907
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:908
msgid "%1$s (%2$s: %3$s)"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:908
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:909
msgid "%1$s %2$s %3$s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:910
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:912
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:914
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:911
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:913
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:915
msgid "%1$s - %2$s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:945
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:946
msgid "unpublished"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:952
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:953
#: classes/PublishPress/Permissions/UI/Dashboard/ItemExceptionsUI.php:87
#: classes/PublishPress/Permissions/UI/Dashboard/Profile.php:281
#: classes/PublishPress/Permissions/UI/GroupsListTableBase.php:76
msgid "%1$s (%2$s)"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:959
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:960
msgid "* %s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1062
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1063
#: classes/PublishPress/Permissions/UI/Dashboard/UsersListing.php:69
msgid "Remove"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1066
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1067
msgid "Assign for selected and sub-%s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1070
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1071
msgid "Assign for selected %s only"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1074
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1075
msgid "Assign for sub-%s only"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1078
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1079
msgid "Assign for selected and sub-terms"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1082
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1083
msgid "Assign for selected term only"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1086
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1087
msgid "Assign for sub-terms only"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1150
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1098
+msgid "Convert to \"Enabled\""
+msgstr ""
+
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1099
+msgid "Convert to \"Blocked\""
+msgstr ""
+
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1100
+msgid "Convert to \"Limit to\""
+msgstr ""
+
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1157
msgid "Mirror to %s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1154
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1161
msgid "Mirror to %s %s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1186
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1199
msgid "* = Permissions redundant due to a corresponding "only these" entry"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1199
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1212
msgid "... = assigned for %1$s and sub-%1$s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1203
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1216
msgid "* = assigned for sub-%s only"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1216
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1229
msgid "Note: Permissions inherited from parent %1$s are not displayed. %2$sshow all%3$s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1226
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1239
msgid "Note: Permissions inherited from parent %1$s or terms are not displayed. %2$sshow all%3$s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1237
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1250
msgid " %1$sfix sub-%2$s permissions %3$s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1309
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1322
#: modules/presspermit-import/classes/Permissions/Import/DB/RoleScoper.php:27
msgid "Group Members"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1358
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1371
msgid "Copy Roles and Permissions from:"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1381
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1394
msgid "Do Clone"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1413
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1426
msgid "Blocked:"
msgstr ""
-#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1417
+#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:1430
msgid "Enabled:"
msgstr ""
@@ -1299,9 +1315,9 @@ msgstr ""
#: classes/PublishPress/Permissions/UI/GroupNew.php:103
#: classes/PublishPress/Permissions/UI/GroupsListTable.php:173
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:332
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:384
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:423
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:334
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:393
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:451
msgid "Description"
msgstr ""
@@ -1601,72 +1617,72 @@ msgstr ""
msgid "Bulk Add / Remove Groups on Users Screen"
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:133
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:135
msgid "note: Plugin settings and configuration data will be deleted, but only after the last copy of Permissions / Permissions Pro is deleted."
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:200
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:202
msgid "For user-specific Supplemental Roles and Permissions, click a \"Roles\" cell on the %1$sUsers%2$s screen."
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:211
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:213
msgid "To filter the Users list by Permissions, follow a link below:"
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:216
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:218
msgid "%1$sUsers who have no custom Permission Group membership%2$s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:226
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:228
msgid "%1$sUsers who have Supplemental Roles (directly or via group)%2$s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:227
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:229
msgid "%1$sUsers who have Specific Permissions (directly or via group)%2$s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:228
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:230
msgid "%1$sUsers who have Supplemental Roles or Specific Permissions (directly or via group)%2$s"
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:236
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:238
msgid "%sNote%s: If you don't see the Roles column on the Users screen, make sure it is enabled in Screen Options. "
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:281
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:283
msgid "To control the makeup of Supplemental Roles, see %1$sRole Usage%2$s."
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:331
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:333
msgid "Capability Name"
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:382
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:391
msgid "Defined Constant"
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:383
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:422
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:392
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:450
msgid "Setting"
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:421
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:449
msgid "Available Constant"
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:475
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:526
msgid "To modify one or more default settings network-wide, copy the following code into your theme's functions.php file (or some other file which is always executed and not auto-updated) and modify as desired:"
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:496
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:547
msgid "To force the value of one or more settings network-wide, copy the following code into your theme's functions.php file (or some other file which is always executed and not auto-updated) and modify as desired:"
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:529
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:580
msgid "All settings in this form (including those on undisplayed tabs) will be reset to DEFAULTS. Are you sure?"
msgstr ""
-#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:532
+#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:583
#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/RoleUsage.php:95
msgid "Revert to Defaults"
msgstr ""
@@ -1974,15 +1990,15 @@ msgstr ""
msgid "You do not have permission to delete that Navigation Menu."
msgstr ""
-#: modules/presspermit-collaboration/classes/Permissions/Collab/CapabilityFiltersAdmin.php:444
+#: modules/presspermit-collaboration/classes/Permissions/Collab/CapabilityFiltersAdmin.php:461
msgid "The %s was saved, but you can no longer edit it."
msgstr ""
-#: modules/presspermit-collaboration/classes/Permissions/Collab/CapabilityFiltersAdmin.php:449
+#: modules/presspermit-collaboration/classes/Permissions/Collab/CapabilityFiltersAdmin.php:466
msgid "Go to %s"
msgstr ""
-#: modules/presspermit-collaboration/classes/Permissions/Collab/CapabilityFiltersAdmin.php:459
+#: modules/presspermit-collaboration/classes/Permissions/Collab/CapabilityFiltersAdmin.php:476
msgid "The requested modification was processed, but you can no longer edit the post."
msgstr ""
@@ -2453,7 +2469,7 @@ msgstr ""
msgid "You are not allowed to create new %s"
msgstr ""
-#: modules/presspermit-collaboration/classes/Permissions/CollabHooksAdmin.php:230
+#: modules/presspermit-collaboration/classes/Permissions/CollabHooksAdmin.php:235
msgid "access denied"
msgstr ""
diff --git a/modules/presspermit-collaboration/classes/Permissions/Collab/CapabilityFiltersAdmin.php b/modules/presspermit-collaboration/classes/Permissions/Collab/CapabilityFiltersAdmin.php
index 9ffd912f..a051571a 100644
--- a/modules/presspermit-collaboration/classes/Permissions/Collab/CapabilityFiltersAdmin.php
+++ b/modules/presspermit-collaboration/classes/Permissions/Collab/CapabilityFiltersAdmin.php
@@ -103,6 +103,23 @@ function fltAdjustReqdCaps($reqd_caps, $orig_cap, $user_id, $args)
$orig_reqd_caps = (array)$reqd_caps;
+ if (in_array($orig_cap, ['edit_post', 'delete_post'])) {
+ if (!empty($args[0]) && !presspermit()->getOption('own_attachments_always_editable') && !defined('PRESSPERMIT_MEDIA_LEGACY_EDIT_DELETE')) {
+ $post = (is_object($args[0])) ? $args[0] : get_post($args[0]);
+
+ if ('attachment' == $post->post_type) {
+ if ($post->post_parent) {
+ if ('attachment' != get_post_field('post_type', $post->post_parent)) {
+ if (!current_user_can('edit_post', $post->post_parent)) {
+ $reqd_caps []= 'do_not_allow';
+ return $reqd_caps;
+ }
+ }
+ }
+ }
+ }
+ }
+
// for scoped menu management roles, satisfy edit_theme_options cap requirement
if (('nav-menus.php' == $pagenow)
|| (('edit_theme_options' == reset($reqd_caps)) && ('edit_theme_options' == $orig_cap) && (PWP::doingAdminMenus() || (defined('DOING_AJAX') && DOING_AJAX)))
diff --git a/modules/presspermit-collaboration/classes/Permissions/Collab/Constants.php b/modules/presspermit-collaboration/classes/Permissions/Collab/Constants.php
index 0475e97d..6f82bb18 100644
--- a/modules/presspermit-collaboration/classes/Permissions/Collab/Constants.php
+++ b/modules/presspermit-collaboration/classes/Permissions/Collab/Constants.php
@@ -16,29 +16,36 @@ function flt_pp_constants($pp_constants)
$consts = [
'PP_NON_EDITORS_SET_EDIT_EXCEPTIONS',
];
- foreach ($consts as $k) $pp_constants[$k] = (object)['descript' => SettingsAdmin::getConstantString($k), 'type' => $type];
+ foreach ($consts as $k) $pp_constants[$k] = (object)['descript' => \PublishPress\Permissions\UI\SettingsAdmin::getConstantStr($k), 'type' => $type];
- $type = 'editing';
+ $type = 'post-editing';
$consts = [
- 'PP_DISABLE_FORKING_SUPPORT',
'PP_LOCK_OPTION_PAGES_ONLY',
'PPCE_LIMITED_EDITORS_TOP_LEVEL_PUBLISH',
- 'PPC_ASSOCIATION_NOFILTER',
+ //'PP_NO_MODERATION',
+ ];
+
+ if (defined('PRESSPERMIT_CIRCLES_VERSION')) {
+ $consts[] = 'PPC_ASSOCIATION_NOFILTER';
+ }
+ foreach ($consts as $k) $pp_constants[$k] = (object)['descript' => \PublishPress\Permissions\UI\SettingsAdmin::getConstantStr($k), 'type' => $type];
+
+
+ $type = 'auto-default-term-setting-override';
+ $consts = [
'PP_AUTO_DEFAULT_TERM',
'PP_AUTO_DEFAULT_CATEGORY',
'PP_AUTO_DEFAULT_POST_TAG',
'PP_AUTO_DEFAULT_CUSTOM_TAXOMY_NAME_HERE',
'PP_NO_AUTO_DEFAULT_TERM',
- 'PP_AUTO_DEFAULT_CATEGORY',
+ 'PP_NO_AUTO_DEFAULT_CATEGORY',
'PP_NO_AUTO_DEFAULT_POST_TAG',
'PP_NO_AUTO_DEFAULT_CUSTOM_TAXOMY_NAME_HERE',
- 'PPCE_DISABLE_CATEGORY_RETENTION',
- 'PPCE_DISABLE_POST_TAG_RETENTION',
- 'PPCE_DISABLE_CUSTOM_TAXOMY_NAME_HERE_RETENTION',
- 'PP_NO_MODERATION',
+ 'PP_AUTO_DEFAULT_SINGLE_TERM_ONLY',
+ 'PP_AUTO_DEFAULT_TERM_EXCEPTIONS_NOT_REQUIRED',
];
- foreach ($consts as $k) $pp_constants[$k] = (object)['descript' => SettingsAdmin::getConstantString($k), 'type' => $type];
+ foreach ($consts as $k) $pp_constants[$k] = (object)['descript' => \PublishPress\Permissions\UI\SettingsAdmin::getConstantStr($k), 'type' => $type];
$type = 'nav-menu-manage';
@@ -50,14 +57,14 @@ function flt_pp_constants($pp_constants)
'PP_LEGACY_MENU_SETTINGS_ACCESS',
'PPCE_DISABLE_NAV_MENU_UPDATE_FILTERS',
];
- foreach ($consts as $k) $pp_constants[$k] = (object)['descript' => SettingsAdmin::getConstantString($k), 'type' => $type];
+ foreach ($consts as $k) $pp_constants[$k] = (object)['descript' => \PublishPress\Permissions\UI\SettingsAdmin::getConstantStr($k), 'type' => $type];
$type = 'media';
$consts = [
'PP_BLOCK_UNATTACHED_UPLOADS',
];
- foreach ($consts as $k) $pp_constants[$k] = (object)['descript' => SettingsAdmin::getConstantString($k), 'type' => $type];
+ foreach ($consts as $k) $pp_constants[$k] = (object)['descript' => \PublishPress\Permissions\UI\SettingsAdmin::getConstantStr($k), 'type' => $type];
$type = 'admin';
@@ -65,7 +72,7 @@ function flt_pp_constants($pp_constants)
'PPCE_CAN_ASSIGN_OWN_ROLE',
'PP_AUTHOR_POST_META',
];
- foreach ($consts as $k) $pp_constants[$k] = (object)['descript' => SettingsAdmin::getConstantString($k), 'type' => $type];
+ foreach ($consts as $k) $pp_constants[$k] = (object)['descript' => \PublishPress\Permissions\UI\SettingsAdmin::getConstantStr($k), 'type' => $type];
return $pp_constants;
diff --git a/modules/presspermit-collaboration/classes/Permissions/CollabHooksAdmin.php b/modules/presspermit-collaboration/classes/Permissions/CollabHooksAdmin.php
index 7c0a9038..11adb96d 100644
--- a/modules/presspermit-collaboration/classes/Permissions/CollabHooksAdmin.php
+++ b/modules/presspermit-collaboration/classes/Permissions/CollabHooksAdmin.php
@@ -55,6 +55,11 @@ function ($clauses, $orig_clauses) {
add_action('admin_print_scripts', [$this, 'NestedPagesDisableQuickEdit']);
}
}
+
+ add_action('presspermit_load_constants', function() {
+ require_once(PRESSPERMIT_COLLAB_CLASSPATH . '/Constants.php');
+ new \PublishPress\Permissions\Collab\Constants();
+ });
}
function actAddMediaApplyDefaultTerm($post_id) {
diff --git a/press-permit-core.php b/press-permit-core.php
index b39f3570..e87a4742 100644
--- a/press-permit-core.php
+++ b/press-permit-core.php
@@ -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.29
+ * Version: 4.0.30
* Text Domain: press-permit-core
* Domain Path: /languages/
* Requires at least: 5.5
@@ -202,7 +202,7 @@ function presspermit_load() {
return;
}
- define('PRESSPERMIT_VERSION', '4.0.29');
+ define('PRESSPERMIT_VERSION', '4.0.30');
if (!defined('PRESSPERMIT_READ_PUBLIC_CAP')) {
define('PRESSPERMIT_READ_PUBLIC_CAP', 'read');
diff --git a/readme.txt b/readme.txt
index 1e2d394c..7d2e6774 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,15 +1,15 @@
=== PublishPress Permissions: Control User Access for Posts, Pages, Categories, Tags ===
Contributors: publishpress, kevinB, stevejburge, andergmartins
-Tags: restrict, access, permissions, cms, user, private, category, pages, privacy, capabilities, role, scoper
+Tags: restrict, access, user, privacy, capabilities
Requires at least: 5.5
Tested up to: 6.6
Requires PHP: 7.2.5
-Stable tag: 4.0.29
+Stable tag: 4.0.30
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
-With PublishPress Permissions you can enable or deny access to posts, pages, categories, tags and more. You can apply these permissions for user roles, individual users, and even custom groups.
+Enable or deny access to posts, pages, categories, tags and more. You can apply these permissions for roles, individual users, and even custom groups.
== Description ==
@@ -240,6 +240,15 @@ Yes, we use the phrase "publishpress-ppcore-install" to share install links. You
== Changelog ==
+= 4.0.30 - 25 Sep 2024 =
+* Compat : PublishPress Authors - Default author was inappropriately applied for Contributors / Authors under some configurations
+* Change : Permissions metaboxes - include user_email as a User search field
+* Change : Media cannot be edited or deleted if attached to an uneditable post (unless "Users can always edit their own attachments" setting is enabled)
+* Change : Settings > Advanced > Constants - Setting checkbox to enable listing of all available constants (previously required constant definition)
+* Change : Settings > Advanced > Constants - Improved formatting
+* Fixed : Settings > Advanced > Constants - Add missing constant definitions, remove obsolete, list module-specific constants only if applicable
+* Feature : Edit Permission Group - Bulk edit supports conversion of Adjustment to Enabled / Blocked / Limit to
+
= 4.0.29 - 16 Sep 2024 =
* Fixed : WP 6.6 - Post Visibility settings did not correctly refresh Save As caption under some configurations
* Compat : PublishPress Statuses - Improved button captioning with Statuses 1.0.7