Plugin Directory

Changeset 3238708


Ignore:
Timestamp:
02/11/2025 04:36:51 PM (14 months ago)
Author:
aakricha
Message:

Releasing 4.1.2

Location:
press-permit-core
Files:
66 edited
1 copied

Legend:

Unmodified
Added
Removed
  • press-permit-core/tags/4.1.2/classes/PublishPress/Permissions.php

    r3231599 r3238708  
    246246            'customized_roles' => [],       // stored by Capability Manager Enhanced
    247247            'pattern_roles_include_generic_rolecaps' => 0, // This is exposed on the Advanced tab, but intentionally excluded from the default_advanced_options array
     248            'regulate_category_archive_page' => 0,
    248249        ];
    249250
  • press-permit-core/tags/4.1.2/classes/PublishPress/Permissions/CapabilityFilters.php

    r3188099 r3238708  
    8888    public function fltUserHasCap($wp_sitecaps, $orig_reqd_caps, $args)
    8989    {
     90        global $pagenow;
     91       
    9092        if ($this->in_process || !isset($args[0]))
    9193            return $wp_sitecaps;
     
    112114
    113115        $item_id = (isset($args[2])) ? (int) $args[2] : 0;
     116
     117        // Apply presspermit_skip_postmeta_filtering filter under limited conditions to avoid perf issues with main queries
     118        if ($item_id && in_array($orig_cap, ['read_post', 'read_page']) && is_admin()
     119        && !empty($pagenow) && !in_array($pagenow, ['edit.php', 'post.php', 'post-new.php'])
     120        && (!defined('REST_REQUEST') || !REST_REQUEST)
     121        && (!defined('DOING_AJAX') || !DOING_AJAX)
     122        && apply_filters('presspermit_skip_postmeta_filtering', false, $item_id, $orig_cap)
     123        ) {
     124            return $wp_sitecaps;
     125        }
    114126
    115127        if ('read_document' == $orig_cap)  // todo: api
     
    171183        ) {
    172184            $item_type = '';
     185            $item_status = '';
    173186
    174187            // If we would fail a straight post cap check, pass it if appropriate additions stored
  • press-permit-core/tags/4.1.2/classes/PublishPress/Permissions/Constants.php

    r3231599 r3238708  
    121121    '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'),
    122122    'PP_NO_COMMENT_FILTERING' => esc_html__("Don't filter comment display or moderation within wp-admin", 'press-permit-core-hints'),
     123    'PP_ADMINS_IN_PERMISSION_GROUPS' => esc_html__("Allow Administrators to be added to Permission Groups, even though they are not restricted", 'press-permit-core-hints'),
    123124];
    124125foreach ($consts as $k => $v) $this->constants[$k] = (object)['descript' => $v, 'type' => $type];
  • press-permit-core/tags/4.1.2/classes/PublishPress/Permissions/PostFiltersFront.php

    r3042185 r3238708  
    2525        }
    2626
     27        add_action('template_redirect', [$this, 'actRegulateTaxonomyArchivePage']);
     28
    2729        do_action('presspermit_post_filters_front');
     30    }
     31
     32    function actRegulateTaxonomyArchivePage() {
     33        global $wp_query;
     34
     35        if (empty($wp_query) || presspermit()->isContentAdministrator()) {
     36            return;
     37        }
     38
     39        if (!empty($wp_query->is_category) && !empty($wp_query->query_vars['cat'])
     40        && in_array('category', presspermit()->getEnabledTaxonomies())
     41        && presspermit()->getOption('regulate_category_archive_page')
     42        ) {
     43            $user = presspermit()->getUser();
     44
     45            // Make sure the user has term restrictions. Otherwise, treat empty result set as due to no posts being assigned to this category.
     46            foreach ($user->except['read_post']['term'] as $exception_taxonomy => $exceptions) {
     47                $query_term_ids = (!empty($wp_query->query_vars['cat'])) ? (array) $wp_query->query_vars['cat'] : [];
     48               
     49                if ($query_term_ids && in_array($exception_taxonomy, ['category', ''])) {
     50                    foreach ($exceptions as $modification => $exceptions_by_post_type) {
     51                       
     52                        if (in_array($modification, ['exclude'])) {
     53                            $matched_term = false;
     54
     55                            foreach ($exceptions_by_post_type as $_post_type => $term_exceptions_by_status) {
     56                                if (isset($term_exceptions_by_status[''])) {
     57                                    if (array_intersect($query_term_ids, $term_exceptions_by_status[''])) {
     58                                        $any_term_exceptions = true;
     59                                        break 3;
     60                                    }
     61                                }
     62                            }
     63                        } elseif ('include' == $modification) {
     64                            $matched_term = false;
     65
     66                            foreach ($exceptions_by_post_type as $_post_type => $term_exceptions_by_status) {
     67                                if (isset($term_exceptions_by_status[''])) {
     68
     69                                    if (!array_intersect($query_term_ids, $term_exceptions_by_status[''])) {
     70                                        $any_term_exceptions = true;
     71                                        break 3;
     72                                    }
     73                                }
     74                            }
     75                        }
     76                    }
     77                }
     78            }
     79           
     80            if (!empty($any_term_exceptions)) {
     81                if (!get_terms(
     82                    'category',
     83                    [
     84                        'fields' => 'ids',
     85                        'required_operation' => 'read',
     86                        'hide_empty' => true,
     87                        'term_taxonomy_id' => PWP::termidToTtid((array) $wp_query->query_vars['cat'], 'category')
     88                    ]
     89                    )
     90                ) {
     91                    if ($teased_types = apply_filters('presspermit_teased_post_types', [], ['post'], [])) {
     92                        $term = $wp_query->get_queried_object();
     93                        do_action('presspermit_force_term_teaser', $term);
     94                    } else {
     95                        $wp_query->is_404 = true;
     96                    }
     97                }
     98            }
     99        }
     100
     101        // @todo: is_tag: query_vars['post_tag'], is_tax: query_vars['tax_query']
    28102    }
    29103
  • press-permit-core/tags/4.1.2/classes/PublishPress/Permissions/UI/Agents.php

    r3042185 r3238708  
    5555            echo "<div class='pp_agents_ui_wrapper'>";
    5656
     57            echo "<input type='hidden' name='" . esc_attr($agent_type) . "[]' value='' />";
     58
    5759            if ($item_assignments) {
    5860                AgentsChecklist::display('current', $agent_type, $all_agents, $id_suffix, $item_assignments, $args);
  • press-permit-core/tags/4.1.2/classes/PublishPress/Permissions/UI/AgentsAjax.php

    r3158318 r3238708  
    3838        $topic = str_replace(':', ',', $topic);
    3939
    40         $omit_admins = !PWP::empty_GET('pp_omit_admins');
     40        $omit_admins = apply_filters(
     41            'presspermit_group_omit_administrators',
     42            !PWP::empty_GET('pp_omit_admins') && (!defined('PP_ADMINS_IN_PERMISSION_GROUPS') || !PP_ADMINS_IN_PERMISSION_GROUPS),
     43            $agent_id,
     44            $topic
     45        );
     46
    4147        $context = PWP::GET_key('pp_context');
    4248       
  • press-permit-core/tags/4.1.2/classes/PublishPress/Permissions/UI/AgentsChecklist.php

    r3042185 r3238708  
    113113        } else {
    114114            $ul_class = "pp-agents-list_auto";
    115             echo "<div class='pp-{" . esc_attr($agent_type) . "'>"
     115            echo "<div class='pp-" . esc_attr($agent_type) . "'>"
    116116                . "<ul class='pp-agents-list " . esc_attr($ul_class) . "' id='" . esc_attr("list_{$agents_subset}_{$name_attrib}") . "'>";
    117117        }
  • press-permit-core/tags/4.1.2/classes/PublishPress/Permissions/UI/AgentsDynamicUI.php

    r3152894 r3238708  
    261261        $wp_scripts->in_footer[] = 'presspermit-listbox'; // otherwise it will not be printed in footer
    262262
     263        if ('user' == $agent_type) {
     264            // note: agent_id in this context is the group ID for which we are querying users for possible group membership
     265            $allow_administrator_members = !apply_filters('presspermit_group_omit_administrators', !defined('PP_ADMINS_IN_PERMISSION_GROUPS') || !PP_ADMINS_IN_PERMISSION_GROUPS, $agent_id);
     266        }
     267
    263268        if (!empty($args['create_dropdowns'])) {
    264             wp_localize_script('presspermit-listbox', 'ppListbox', ['omit_admins' => '1', 'metagroups' => 1]);
     269            wp_localize_script(
     270                'presspermit-listbox',
     271                'ppListbox',
     272                [
     273                    'omit_admins' => !empty($allow_administrator_members) ? '0' : '1',
     274                    'metagroups' => 1
     275                ]
     276            );
    265277
    266278            wp_enqueue_script('presspermit-agent-select', PRESSPERMIT_URLPATH . "/common/js/agent-exception-select{$suffix}.js", ['jquery', 'jquery-form'], PRESSPERMIT_VERSION, true);
     
    270282        } else {
    271283            // @todo: API
    272             $_args = ['omit_admins' => '1', 'metagroups' => 0];
     284            $_args = ['omit_admins' => $allow_administrator_members ? '0' : '1', 'metagroups' => 0];
    273285
    274286            if (!PWP::empty_REQUEST('page') && PWP::REQUEST_key_match('page', 'presspermit-edit-permissions')) {   
  • press-permit-core/tags/4.1.2/classes/PublishPress/Permissions/UI/Dashboard/ItemExceptionsData.php

    r3042185 r3238708  
    6969        }
    7070
     71        // prevent loading post ID 0 exception for "(none)" as an explicit assignment
     72        if (empty($args['item_id'])) {
     73            $args['item_id'] = -1;
     74        }
     75
    7176        $exc = $pp->getExceptions($args);
    7277
  • press-permit-core/tags/4.1.2/classes/PublishPress/Permissions/UI/Dashboard/ItemExceptionsRenderUI.php

    r3210104 r3238708  
    2222            'unblocked' => esc_html__('Unblocked', 'press-permit-core'),
    2323        ];
     24
     25        foreach ($this->opt_labels as $k => $val) {
     26            $this->opt_labels[$k] = str_replace(['(', ')'], '', $val);
     27        }
    2428
    2529        $this->opt_class = ['' => "pp-def", 0 => "pp-no2", 1 => "pp-yes", 2 => "pp-yes2"];
     
    216220                        }
    217221                    ?>
    218                     <option value=' <?php echo esc_attr("$val") . "' class='" . esc_attr($this->opt_class[$val]) . "' ";
     222                    <option value='<?php echo esc_attr("$val") . "' class='" . esc_attr($this->opt_class[$val]) . "' ";
    219223                                    selected($val, $current_val); ?>>
    220224                        <?php echo esc_html($lbl); ?>
  • press-permit-core/tags/4.1.2/classes/PublishPress/Permissions/UI/SettingsAdmin.php

    r3231599 r3238708  
    6161        case 'strip_private_caption' :
    6262        return __('Remove the "Private:" and "Protected" prefix from Post, Page titles', 'press-permit-core-hints');
     63
     64        case 'regulate_category_archive_page' :
     65        return __("If the user is blocked from reading posts in a category, also block access to category archive page.", 'press-permit-core-hints');
    6366
    6467        case 'force_nav_menu_filter' :
  • press-permit-core/tags/4.1.2/classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php

    r3231599 r3238708  
    66{
    77    private $enabled;
     8    private $advanced_option_captions = [];
    89
    910    public function __construct()
     
    6162            'post_blockage_priority'                 => esc_html__('Post-specific Permissions take priority', 'press-permit-core'),
    6263            'media_search_results'                   => esc_html__('Search Results include Media', 'press-permit-core'),
     64            'regulate_category_archive_page'         => esc_html__('Regulate access to Category archive pages', 'press-permit-core'),
    6365            'term_counts_unfiltered'                 => esc_html__("Performance: Don't filter category / tag counts", 'press-permit-core'),
    6466            'force_nav_menu_filter'                  => esc_html__('Filter Menu Items', 'press-permit-core'),
     
    101103        }
    102104
    103         // Settings that are displayed only if "Display all" is enabled
     105        // Settings that are displayed only if "Display all" is enabled
     106        $this->advanced_option_captions = [
     107            'anonymous_unfiltered'                   => sprintf(esc_html__('%1$sDisable%2$s all filtering for anonymous users', 'press-permit-core'), '', ''),
     108            'suppress_administrator_metagroups'      => sprintf(esc_html__('%1$sDo not apply%2$s metagroup permissions for Administrators', 'press-permit-core'), '', ''),
     109            'limit_front_end_term_filtering'         => sprintf(esc_html__('Limit front-end category / term filtering', 'press-permit-core')),
     110            'user_search_by_role'                    => esc_html__('User Search: Filter by WP role', 'press-permit-core'),
     111            'display_hints'                          => esc_html__('Display Administrative Hints', 'press-permit-core'),
     112            'display_extension_hints'                => esc_html__('Display Module Hints', 'press-permit-core'),
     113            'dynamic_wp_roles'                       => esc_html__('Detect Dynamically Mapped WP Roles', 'press-permit-core'),
     114            'non_admins_set_read_exceptions'         => esc_html__('Non-Administrators can set Reading Permissions for their editable posts', 'press-permit-core'),
     115            'users_bulk_groups'                      => esc_html__('Bulk Add / Remove Groups on Users Screen', 'press-permit-core'),
     116            'list_all_constants'                     => esc_html__('Display all available constant definitions'),
     117            'non_admins_set_edit_exceptions'         => esc_html__('Non-Administrators can set Editing Permissions for their editable posts', 'press-permit-core'),
     118            'publish_exceptions'                     => esc_html__('Assign Publish Permissions separate from Edit Permissions', 'press-permit-core'),
     119            'limit_user_edit_by_level'               => 'limit_user_edit_by_level', // not actually displayed; include to regulate display of setting
     120            'user_permissions'                       => 'user_permissions'          // not actually displayed; include to regulate display of setting
     121        ];
     122
    104123        if ($this->enabled) {
    105             $opt = array_merge($opt, [
    106                 'anonymous_unfiltered'                   => sprintf(esc_html__('%1$sDisable%2$s all filtering for anonymous users', 'press-permit-core'), '', ''),
    107                 'suppress_administrator_metagroups'      => sprintf(esc_html__('%1$sDo not apply%2$s metagroup permissions for Administrators', 'press-permit-core'), '', ''),
    108                 'limit_front_end_term_filtering'         => sprintf(esc_html__('Limit front-end category / term filtering', 'press-permit-core')),
    109                 'user_search_by_role'                    => esc_html__('User Search: Filter by WP role', 'press-permit-core'),
    110                 'display_hints'                          => esc_html__('Display Administrative Hints', 'press-permit-core'),
    111                 'display_extension_hints'                => esc_html__('Display Module Hints', 'press-permit-core'),
    112                 'dynamic_wp_roles'                       => esc_html__('Detect Dynamically Mapped WP Roles', 'press-permit-core'),
    113                 'non_admins_set_read_exceptions'         => esc_html__('Non-Administrators can set Reading Permissions for their editable posts', 'press-permit-core'),
    114                 'users_bulk_groups'                      => esc_html__('Bulk Add / Remove Groups on Users Screen', 'press-permit-core'),
    115                 'list_all_constants'                     => esc_html__('Display all available constant definitions'),
    116                 'non_admins_set_edit_exceptions'         => esc_html__('Non-Administrators can set Editing Permissions for their editable posts', 'press-permit-core'),
    117                 'publish_exceptions'                     => esc_html__('Assign Publish Permissions separate from Edit Permissions', 'press-permit-core'),
    118                 'limit_user_edit_by_level'               => 'limit_user_edit_by_level', // not actually displayed; include to regulate display of setting
    119                 'user_permissions'                       => 'user_permissions'          // not actually displayed; include to regulate display of setting
    120             ]);
     124            $opt = array_merge($opt, $this->advanced_option_captions);
    121125        }
    122126
     
    154158            'permissions'       => ['post_blockage_priority', 'suppress_administrator_metagroups', 'publish_exceptions', 'non_admins_set_read_exceptions', 'non_admins_set_edit_exceptions'],
    155159            'user_management'   => ['new_user_groups_ui', 'display_user_profile_groups', 'display_user_profile_roles', 'users_bulk_groups', 'add_author_pages', 'publish_author_pages'],
    156             'front_end'         => ['media_search_results', 'anonymous_unfiltered', 'limit_front_end_term_filtering', 'term_counts_unfiltered', 'strip_private_caption', 'force_nav_menu_filter'],
     160            'front_end'         => ['media_search_results', 'anonymous_unfiltered', 'regulate_category_archive_page', 'limit_front_end_term_filtering', 'term_counts_unfiltered', 'strip_private_caption', 'force_nav_menu_filter'],
    157161            'role_integration'  =>  ['pattern_roles_include_generic_rolecaps', 'dynamic_wp_roles'],
    158162            'nav_menu_management' => ['admin_nav_menu_partial_editing', 'admin_nav_menu_lock_custom'],
     
    220224                    $ui->optionCheckbox('advanced_options', $tab, $section, $hint);
    221225
    222                     ?>
     226                    $caution_option_names = [];
     227
     228                    $option_captions = $ui->option_captions;
     229
     230                    if (!$this->enabled) {
     231                        $option_captions = array_merge($option_captions, $this->advanced_option_captions);
     232                    }
     233
     234                    // Use option_captions array for ordering
     235                    $advanced_options = array_merge (
     236                        array_intersect_key($option_captions, $pp->default_advanced_options),
     237                        array_diff_key($pp->default_advanced_options, $option_captions)         // uncaptioned advanced options
     238                    );
     239
     240                    foreach (array_keys($advanced_options) as $option_name) {
     241                        $default_val = (isset($pp->default_advanced_options[$option_name])) ? $pp->default_advanced_options[$option_name] : '';
     242                        $stored_val = get_option("presspermit_{$option_name}", $default_val);
     243
     244                        if (($stored_val != $default_val)
     245                        && (!is_scalar($stored_val)
     246                            || !is_scalar($default_val)
     247                            || (is_numeric($default_val) && (is_numeric($stored_val) || ('' === $stored_val)) && (intval($stored_val) != intval($default_val)))
     248                            || (!is_numeric($default_val) && (string) $default_val != (string) $stored_val))
     249                        ) {
     250                            if (isset($option_captions[$option_name])) {
     251                                $caution_option_names []= $option_captions[$option_name];
     252                            } else {
     253                                $caution_option_names []= ucwords(str_replace('_', ' ', $option_name));
     254                            }
     255                        }
     256                    }
     257                    ?>
     258
     259                    <?php if ($caution_option_names) :?>
     260                        <div class="pp-advanced-caution" style="display:none">
     261                        <span class="pp-caution">
     262                        <?php
     263                        if ($this->enabled) {
     264                            esc_html_e('The following would revert to default settings:', 'press-permit-core');
     265                        } else {
     266                            esc_html_e('The following would change from defaults to previously stored settings:', 'press-permit-core');
     267                        }
     268                        ?>
     269                        </span>
     270
     271                        <ul>
     272                            <?php foreach ($caution_option_names as $_opt_name) :?>
     273                                <li>
     274                                <?php esc_html_e($_opt_name);?>
     275                                </li>
     276                            <?php endforeach;?>
     277                        </ul>
     278                        </div>
     279
     280                        <script type="text/javascript">
     281                            /* <![CDATA[ */
     282                            jQuery(document).ready(function ($) {
     283                                $('input#advanced_options').on('click', function() {
     284                                    <?php if ($this->enabled) :?>
     285                                        $(this).closest('td').find('div.pp-advanced-caution').slideToggle($(this).prop('checked'));
     286                                    <?php else:?>
     287                                        $(this).closest('td').find('div.pp-advanced-caution').slideToggle(!$(this).prop('checked'));
     288                                    <?php endif;?>
     289                                });
     290                            });
     291                            /* ]]> */
     292                        </script>
     293
     294                    <?php endif;?>
     295
    223296                    <div>
    224297                        <?php
     
    264337                        }
    265338
    266                         echo '<span class="pp-subtext">';
     339                        echo '<div class="pp-subtext">';
    267340                        if ($ui->display_hints) {
    268341                            SettingsAdmin::echoStr('lock_top_pages');
    269342                        }
    270343
    271                         echo '</span><br>';
     344                        echo '</div><br>';
    272345                    endif; ?>
    273346
     
    352425                    <?php
    353426                    $ui->optionCheckbox('anonymous_unfiltered', $tab, $section, true);
     427
     428                    $ui->optionCheckbox('regulate_category_archive_page', $tab, $section, true);
    354429
    355430                    $ui->optionCheckbox('limit_front_end_term_filtering', $tab, $section, true);
  • press-permit-core/tags/4.1.2/common/css/settings.css

    r3231599 r3238708  
    138138}
    139139
     140#pp_settings_form div.pp-advanced-caution {
     141    color: #777;
     142    font-style: italic;
     143    margin-top: 5px;
     144    padding-top: 8px;
     145    padding-left: 8px;
     146}
     147
     148#pp_settings_form div.pp-advanced-caution span.pp-caution {
     149    font-weight: bold;
     150}
     151
     152#pp_settings_form div.pp-advanced-caution ul {
     153    list-style-type: disc;
     154    padding: 0 0 10px 25px;
     155    margin-top: 8px
     156}
     157
    140158/* --- Install Tab --- */
    141159#pp-modules_table span.publishpress, #pp-install_table span.publishpress a, #pp-install_table span.publishpress a:visited {
  • press-permit-core/tags/4.1.2/functions.php

    r3042185 r3238708  
    3737    return apply_filters('presspermit_is_preview', $is_preview);
    3838}
     39
     40function publishpress_is_post_teaser($post_id = 0) {
     41    return class_exists('PublishPress\Permissions\Teaser') && \PublishPress\Permissions\Teaser::isTeasedPost($post_id);
     42}
     43
     44function publishpress_is_archive_teaser() {
     45    return class_exists('PublishPress\Permissions\Teaser') && \PublishPress\Permissions\Teaser::isArchiveTeaser();
     46}
  • press-permit-core/tags/4.1.2/languages/press-permit-core-fr_FR.po

    r3231599 r3238708  
    77"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
    88"POT-Creation-Date: 2025-01-25T22:31:20+00:00\n"
    9 "PO-Revision-Date: 2025-01-29 15:41+0000\n"
     9"PO-Revision-Date: 2025-02-02 17:51+0100\n"
    1010"Last-Translator: \n"
    1111"Language-Team: French (France)\n"
     
    1515"Content-Transfer-Encoding: 8bit\n"
    1616"Plural-Forms: nplurals=2; plural=n > 1;\n"
    17 "X-Generator: Loco https://localise.biz/\n"
     17"X-Generator: Poedit 3.4.4\n"
    1818"X-Loco-Version: 2.6.14; wp-6.7.1\n"
    1919
     
    157157msgstr ""
    158158"%1$sNote : %2$s Si elle est activée, les permissions create_posts, "
    159 "create_pages, etc. seront forcées par tous les types de publication filtrées."
    160 " Vous pouvez %3$sajouter ces capacités à tout rôle%4$s qui en a besoin."
     159"create_pages, etc. seront forcées par tous les types de publication "
     160"filtrées. Vous pouvez %3$sajouter ces capacités à tout rôle%4$s qui en a "
     161"besoin."
    161162
    162163#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:273
     
    181182msgstr ""
    182183"%1$sNote:%2$s Si elle est activée, les utilisateurs/utilisatrices ne peuvent "
    183 "pas ajouter à une publication des étiquettes qui n’existaient pas auparavant,"
    184 " à moins que leur rôle n’inclue la capacité de modification de la taxonomie "
    185 "concernée. Vous pouvez %3$sajouter ces capacités dans « Capacités »> "
    186 "« Capacités »> « Taxonomies »%4$s pour tous les rôles qui en ont besoin."
     184"pas ajouter à une publication des étiquettes qui n’existaient pas "
     185"auparavant, à moins que leur rôle n’inclue la capacité de modification de la "
     186"taxonomie concernée. Vous pouvez %3$sajouter ces capacités dans "
     187"« Capacités »> « Capacités »> « Taxonomies »%4$s pour tous les rôles qui en "
     188"ont besoin."
    187189
    188190#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:310
     
    194196msgstr ""
    195197"%1$sNote:%2$s Si elle est activée, les utilisateurs/utilisatrices ne peuvent "
    196 "pas ajouter à une publication des étiquettes qui n’existaient pas auparavant,"
    197 " à moins que leur rôle n’inclue la capacité de modification de la taxonomie "
    198 "concernée. Vous pouvez utiliser un éditeur de rôle WordPress comme "
     198"pas ajouter à une publication des étiquettes qui n’existaient pas "
     199"auparavant, à moins que leur rôle n’inclue la capacité de modification de la "
     200"taxonomie concernée. Vous pouvez utiliser un éditeur de rôle WordPress comme "
    199201"%3$sPublishPress Capabilities%4$s pour ajouter ces capacités à tout rôle qui "
    200202"en a besoin."
     
    441443#: includes/SettingsTabInstall.php:141
    442444msgid ""
    443 "A presspermit.com key appears to be active. <a href=\"%s\" target=\"_blank\">"
    444 "Contact us</a> for assistance in migrating your account to publishpress.com."
    445 msgstr ""
    446 "Une clé presspermit.com semble être active. <a href=\"%s\" target=\"_blank\">"
    447 "Contactez-nous</a> pour obtenir de l’aide dans la migration de votre compte "
    448 "vers publishpress.com."
     445"A presspermit.com key appears to be active. <a href=\"%s\" "
     446"target=\"_blank\">Contact us</a> for assistance in migrating your account to "
     447"publishpress.com."
     448msgstr ""
     449"Une clé presspermit.com semble être active. <a href=\"%s\" "
     450"target=\"_blank\">Contactez-nous</a> pour obtenir de l’aide dans la "
     451"migration de votre compte vers publishpress.com."
    449452
    450453#: classes/PublishPress/Permissions/Admin.php:247
     
    567570"specific roles. Enable or block access for specific posts or terms."
    568571msgstr ""
    569 "Des droits de contenu avancés mais accessibles. Attribuez aux "
    570 "utilisateurs/utilisatrices ou aux groupes des rôles spécifiques à un type de "
    571 "contenu. Activez ou bloquez l’accès à des publications ou des termes "
    572 "spécifiques."
     572"Des droits de contenu avancés mais accessibles. Attribuez aux utilisateurs/"
     573"utilisatrices ou aux groupes des rôles spécifiques à un type de contenu. "
     574"Activez ou bloquez l’accès à des publications ou des termes spécifiques."
    573575
    574576#: classes/PublishPress/Permissions/UI/Groups.php:217
     
    587589msgid "All Role Usage settings will be reset to DEFAULTS.  Are you sure?"
    588590msgstr ""
    589 "Tous les réglages d’utilisation des rôles seront réinitialisés à par défaut. "
    590 " Vous êtes sûr ?"
     591"Tous les réglages d’utilisation des rôles seront réinitialisés à par "
     592"défaut. Vous êtes sûr ?"
    591593
    592594#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:828
     
    772774msgid "Bulk Add / Remove Groups on Users Screen"
    773775msgstr ""
    774 "Action groupée de ajouter/retirer les groupes sur l’écran des "
    775 "utilisateurs/utilisatrices"
     776"Action groupée de ajouter/retirer les groupes sur l’écran des utilisateurs/"
     777"utilisatrices"
    776778
    777779#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:83
    778780msgid "Bulk Add Author Pages on Users screen"
    779781msgstr ""
    780 "Ajout groupé de pages d’auteur/autrice sur l’écran "
    781 "« Utilisateurs/utilisatrices »"
     782"Ajouter groupé de pages d’auteur/autrice sur l’écran « Utilisateurs/"
     783"utilisatrices »"
    782784
    783785#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/RoleUsageHelper.php:40
    784786msgid ""
    785 "Capabilities formally defined for other post types (i.e. 'edit_others_pages',"
    786 " 'edit_doohickies') apply to primary role assignment and supplemental direct "
    787 "assignment, but not pattern role assignment."
     787"Capabilities formally defined for other post types (i.e. "
     788"'edit_others_pages', 'edit_doohickies') apply to primary role assignment and "
     789"supplemental direct assignment, but not pattern role assignment."
    788790msgstr ""
    789791"Les permissions formellement définies pour les autres types de publication "
     
    953955"plugins, but with broad usage potential."
    954956msgstr ""
    955 "Créer ou synchroniser des publications en fonction des "
    956 "utilisateurs/utilisatrices. Conçu pour les extensions équipe/personnel, mais "
    957 "avec un large potentiel d’utilisation."
     957"Créer ou synchroniser des publications en fonction des utilisateurs/"
     958"utilisatrices. Conçu pour les extensions équipe/personnel, mais avec un "
     959"large potentiel d’utilisation."
    958960
    959961#: classes/PublishPress/Permissions/UI/AgentsChecklist.php:47
     
    10821084#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:59
    10831085msgid "Display all advanced settings"
    1084 msgstr "Afficher tous réglages avancés"
     1086msgstr "Afficher tous les réglages avancés"
    10851087
    10861088#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:111
     
    12761278"on the %1$sUsers%2$s screen."
    12771279msgstr ""
    1278 "Pour obtenir des rôles et des droits supplémentaires spécifiques à un compte,"
    1279 " cliquez sur la cellule « Rôles » de l’écran %1$sComptes%2$s."
     1280"Pour obtenir des rôles et des droits supplémentaires spécifiques à un "
     1281"compte, cliquez sur la cellule « Rôles » de l’écran %1$sComptes%2$s."
    12801282
    12811283#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:40
     
    13751377#: classes/PublishPress/Permissions/UI/AgentPermissions.php:402
    13761378msgid ""
    1377 "Keep in mind that Roles and Specific Permissions can be assigned to WP Roles,"
    1378 " BuddyPress Groups, Custom Groups and/or individual Users.  \"Enable\" and "
    1379 "\"Limit to\" adjustments are unavailable for groups in some contexts."
     1379"Keep in mind that Roles and Specific Permissions can be assigned to WP "
     1380"Roles, BuddyPress Groups, Custom Groups and/or individual Users.  \"Enable\" "
     1381"and \"Limit to\" adjustments are unavailable for groups in some contexts."
    13801382msgstr ""
    13811383"Veuillez prendre note que les rôles et les droits spécifiques peuvent être "
     
    17231725msgid "Other users' unattached uploads listed by default"
    17241726msgstr ""
    1725 "Lister par défaut des téléchargements non attachés des autres "
    1726 "utilisateurs/utilisatrices"
     1727"Lister par défaut des téléchargements non attachés des autres utilisateurs/"
     1728"utilisatrices"
    17271729
    17281730#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:91
     
    19681970msgid "Prevent editing uploads if attached to a non-editable post"
    19691971msgstr ""
    1970 "Empêcher la modification des téléchargements s’ils sont joints à une "
     1972"Empêcher la modification des téléversements s’ils sont joints à une "
    19711973"publication non modifiable"
    19721974
     
    20692071#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:42
    20702072msgid ""
    2071 "Review the selection below, and then click <strong>Save Permissions</strong>."
    2072 " Saved permissions can be mirrored to other operations by bulk edit."
     2073"Review the selection below, and then click <strong>Save Permissions</"
     2074"strong>. Saved permissions can be mirrored to other operations by bulk edit."
    20732075msgstr ""
    20742076"Examiner la sélection ci-dessous, puis cliquer sur <strong>Enregistrer les "
     
    26892691#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:793
    26902692msgid ""
    2691 "To force the value of one or more settings network-wide, <strong>"
    2692 "copy</strong> the following code into your theme's <strong>functions."
    2693 "php</strong> file (or some other file which is always executed and not auto-"
    2694 "updated) and modify as desired:"
     2693"To force the value of one or more settings network-wide, <strong>copy</"
     2694"strong> the following code into your theme's <strong>functions.php</strong> "
     2695"file (or some other file which is always executed and not auto-updated) and "
     2696"modify as desired:"
    26952697msgstr ""
    26962698"Pour forcer la valeur d’un ou plusieurs réglages au niveau du réseau, "
     
    27572759#: classes/PublishPress/Permissions/UI/Settings.php:187
    27582760msgid "Upgrade to Permissions Pro"
    2759 msgstr "Passer en version Pro"
     2761msgstr "Mettre à niveau vers Permissions Pro"
    27602762
    27612763#: classes/PublishPress/Permissions/UI/PromoBanner.php:225
     
    29732975"renewal</a> discount may be available."
    29742976msgstr ""
    2975 "Votre clé presspermit.com a expiré, mais une réduction <a href=\"%s\">"
    2976 "renouvellement de PublishPress</a> peut être disponible."
     2977"Votre clé presspermit.com a expiré, mais une réduction <a "
     2978"href=\"%s\">renouvellement de PublishPress</a> peut être disponible."
  • press-permit-core/tags/4.1.2/languages/press-permit-core.pot

    r3231599 r3238708  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: PublishPress Permissions 4.1.1\n"
     5"Project-Id-Version: PublishPress Permissions 4.1.2\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-01-25T22:31:20+00:00\n"
     12"POT-Creation-Date: 2025-02-09T04:41:39+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.10.0\n"
     
    479479
    480480#: classes/PublishPress/Permissions/UI/AgentPermissions.php:381
    481 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:454
     481#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:529
    482482msgid "%1$sUsers who have Supplemental Roles assigned directly%2$s"
    483483msgstr ""
    484484
    485485#: classes/PublishPress/Permissions/UI/AgentPermissions.php:382
    486 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:455
     486#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:530
    487487msgid "%1$sUsers who have Specific Permissions assigned directly%2$s"
    488488msgstr ""
    489489
    490490#: classes/PublishPress/Permissions/UI/AgentPermissions.php:383
    491 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:456
     491#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:531
    492492msgid "%1$sUsers who have Supplemental Roles or Specific Permissions directly%2$s"
    493493msgstr ""
     
    646646
    647647#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:132
    648 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:36
     648#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:37
    649649msgid "Statuses"
    650650msgstr ""
     
    994994#: classes/PublishPress/Permissions/UI/Dashboard/DashboardFilters.php:239
    995995#: classes/PublishPress/Permissions/UI/Dashboard/PostsListing.php:82
    996 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:38
     996#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:39
    997997msgid "Permissions"
    998998msgstr ""
     
    10941094
    10951095#: classes/PublishPress/Permissions/UI/Dashboard/ItemExceptionsUI.php:266
    1096 #: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:318
     1096#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:325
    10971097msgid "close"
    10981098msgstr ""
     
    12871287#: classes/PublishPress/Permissions/UI/GroupNew.php:103
    12881288#: classes/PublishPress/Permissions/UI/GroupsListTable.php:173
    1289 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:583
    1290 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:645
    1291 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:698
     1289#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:658
     1290#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:720
     1291#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:773
    12921292msgid "Description"
    12931293msgstr ""
     
    15431543msgstr ""
    15441544
    1545 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:25
     1545#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:26
    15461546msgid "Advanced"
    15471547msgstr ""
    15481548
    1549 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:32
     1549#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:33
    15501550msgid "Advanced Settings"
    15511551msgstr ""
    15521552
    1553 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:33
     1553#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:34
    15541554msgid "File Filtering"
    15551555msgstr ""
    15561556
    1557 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:34
     1557#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:35
    15581558msgid "Network-Wide Settings"
    15591559msgstr ""
    15601560
    1561 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:35
     1561#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:36
    15621562#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:28
    15631563msgid "Editor Options"
    15641564msgstr ""
    15651565
    1566 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:37
     1566#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:38
    15671567msgid "Page Structure"
    15681568msgstr ""
    15691569
    1570 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:39
     1570#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:40
    15711571msgid "Permissions Capabilities"
    15721572msgstr ""
    15731573
    1574 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:40
     1574#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:41
    15751575msgid "Front End"
    15761576msgstr ""
    15771577
    1578 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:41
     1578#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:42
    15791579msgid "User Management"
    15801580msgstr ""
    15811581
    1582 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:42
     1582#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:43
    15831583msgid "Constants"
    15841584msgstr ""
    15851585
    1586 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:43
     1586#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:44
    15871587msgid "Role Integration"
    15881588msgstr ""
    15891589
    1590 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:44
     1590#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:45
    15911591msgid "Nav Menu Editing"
    15921592msgstr ""
    15931593
    1594 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:45
     1594#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:46
    15951595msgid "Miscellaneous"
    15961596msgstr ""
    15971597
    1598 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:59
     1598#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:60
    15991599msgid "Display all advanced settings"
    16001600msgstr ""
    16011601
    1602 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:60
     1602#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:61
    16031603msgid "Delete settings on plugin deletion"
    16041604msgstr ""
    16051605
    1606 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:61
     1606#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:62
    16071607msgid "Post-specific Permissions take priority"
    16081608msgstr ""
    16091609
    1610 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:62
     1610#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:63
    16111611msgid "Search Results include Media"
    16121612msgstr ""
    16131613
    1614 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:63
     1614#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:64
     1615msgid "Regulate access to Category archive pages"
     1616msgstr ""
     1617
     1618#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:65
    16151619msgid "Performance: Don't filter category / tag counts"
    16161620msgstr ""
    16171621
    1618 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:64
     1622#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:66
    16191623msgid "Filter Menu Items"
    16201624msgstr ""
    16211625
    1622 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:65
     1626#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:67
    16231627msgid "Page Parent selection for editable pages only"
    16241628msgstr ""
    16251629
    1626 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:66
     1630#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:68
    16271631msgid "Auto-assign available term if default term is unavailable"
    16281632msgstr ""
    16291633
    1630 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:67
     1634#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:69
    16311635#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:52
    16321636msgid "List other user's uneditable posts"
    16331637msgstr ""
    16341638
    1635 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:68
     1639#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:70
    16361640msgid "Pages can be set or removed from Top Level by: "
    16371641msgstr ""
    16381642
    1639 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:73
     1643#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:75
    16401644msgid "Type-specific Supplemental Roles grant all general capabilities in Pattern Role"
    16411645msgstr ""
    16421646
    1643 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:74
     1647#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:76
    16441648msgid "Suppress \"Private: \" Caption"
    16451649msgstr ""
    16461650
    1647 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:75
     1651#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:77
    16481652msgid "Select Permission Groups at User creation"
    16491653msgstr ""
    16501654
    1651 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:76
     1655#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:78
    16521656msgid "Permission Groups on User Profile"
    16531657msgstr ""
    16541658
    1655 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:77
     1659#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:79
    16561660msgid "Supplemental Roles on User Profile"
    16571661msgstr ""
    16581662
    1659 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:78
     1663#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:80
    16601664msgid "Order Page Parent dropdown by Title"
    16611665msgstr ""
    16621666
    1663 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:79
     1667#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:81
    16641668msgid "Add taxonomy columns to Edit Posts screen"
    16651669msgstr ""
    16661670
    1667 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:81
     1671#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:83
    16681672msgid "Allow Renaming of uneditable Items"
    16691673msgstr ""
    16701674
    1671 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:82
     1675#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:84
    16721676msgid "Lock custom menu items"
    16731677msgstr ""
    16741678
    1675 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:83
     1679#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:85
    16761680msgid "Bulk Add Author Pages on Users screen"
    16771681msgstr ""
    16781682
    1679 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:106
     1683#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:107
    16801684msgid "%1$sDisable%2$s all filtering for anonymous users"
    16811685msgstr ""
    16821686
    1683 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:107
     1687#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:108
    16841688msgid "%1$sDo not apply%2$s metagroup permissions for Administrators"
    16851689msgstr ""
    16861690
    1687 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:108
     1691#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:109
    16881692msgid "Limit front-end category / term filtering"
    16891693msgstr ""
    16901694
    1691 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:109
     1695#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:110
    16921696msgid "User Search: Filter by WP role"
    16931697msgstr ""
    16941698
    1695 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:110
     1699#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:111
    16961700msgid "Display Administrative Hints"
    16971701msgstr ""
    16981702
    1699 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:111
     1703#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:112
    17001704msgid "Display Module Hints"
    17011705msgstr ""
    17021706
    1703 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:112
     1707#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:113
    17041708msgid "Detect Dynamically Mapped WP Roles"
    17051709msgstr ""
    17061710
    1707 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:113
     1711#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:114
    17081712msgid "Non-Administrators can set Reading Permissions for their editable posts"
    17091713msgstr ""
    17101714
    1711 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:114
     1715#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:115
    17121716msgid "Bulk Add / Remove Groups on Users Screen"
    17131717msgstr ""
    17141718
    1715 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:116
     1719#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:117
    17161720msgid "Non-Administrators can set Editing Permissions for their editable posts"
    17171721msgstr ""
    17181722
    1719 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:117
     1723#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:118
    17201724msgid "Assign Publish Permissions separate from Edit Permissions"
    17211725msgstr ""
    17221726
    1723 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:225
     1727#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:264
     1728msgid "The following would revert to default settings:"
     1729msgstr ""
     1730
     1731#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:266
     1732msgid "The following would change from defaults to previously stored settings:"
     1733msgstr ""
     1734
     1735#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:298
    17241736msgid "note: Plugin settings and configuration data will be deleted, but only after the last copy of Permissions / Permissions Pro is deleted."
    17251737msgstr ""
    17261738
    1727 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:254
     1739#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:327
    17281740msgid "no Page Parent filter"
    17291741msgstr ""
    17301742
    1731 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:254
     1743#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:327
    17321744msgid "Page Authors, Editors and Administrators"
    17331745msgstr ""
    17341746
    1735 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:254
     1747#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:327
    17361748msgid "Page Editors and Administrators"
    17371749msgstr ""
    17381750
    1739 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:254
     1751#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:327
    17401752msgid "Administrators"
    17411753msgstr ""
    17421754
    1743 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:329
     1755#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:402
    17441756msgid "%sPosts / Pages Listing:%s %s"
    17451757msgstr ""
    17461758
    1747 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:411
     1759#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:486
    17481760msgid "User editing capabilities apply for"
    17491761msgstr ""
    17501762
    1751 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:414
     1763#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:489
    17521764msgid "any user"
    17531765msgstr ""
    17541766
    1755 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:414
     1767#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:489
    17561768msgid "equal or lower role levels"
    17571769msgstr ""
    17581770
    1759 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:414
     1771#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:489
    17601772msgid "lower role levels"
    17611773msgstr ""
    17621774
    1763 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:434
     1775#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:509
    17641776msgid "For user-specific Supplemental Roles and Permissions, click a \"Roles\" cell on the %1$sUsers%2$s screen."
    17651777msgstr ""
    17661778
    1767 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:445
     1779#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:520
    17681780msgid "To filter the Users list by Permissions, follow a link below:"
    17691781msgstr ""
    17701782
    1771 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:450
     1783#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:525
    17721784msgid "%1$sUsers who have no custom Permission Group membership%2$s"
    17731785msgstr ""
    17741786
    1775 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:460
     1787#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:535
    17761788msgid "%1$sUsers who have Supplemental Roles (directly or via group)%2$s"
    17771789msgstr ""
    17781790
    1779 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:461
     1791#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:536
    17801792msgid "%1$sUsers who have Specific Permissions (directly or via group)%2$s"
    17811793msgstr ""
    17821794
    1783 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:462
     1795#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:537
    17841796msgid "%1$sUsers who have Supplemental Roles or Specific Permissions (directly or via group)%2$s"
    17851797msgstr ""
    17861798
    1787 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:470
     1799#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:545
    17881800msgid "%sNote%s: If you don't see the Roles column on the Users screen, make sure it is enabled in Screen Options. "
    17891801msgstr ""
    17901802
    1791 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:513
     1803#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:588
    17921804msgid "To control the makeup of Supplemental Roles, see %1$sRole Usage%2$s."
    17931805msgstr ""
    17941806
    1795 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:582
     1807#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:657
    17961808msgid "Capability Name"
    17971809msgstr ""
    17981810
    1799 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:643
     1811#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:718
    18001812msgid "Defined Constant"
    18011813msgstr ""
    18021814
    1803 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:644
    1804 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:697
     1815#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:719
     1816#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:772
    18051817msgid "Setting"
    18061818msgstr ""
    18071819
    1808 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:696
     1820#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:771
    18091821msgid "Available Constant"
    18101822msgstr ""
    18111823
    1812 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:772
     1824#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:847
    18131825msgid "To modify one or more default settings network-wide, <strong>copy</strong> the following code into your theme's <strong>functions.php</strong> file (or some other file which is always executed and not auto-updated) and modify as desired:"
    18141826msgstr ""
    18151827
    1816 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:793
     1828#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:868
    18171829msgid "To force the value of one or more settings network-wide, <strong>copy</strong> the following code into your theme's <strong>functions.php</strong> file (or some other file which is always executed and not auto-updated) and modify as desired:"
    18181830msgstr ""
    18191831
    1820 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:828
     1832#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:903
    18211833msgid "All settings in this form (including those on undisplayed tabs) will be reset to DEFAULTS.  Are you sure?"
    18221834msgstr ""
    18231835
    1824 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:831
     1836#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:906
    18251837#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/RoleUsage.php:95
    18261838msgid "Revert to Defaults"
     
    21412153msgstr ""
    21422154
    2143 #: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:291
     2155#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:298
    21442156msgid "Author Search / Select"
    21452157msgstr ""
    21462158
    2147 #: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:317
     2159#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:324
    21482160msgid "select other"
    21492161msgstr ""
  • press-permit-core/tags/4.1.2/modules/presspermit-collaboration/classes/Permissions/Collab/Revisionary/Admin.php

    r2928205 r3238708  
    219219        global $revisionary;
    220220
    221         if (empty($revisionary->skip_revision_allowance)) {
     221        if (empty($revisionary->skip_revision_allowance) && ('include' != $mod_type)) {
    222222            $defaults = ['via_item_source' => 'post', 'via_item_type' => '', 'status' => ''];
    223223            $args = array_merge($defaults, $args);
  • press-permit-core/tags/4.1.2/modules/presspermit-collaboration/classes/Permissions/Collab/Revisions/Admin.php

    r2928205 r3238708  
    103103        global $revisionary;
    104104
    105         if ('edit' != $operation)
    106             return $exception_items;
     105        if (('edit' != $operation) || ('include' == $mod_type)) {
     106            return $exception_items;
     107        }
    107108
    108109        // Modify Posts listing, but not 'edit_post' capability check
  • press-permit-core/tags/4.1.2/modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php

    r3210104 r3238708  
    122122        wp_enqueue_script('presspermit-listbox', PRESSPERMIT_URLPATH . "/common/js/listbox{$suffix}.js", ['jquery', 'jquery-form'], PRESSPERMIT_VERSION, true);
    123123        $wp_scripts->in_footer[] = 'presspermit-listbox';
    124         wp_localize_script('presspermit-listbox', 'ppListbox', ['omit_admins' => '1', 'metagroups' => 1]);
     124        wp_localize_script(
     125            'presspermit-listbox',
     126            'ppListbox',
     127            [
     128                'omit_admins' => !defined('PP_ADMINS_IN_PERMISSION_GROUPS') || !PP_ADMINS_IN_PERMISSION_GROUPS ? '1' : 0,
     129                'metagroups' => 1
     130            ]
     131        );
    125132
    126133        wp_enqueue_script('presspermit-agent-select', PRESSPERMIT_URLPATH . "/common/js/agent-exception-select{$suffix}.js", ['jquery', 'jquery-form'], PRESSPERMIT_VERSION, true);
  • press-permit-core/tags/4.1.2/modules/presspermit-collaboration/presspermit-collaboration.php

    r3231599 r3238708  
    5757                class_alias('\PressShack\LibWP', '\PublishPress\Permissions\Collab\UI\Dashboard\PWP');
    5858                class_alias('\PressShack\LibWP', '\PublishPress\Permissions\Collab\UI\Gutenberg\PWP');
     59                class_alias('\PressShack\LibWP', '\PublishPress\Permissions\Collab\UI\Handlers\PWP');
    5960
    6061                require_once(__DIR__ . '/classes/Permissions/Collab.php');
  • press-permit-core/tags/4.1.2/press-permit-core.php

    r3231599 r3238708  
    77 * Author: PublishPress
    88 * Author URI:  https://publishpress.com/
    9  * Version: 4.1.1
     9 * Version: 4.1.2
    1010 * Text Domain: press-permit-core
    1111 * Domain Path: /languages/
     
    206206        }
    207207
    208         define('PRESSPERMIT_VERSION', '4.1.1');
     208        define('PRESSPERMIT_VERSION', '4.1.2');
    209209
    210210        if (!defined('PRESSPERMIT_READ_PUBLIC_CAP')) {
  • press-permit-core/tags/4.1.2/readme.txt

    r3231599 r3238708  
    66Tested up to: 6.7
    77Requires PHP: 7.2.5
    8 Stable tag: 4.1.1
     8Stable tag: 4.1.2
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    240240
    241241== Changelog ==
     242
     243= 4.1.2 - 10 February 2025 =
     244* Added: Template function for the Teaser module (Pro). #1423
     245* Fixed: "Limit to" permissions for Revision Submission were blocking draft post editing. #1407
     246* Feature: Option to apply Category restrictions to archive page (Settings > Advanced > Front End)
     247* Fixed: User Profile issue preventing removal of a user from all groups. #1403
     248* Fixed: If a role has a Specific Permissions assigned as "Limit to > (none)", the default post editor metabox selection for new posts was "Unblocked"
     249* Fixed: Invalid classname in User/Groups selection. #1421
     250* Fixed: Role Usage could not update role's setting. #1420
     251* Fixed: PHP Warning for undefined variable `$item_status`. #1419
     252* Fixed: Default selection in Permissions metabox on Add New Post when a "Limit to" > "(none)" Permission is active. #1401
     253* Fixed: Parentheses removed from editor metaboxes for cleaner display. #1387
     254* Compat: PublishPress Revisions - Avoid conflict with implementation of list_others_revisions, preview_others_revisions capabilities (with Revisions 3.6.1)
     255* Compat: PublishPress Revisions - "Limit to" permissions for Revision Submission also blocked the editing of regular draft posts
     256* Updated: Clarified the effect of enabling/disabling Advanced Options in Plugin Settings. #1435
     257* Updated: Settings > Advanced to clarify the effect of "Display all advanced options". #1437
     258* Updated: Apply Category restrictions to the Category archive page. #1425
     259* Updated: Access Circles: Allow Administrators to be added to a group. #1399
     260* Updated: Revisions compatibility to support reduced filtering for certain use cases. #1407
     261
     262* Updated: Language files (.pot and .mo), including FR translations. #1392
     263* Updated: Composer dependencies.
    242264
    243265= 4.1.1 - 30 January 2025 =
  • press-permit-core/tags/4.1.2/vendor/autoload.php

    r3231599 r3238708  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit4d9ab17804db5492092749ae4f3ce298::getLoader();
     25return ComposerAutoloaderInit966cc3c026126972cf0980780a19429b::getLoader();
  • press-permit-core/tags/4.1.2/vendor/composer/autoload_real.php

    r3231599 r3238708  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit4d9ab17804db5492092749ae4f3ce298
     5class ComposerAutoloaderInit966cc3c026126972cf0980780a19429b
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit4d9ab17804db5492092749ae4f3ce298', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit966cc3c026126972cf0980780a19429b', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit4d9ab17804db5492092749ae4f3ce298', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit966cc3c026126972cf0980780a19429b', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit4d9ab17804db5492092749ae4f3ce298::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInit966cc3c026126972cf0980780a19429b::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • press-permit-core/tags/4.1.2/vendor/composer/autoload_static.php

    r3231599 r3238708  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit4d9ab17804db5492092749ae4f3ce298
     7class ComposerStaticInit966cc3c026126972cf0980780a19429b
    88{
    99    public static $classMap = array (
     
    1414    {
    1515        return \Closure::bind(function () use ($loader) {
    16             $loader->classMap = ComposerStaticInit4d9ab17804db5492092749ae4f3ce298::$classMap;
     16            $loader->classMap = ComposerStaticInit966cc3c026126972cf0980780a19429b::$classMap;
    1717
    1818        }, null, ClassLoader::class);
  • press-permit-core/tags/4.1.2/vendor/composer/installed.php

    r3231599 r3238708  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '1f18a7e27b9fdd666f353adb4c04e159cea2eae5',
     6        'reference' => 'ad25e79df7b55f25fdf2adc5ca6e3b352694cb08',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-master',
    1515            'version' => 'dev-master',
    16             'reference' => '1f18a7e27b9fdd666f353adb4c04e159cea2eae5',
     16            'reference' => 'ad25e79df7b55f25fdf2adc5ca6e3b352694cb08',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • press-permit-core/trunk/classes/PublishPress/Permissions.php

    r3231599 r3238708  
    246246            'customized_roles' => [],       // stored by Capability Manager Enhanced
    247247            'pattern_roles_include_generic_rolecaps' => 0, // This is exposed on the Advanced tab, but intentionally excluded from the default_advanced_options array
     248            'regulate_category_archive_page' => 0,
    248249        ];
    249250
  • press-permit-core/trunk/classes/PublishPress/Permissions/CapabilityFilters.php

    r3188099 r3238708  
    8888    public function fltUserHasCap($wp_sitecaps, $orig_reqd_caps, $args)
    8989    {
     90        global $pagenow;
     91       
    9092        if ($this->in_process || !isset($args[0]))
    9193            return $wp_sitecaps;
     
    112114
    113115        $item_id = (isset($args[2])) ? (int) $args[2] : 0;
     116
     117        // Apply presspermit_skip_postmeta_filtering filter under limited conditions to avoid perf issues with main queries
     118        if ($item_id && in_array($orig_cap, ['read_post', 'read_page']) && is_admin()
     119        && !empty($pagenow) && !in_array($pagenow, ['edit.php', 'post.php', 'post-new.php'])
     120        && (!defined('REST_REQUEST') || !REST_REQUEST)
     121        && (!defined('DOING_AJAX') || !DOING_AJAX)
     122        && apply_filters('presspermit_skip_postmeta_filtering', false, $item_id, $orig_cap)
     123        ) {
     124            return $wp_sitecaps;
     125        }
    114126
    115127        if ('read_document' == $orig_cap)  // todo: api
     
    171183        ) {
    172184            $item_type = '';
     185            $item_status = '';
    173186
    174187            // If we would fail a straight post cap check, pass it if appropriate additions stored
  • press-permit-core/trunk/classes/PublishPress/Permissions/Constants.php

    r3231599 r3238708  
    121121    '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'),
    122122    'PP_NO_COMMENT_FILTERING' => esc_html__("Don't filter comment display or moderation within wp-admin", 'press-permit-core-hints'),
     123    'PP_ADMINS_IN_PERMISSION_GROUPS' => esc_html__("Allow Administrators to be added to Permission Groups, even though they are not restricted", 'press-permit-core-hints'),
    123124];
    124125foreach ($consts as $k => $v) $this->constants[$k] = (object)['descript' => $v, 'type' => $type];
  • press-permit-core/trunk/classes/PublishPress/Permissions/PostFiltersFront.php

    r3042185 r3238708  
    2525        }
    2626
     27        add_action('template_redirect', [$this, 'actRegulateTaxonomyArchivePage']);
     28
    2729        do_action('presspermit_post_filters_front');
     30    }
     31
     32    function actRegulateTaxonomyArchivePage() {
     33        global $wp_query;
     34
     35        if (empty($wp_query) || presspermit()->isContentAdministrator()) {
     36            return;
     37        }
     38
     39        if (!empty($wp_query->is_category) && !empty($wp_query->query_vars['cat'])
     40        && in_array('category', presspermit()->getEnabledTaxonomies())
     41        && presspermit()->getOption('regulate_category_archive_page')
     42        ) {
     43            $user = presspermit()->getUser();
     44
     45            // Make sure the user has term restrictions. Otherwise, treat empty result set as due to no posts being assigned to this category.
     46            foreach ($user->except['read_post']['term'] as $exception_taxonomy => $exceptions) {
     47                $query_term_ids = (!empty($wp_query->query_vars['cat'])) ? (array) $wp_query->query_vars['cat'] : [];
     48               
     49                if ($query_term_ids && in_array($exception_taxonomy, ['category', ''])) {
     50                    foreach ($exceptions as $modification => $exceptions_by_post_type) {
     51                       
     52                        if (in_array($modification, ['exclude'])) {
     53                            $matched_term = false;
     54
     55                            foreach ($exceptions_by_post_type as $_post_type => $term_exceptions_by_status) {
     56                                if (isset($term_exceptions_by_status[''])) {
     57                                    if (array_intersect($query_term_ids, $term_exceptions_by_status[''])) {
     58                                        $any_term_exceptions = true;
     59                                        break 3;
     60                                    }
     61                                }
     62                            }
     63                        } elseif ('include' == $modification) {
     64                            $matched_term = false;
     65
     66                            foreach ($exceptions_by_post_type as $_post_type => $term_exceptions_by_status) {
     67                                if (isset($term_exceptions_by_status[''])) {
     68
     69                                    if (!array_intersect($query_term_ids, $term_exceptions_by_status[''])) {
     70                                        $any_term_exceptions = true;
     71                                        break 3;
     72                                    }
     73                                }
     74                            }
     75                        }
     76                    }
     77                }
     78            }
     79           
     80            if (!empty($any_term_exceptions)) {
     81                if (!get_terms(
     82                    'category',
     83                    [
     84                        'fields' => 'ids',
     85                        'required_operation' => 'read',
     86                        'hide_empty' => true,
     87                        'term_taxonomy_id' => PWP::termidToTtid((array) $wp_query->query_vars['cat'], 'category')
     88                    ]
     89                    )
     90                ) {
     91                    if ($teased_types = apply_filters('presspermit_teased_post_types', [], ['post'], [])) {
     92                        $term = $wp_query->get_queried_object();
     93                        do_action('presspermit_force_term_teaser', $term);
     94                    } else {
     95                        $wp_query->is_404 = true;
     96                    }
     97                }
     98            }
     99        }
     100
     101        // @todo: is_tag: query_vars['post_tag'], is_tax: query_vars['tax_query']
    28102    }
    29103
  • press-permit-core/trunk/classes/PublishPress/Permissions/UI/Agents.php

    r3042185 r3238708  
    5555            echo "<div class='pp_agents_ui_wrapper'>";
    5656
     57            echo "<input type='hidden' name='" . esc_attr($agent_type) . "[]' value='' />";
     58
    5759            if ($item_assignments) {
    5860                AgentsChecklist::display('current', $agent_type, $all_agents, $id_suffix, $item_assignments, $args);
  • press-permit-core/trunk/classes/PublishPress/Permissions/UI/AgentsAjax.php

    r3158318 r3238708  
    3838        $topic = str_replace(':', ',', $topic);
    3939
    40         $omit_admins = !PWP::empty_GET('pp_omit_admins');
     40        $omit_admins = apply_filters(
     41            'presspermit_group_omit_administrators',
     42            !PWP::empty_GET('pp_omit_admins') && (!defined('PP_ADMINS_IN_PERMISSION_GROUPS') || !PP_ADMINS_IN_PERMISSION_GROUPS),
     43            $agent_id,
     44            $topic
     45        );
     46
    4147        $context = PWP::GET_key('pp_context');
    4248       
  • press-permit-core/trunk/classes/PublishPress/Permissions/UI/AgentsChecklist.php

    r3042185 r3238708  
    113113        } else {
    114114            $ul_class = "pp-agents-list_auto";
    115             echo "<div class='pp-{" . esc_attr($agent_type) . "'>"
     115            echo "<div class='pp-" . esc_attr($agent_type) . "'>"
    116116                . "<ul class='pp-agents-list " . esc_attr($ul_class) . "' id='" . esc_attr("list_{$agents_subset}_{$name_attrib}") . "'>";
    117117        }
  • press-permit-core/trunk/classes/PublishPress/Permissions/UI/AgentsDynamicUI.php

    r3152894 r3238708  
    261261        $wp_scripts->in_footer[] = 'presspermit-listbox'; // otherwise it will not be printed in footer
    262262
     263        if ('user' == $agent_type) {
     264            // note: agent_id in this context is the group ID for which we are querying users for possible group membership
     265            $allow_administrator_members = !apply_filters('presspermit_group_omit_administrators', !defined('PP_ADMINS_IN_PERMISSION_GROUPS') || !PP_ADMINS_IN_PERMISSION_GROUPS, $agent_id);
     266        }
     267
    263268        if (!empty($args['create_dropdowns'])) {
    264             wp_localize_script('presspermit-listbox', 'ppListbox', ['omit_admins' => '1', 'metagroups' => 1]);
     269            wp_localize_script(
     270                'presspermit-listbox',
     271                'ppListbox',
     272                [
     273                    'omit_admins' => !empty($allow_administrator_members) ? '0' : '1',
     274                    'metagroups' => 1
     275                ]
     276            );
    265277
    266278            wp_enqueue_script('presspermit-agent-select', PRESSPERMIT_URLPATH . "/common/js/agent-exception-select{$suffix}.js", ['jquery', 'jquery-form'], PRESSPERMIT_VERSION, true);
     
    270282        } else {
    271283            // @todo: API
    272             $_args = ['omit_admins' => '1', 'metagroups' => 0];
     284            $_args = ['omit_admins' => $allow_administrator_members ? '0' : '1', 'metagroups' => 0];
    273285
    274286            if (!PWP::empty_REQUEST('page') && PWP::REQUEST_key_match('page', 'presspermit-edit-permissions')) {   
  • press-permit-core/trunk/classes/PublishPress/Permissions/UI/Dashboard/ItemExceptionsData.php

    r3042185 r3238708  
    6969        }
    7070
     71        // prevent loading post ID 0 exception for "(none)" as an explicit assignment
     72        if (empty($args['item_id'])) {
     73            $args['item_id'] = -1;
     74        }
     75
    7176        $exc = $pp->getExceptions($args);
    7277
  • press-permit-core/trunk/classes/PublishPress/Permissions/UI/Dashboard/ItemExceptionsRenderUI.php

    r3210104 r3238708  
    2222            'unblocked' => esc_html__('Unblocked', 'press-permit-core'),
    2323        ];
     24
     25        foreach ($this->opt_labels as $k => $val) {
     26            $this->opt_labels[$k] = str_replace(['(', ')'], '', $val);
     27        }
    2428
    2529        $this->opt_class = ['' => "pp-def", 0 => "pp-no2", 1 => "pp-yes", 2 => "pp-yes2"];
     
    216220                        }
    217221                    ?>
    218                     <option value=' <?php echo esc_attr("$val") . "' class='" . esc_attr($this->opt_class[$val]) . "' ";
     222                    <option value='<?php echo esc_attr("$val") . "' class='" . esc_attr($this->opt_class[$val]) . "' ";
    219223                                    selected($val, $current_val); ?>>
    220224                        <?php echo esc_html($lbl); ?>
  • press-permit-core/trunk/classes/PublishPress/Permissions/UI/SettingsAdmin.php

    r3231599 r3238708  
    6161        case 'strip_private_caption' :
    6262        return __('Remove the "Private:" and "Protected" prefix from Post, Page titles', 'press-permit-core-hints');
     63
     64        case 'regulate_category_archive_page' :
     65        return __("If the user is blocked from reading posts in a category, also block access to category archive page.", 'press-permit-core-hints');
    6366
    6467        case 'force_nav_menu_filter' :
  • press-permit-core/trunk/classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php

    r3231599 r3238708  
    66{
    77    private $enabled;
     8    private $advanced_option_captions = [];
    89
    910    public function __construct()
     
    6162            'post_blockage_priority'                 => esc_html__('Post-specific Permissions take priority', 'press-permit-core'),
    6263            'media_search_results'                   => esc_html__('Search Results include Media', 'press-permit-core'),
     64            'regulate_category_archive_page'         => esc_html__('Regulate access to Category archive pages', 'press-permit-core'),
    6365            'term_counts_unfiltered'                 => esc_html__("Performance: Don't filter category / tag counts", 'press-permit-core'),
    6466            'force_nav_menu_filter'                  => esc_html__('Filter Menu Items', 'press-permit-core'),
     
    101103        }
    102104
    103         // Settings that are displayed only if "Display all" is enabled
     105        // Settings that are displayed only if "Display all" is enabled
     106        $this->advanced_option_captions = [
     107            'anonymous_unfiltered'                   => sprintf(esc_html__('%1$sDisable%2$s all filtering for anonymous users', 'press-permit-core'), '', ''),
     108            'suppress_administrator_metagroups'      => sprintf(esc_html__('%1$sDo not apply%2$s metagroup permissions for Administrators', 'press-permit-core'), '', ''),
     109            'limit_front_end_term_filtering'         => sprintf(esc_html__('Limit front-end category / term filtering', 'press-permit-core')),
     110            'user_search_by_role'                    => esc_html__('User Search: Filter by WP role', 'press-permit-core'),
     111            'display_hints'                          => esc_html__('Display Administrative Hints', 'press-permit-core'),
     112            'display_extension_hints'                => esc_html__('Display Module Hints', 'press-permit-core'),
     113            'dynamic_wp_roles'                       => esc_html__('Detect Dynamically Mapped WP Roles', 'press-permit-core'),
     114            'non_admins_set_read_exceptions'         => esc_html__('Non-Administrators can set Reading Permissions for their editable posts', 'press-permit-core'),
     115            'users_bulk_groups'                      => esc_html__('Bulk Add / Remove Groups on Users Screen', 'press-permit-core'),
     116            'list_all_constants'                     => esc_html__('Display all available constant definitions'),
     117            'non_admins_set_edit_exceptions'         => esc_html__('Non-Administrators can set Editing Permissions for their editable posts', 'press-permit-core'),
     118            'publish_exceptions'                     => esc_html__('Assign Publish Permissions separate from Edit Permissions', 'press-permit-core'),
     119            'limit_user_edit_by_level'               => 'limit_user_edit_by_level', // not actually displayed; include to regulate display of setting
     120            'user_permissions'                       => 'user_permissions'          // not actually displayed; include to regulate display of setting
     121        ];
     122
    104123        if ($this->enabled) {
    105             $opt = array_merge($opt, [
    106                 'anonymous_unfiltered'                   => sprintf(esc_html__('%1$sDisable%2$s all filtering for anonymous users', 'press-permit-core'), '', ''),
    107                 'suppress_administrator_metagroups'      => sprintf(esc_html__('%1$sDo not apply%2$s metagroup permissions for Administrators', 'press-permit-core'), '', ''),
    108                 'limit_front_end_term_filtering'         => sprintf(esc_html__('Limit front-end category / term filtering', 'press-permit-core')),
    109                 'user_search_by_role'                    => esc_html__('User Search: Filter by WP role', 'press-permit-core'),
    110                 'display_hints'                          => esc_html__('Display Administrative Hints', 'press-permit-core'),
    111                 'display_extension_hints'                => esc_html__('Display Module Hints', 'press-permit-core'),
    112                 'dynamic_wp_roles'                       => esc_html__('Detect Dynamically Mapped WP Roles', 'press-permit-core'),
    113                 'non_admins_set_read_exceptions'         => esc_html__('Non-Administrators can set Reading Permissions for their editable posts', 'press-permit-core'),
    114                 'users_bulk_groups'                      => esc_html__('Bulk Add / Remove Groups on Users Screen', 'press-permit-core'),
    115                 'list_all_constants'                     => esc_html__('Display all available constant definitions'),
    116                 'non_admins_set_edit_exceptions'         => esc_html__('Non-Administrators can set Editing Permissions for their editable posts', 'press-permit-core'),
    117                 'publish_exceptions'                     => esc_html__('Assign Publish Permissions separate from Edit Permissions', 'press-permit-core'),
    118                 'limit_user_edit_by_level'               => 'limit_user_edit_by_level', // not actually displayed; include to regulate display of setting
    119                 'user_permissions'                       => 'user_permissions'          // not actually displayed; include to regulate display of setting
    120             ]);
     124            $opt = array_merge($opt, $this->advanced_option_captions);
    121125        }
    122126
     
    154158            'permissions'       => ['post_blockage_priority', 'suppress_administrator_metagroups', 'publish_exceptions', 'non_admins_set_read_exceptions', 'non_admins_set_edit_exceptions'],
    155159            'user_management'   => ['new_user_groups_ui', 'display_user_profile_groups', 'display_user_profile_roles', 'users_bulk_groups', 'add_author_pages', 'publish_author_pages'],
    156             'front_end'         => ['media_search_results', 'anonymous_unfiltered', 'limit_front_end_term_filtering', 'term_counts_unfiltered', 'strip_private_caption', 'force_nav_menu_filter'],
     160            'front_end'         => ['media_search_results', 'anonymous_unfiltered', 'regulate_category_archive_page', 'limit_front_end_term_filtering', 'term_counts_unfiltered', 'strip_private_caption', 'force_nav_menu_filter'],
    157161            'role_integration'  =>  ['pattern_roles_include_generic_rolecaps', 'dynamic_wp_roles'],
    158162            'nav_menu_management' => ['admin_nav_menu_partial_editing', 'admin_nav_menu_lock_custom'],
     
    220224                    $ui->optionCheckbox('advanced_options', $tab, $section, $hint);
    221225
    222                     ?>
     226                    $caution_option_names = [];
     227
     228                    $option_captions = $ui->option_captions;
     229
     230                    if (!$this->enabled) {
     231                        $option_captions = array_merge($option_captions, $this->advanced_option_captions);
     232                    }
     233
     234                    // Use option_captions array for ordering
     235                    $advanced_options = array_merge (
     236                        array_intersect_key($option_captions, $pp->default_advanced_options),
     237                        array_diff_key($pp->default_advanced_options, $option_captions)         // uncaptioned advanced options
     238                    );
     239
     240                    foreach (array_keys($advanced_options) as $option_name) {
     241                        $default_val = (isset($pp->default_advanced_options[$option_name])) ? $pp->default_advanced_options[$option_name] : '';
     242                        $stored_val = get_option("presspermit_{$option_name}", $default_val);
     243
     244                        if (($stored_val != $default_val)
     245                        && (!is_scalar($stored_val)
     246                            || !is_scalar($default_val)
     247                            || (is_numeric($default_val) && (is_numeric($stored_val) || ('' === $stored_val)) && (intval($stored_val) != intval($default_val)))
     248                            || (!is_numeric($default_val) && (string) $default_val != (string) $stored_val))
     249                        ) {
     250                            if (isset($option_captions[$option_name])) {
     251                                $caution_option_names []= $option_captions[$option_name];
     252                            } else {
     253                                $caution_option_names []= ucwords(str_replace('_', ' ', $option_name));
     254                            }
     255                        }
     256                    }
     257                    ?>
     258
     259                    <?php if ($caution_option_names) :?>
     260                        <div class="pp-advanced-caution" style="display:none">
     261                        <span class="pp-caution">
     262                        <?php
     263                        if ($this->enabled) {
     264                            esc_html_e('The following would revert to default settings:', 'press-permit-core');
     265                        } else {
     266                            esc_html_e('The following would change from defaults to previously stored settings:', 'press-permit-core');
     267                        }
     268                        ?>
     269                        </span>
     270
     271                        <ul>
     272                            <?php foreach ($caution_option_names as $_opt_name) :?>
     273                                <li>
     274                                <?php esc_html_e($_opt_name);?>
     275                                </li>
     276                            <?php endforeach;?>
     277                        </ul>
     278                        </div>
     279
     280                        <script type="text/javascript">
     281                            /* <![CDATA[ */
     282                            jQuery(document).ready(function ($) {
     283                                $('input#advanced_options').on('click', function() {
     284                                    <?php if ($this->enabled) :?>
     285                                        $(this).closest('td').find('div.pp-advanced-caution').slideToggle($(this).prop('checked'));
     286                                    <?php else:?>
     287                                        $(this).closest('td').find('div.pp-advanced-caution').slideToggle(!$(this).prop('checked'));
     288                                    <?php endif;?>
     289                                });
     290                            });
     291                            /* ]]> */
     292                        </script>
     293
     294                    <?php endif;?>
     295
    223296                    <div>
    224297                        <?php
     
    264337                        }
    265338
    266                         echo '<span class="pp-subtext">';
     339                        echo '<div class="pp-subtext">';
    267340                        if ($ui->display_hints) {
    268341                            SettingsAdmin::echoStr('lock_top_pages');
    269342                        }
    270343
    271                         echo '</span><br>';
     344                        echo '</div><br>';
    272345                    endif; ?>
    273346
     
    352425                    <?php
    353426                    $ui->optionCheckbox('anonymous_unfiltered', $tab, $section, true);
     427
     428                    $ui->optionCheckbox('regulate_category_archive_page', $tab, $section, true);
    354429
    355430                    $ui->optionCheckbox('limit_front_end_term_filtering', $tab, $section, true);
  • press-permit-core/trunk/common/css/settings.css

    r3231599 r3238708  
    138138}
    139139
     140#pp_settings_form div.pp-advanced-caution {
     141    color: #777;
     142    font-style: italic;
     143    margin-top: 5px;
     144    padding-top: 8px;
     145    padding-left: 8px;
     146}
     147
     148#pp_settings_form div.pp-advanced-caution span.pp-caution {
     149    font-weight: bold;
     150}
     151
     152#pp_settings_form div.pp-advanced-caution ul {
     153    list-style-type: disc;
     154    padding: 0 0 10px 25px;
     155    margin-top: 8px
     156}
     157
    140158/* --- Install Tab --- */
    141159#pp-modules_table span.publishpress, #pp-install_table span.publishpress a, #pp-install_table span.publishpress a:visited {
  • press-permit-core/trunk/functions.php

    r3042185 r3238708  
    3737    return apply_filters('presspermit_is_preview', $is_preview);
    3838}
     39
     40function publishpress_is_post_teaser($post_id = 0) {
     41    return class_exists('PublishPress\Permissions\Teaser') && \PublishPress\Permissions\Teaser::isTeasedPost($post_id);
     42}
     43
     44function publishpress_is_archive_teaser() {
     45    return class_exists('PublishPress\Permissions\Teaser') && \PublishPress\Permissions\Teaser::isArchiveTeaser();
     46}
  • press-permit-core/trunk/languages/press-permit-core-fr_FR.po

    r3231599 r3238708  
    77"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
    88"POT-Creation-Date: 2025-01-25T22:31:20+00:00\n"
    9 "PO-Revision-Date: 2025-01-29 15:41+0000\n"
     9"PO-Revision-Date: 2025-02-02 17:51+0100\n"
    1010"Last-Translator: \n"
    1111"Language-Team: French (France)\n"
     
    1515"Content-Transfer-Encoding: 8bit\n"
    1616"Plural-Forms: nplurals=2; plural=n > 1;\n"
    17 "X-Generator: Loco https://localise.biz/\n"
     17"X-Generator: Poedit 3.4.4\n"
    1818"X-Loco-Version: 2.6.14; wp-6.7.1\n"
    1919
     
    157157msgstr ""
    158158"%1$sNote : %2$s Si elle est activée, les permissions create_posts, "
    159 "create_pages, etc. seront forcées par tous les types de publication filtrées."
    160 " Vous pouvez %3$sajouter ces capacités à tout rôle%4$s qui en a besoin."
     159"create_pages, etc. seront forcées par tous les types de publication "
     160"filtrées. Vous pouvez %3$sajouter ces capacités à tout rôle%4$s qui en a "
     161"besoin."
    161162
    162163#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:273
     
    181182msgstr ""
    182183"%1$sNote:%2$s Si elle est activée, les utilisateurs/utilisatrices ne peuvent "
    183 "pas ajouter à une publication des étiquettes qui n’existaient pas auparavant,"
    184 " à moins que leur rôle n’inclue la capacité de modification de la taxonomie "
    185 "concernée. Vous pouvez %3$sajouter ces capacités dans « Capacités »> "
    186 "« Capacités »> « Taxonomies »%4$s pour tous les rôles qui en ont besoin."
     184"pas ajouter à une publication des étiquettes qui n’existaient pas "
     185"auparavant, à moins que leur rôle n’inclue la capacité de modification de la "
     186"taxonomie concernée. Vous pouvez %3$sajouter ces capacités dans "
     187"« Capacités »> « Capacités »> « Taxonomies »%4$s pour tous les rôles qui en "
     188"ont besoin."
    187189
    188190#: classes/PublishPress/Permissions/UI/SettingsTabCore.php:310
     
    194196msgstr ""
    195197"%1$sNote:%2$s Si elle est activée, les utilisateurs/utilisatrices ne peuvent "
    196 "pas ajouter à une publication des étiquettes qui n’existaient pas auparavant,"
    197 " à moins que leur rôle n’inclue la capacité de modification de la taxonomie "
    198 "concernée. Vous pouvez utiliser un éditeur de rôle WordPress comme "
     198"pas ajouter à une publication des étiquettes qui n’existaient pas "
     199"auparavant, à moins que leur rôle n’inclue la capacité de modification de la "
     200"taxonomie concernée. Vous pouvez utiliser un éditeur de rôle WordPress comme "
    199201"%3$sPublishPress Capabilities%4$s pour ajouter ces capacités à tout rôle qui "
    200202"en a besoin."
     
    441443#: includes/SettingsTabInstall.php:141
    442444msgid ""
    443 "A presspermit.com key appears to be active. <a href=\"%s\" target=\"_blank\">"
    444 "Contact us</a> for assistance in migrating your account to publishpress.com."
    445 msgstr ""
    446 "Une clé presspermit.com semble être active. <a href=\"%s\" target=\"_blank\">"
    447 "Contactez-nous</a> pour obtenir de l’aide dans la migration de votre compte "
    448 "vers publishpress.com."
     445"A presspermit.com key appears to be active. <a href=\"%s\" "
     446"target=\"_blank\">Contact us</a> for assistance in migrating your account to "
     447"publishpress.com."
     448msgstr ""
     449"Une clé presspermit.com semble être active. <a href=\"%s\" "
     450"target=\"_blank\">Contactez-nous</a> pour obtenir de l’aide dans la "
     451"migration de votre compte vers publishpress.com."
    449452
    450453#: classes/PublishPress/Permissions/Admin.php:247
     
    567570"specific roles. Enable or block access for specific posts or terms."
    568571msgstr ""
    569 "Des droits de contenu avancés mais accessibles. Attribuez aux "
    570 "utilisateurs/utilisatrices ou aux groupes des rôles spécifiques à un type de "
    571 "contenu. Activez ou bloquez l’accès à des publications ou des termes "
    572 "spécifiques."
     572"Des droits de contenu avancés mais accessibles. Attribuez aux utilisateurs/"
     573"utilisatrices ou aux groupes des rôles spécifiques à un type de contenu. "
     574"Activez ou bloquez l’accès à des publications ou des termes spécifiques."
    573575
    574576#: classes/PublishPress/Permissions/UI/Groups.php:217
     
    587589msgid "All Role Usage settings will be reset to DEFAULTS.  Are you sure?"
    588590msgstr ""
    589 "Tous les réglages d’utilisation des rôles seront réinitialisés à par défaut. "
    590 " Vous êtes sûr ?"
     591"Tous les réglages d’utilisation des rôles seront réinitialisés à par "
     592"défaut. Vous êtes sûr ?"
    591593
    592594#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:828
     
    772774msgid "Bulk Add / Remove Groups on Users Screen"
    773775msgstr ""
    774 "Action groupée de ajouter/retirer les groupes sur l’écran des "
    775 "utilisateurs/utilisatrices"
     776"Action groupée de ajouter/retirer les groupes sur l’écran des utilisateurs/"
     777"utilisatrices"
    776778
    777779#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:83
    778780msgid "Bulk Add Author Pages on Users screen"
    779781msgstr ""
    780 "Ajout groupé de pages d’auteur/autrice sur l’écran "
    781 "« Utilisateurs/utilisatrices »"
     782"Ajouter groupé de pages d’auteur/autrice sur l’écran « Utilisateurs/"
     783"utilisatrices »"
    782784
    783785#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/RoleUsageHelper.php:40
    784786msgid ""
    785 "Capabilities formally defined for other post types (i.e. 'edit_others_pages',"
    786 " 'edit_doohickies') apply to primary role assignment and supplemental direct "
    787 "assignment, but not pattern role assignment."
     787"Capabilities formally defined for other post types (i.e. "
     788"'edit_others_pages', 'edit_doohickies') apply to primary role assignment and "
     789"supplemental direct assignment, but not pattern role assignment."
    788790msgstr ""
    789791"Les permissions formellement définies pour les autres types de publication "
     
    953955"plugins, but with broad usage potential."
    954956msgstr ""
    955 "Créer ou synchroniser des publications en fonction des "
    956 "utilisateurs/utilisatrices. Conçu pour les extensions équipe/personnel, mais "
    957 "avec un large potentiel d’utilisation."
     957"Créer ou synchroniser des publications en fonction des utilisateurs/"
     958"utilisatrices. Conçu pour les extensions équipe/personnel, mais avec un "
     959"large potentiel d’utilisation."
    958960
    959961#: classes/PublishPress/Permissions/UI/AgentsChecklist.php:47
     
    10821084#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:59
    10831085msgid "Display all advanced settings"
    1084 msgstr "Afficher tous réglages avancés"
     1086msgstr "Afficher tous les réglages avancés"
    10851087
    10861088#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:111
     
    12761278"on the %1$sUsers%2$s screen."
    12771279msgstr ""
    1278 "Pour obtenir des rôles et des droits supplémentaires spécifiques à un compte,"
    1279 " cliquez sur la cellule « Rôles » de l’écran %1$sComptes%2$s."
     1280"Pour obtenir des rôles et des droits supplémentaires spécifiques à un "
     1281"compte, cliquez sur la cellule « Rôles » de l’écran %1$sComptes%2$s."
    12801282
    12811283#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:40
     
    13751377#: classes/PublishPress/Permissions/UI/AgentPermissions.php:402
    13761378msgid ""
    1377 "Keep in mind that Roles and Specific Permissions can be assigned to WP Roles,"
    1378 " BuddyPress Groups, Custom Groups and/or individual Users.  \"Enable\" and "
    1379 "\"Limit to\" adjustments are unavailable for groups in some contexts."
     1379"Keep in mind that Roles and Specific Permissions can be assigned to WP "
     1380"Roles, BuddyPress Groups, Custom Groups and/or individual Users.  \"Enable\" "
     1381"and \"Limit to\" adjustments are unavailable for groups in some contexts."
    13801382msgstr ""
    13811383"Veuillez prendre note que les rôles et les droits spécifiques peuvent être "
     
    17231725msgid "Other users' unattached uploads listed by default"
    17241726msgstr ""
    1725 "Lister par défaut des téléchargements non attachés des autres "
    1726 "utilisateurs/utilisatrices"
     1727"Lister par défaut des téléchargements non attachés des autres utilisateurs/"
     1728"utilisatrices"
    17271729
    17281730#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:91
     
    19681970msgid "Prevent editing uploads if attached to a non-editable post"
    19691971msgstr ""
    1970 "Empêcher la modification des téléchargements s’ils sont joints à une "
     1972"Empêcher la modification des téléversements s’ils sont joints à une "
    19711973"publication non modifiable"
    19721974
     
    20692071#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:42
    20702072msgid ""
    2071 "Review the selection below, and then click <strong>Save Permissions</strong>."
    2072 " Saved permissions can be mirrored to other operations by bulk edit."
     2073"Review the selection below, and then click <strong>Save Permissions</"
     2074"strong>. Saved permissions can be mirrored to other operations by bulk edit."
    20732075msgstr ""
    20742076"Examiner la sélection ci-dessous, puis cliquer sur <strong>Enregistrer les "
     
    26892691#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:793
    26902692msgid ""
    2691 "To force the value of one or more settings network-wide, <strong>"
    2692 "copy</strong> the following code into your theme's <strong>functions."
    2693 "php</strong> file (or some other file which is always executed and not auto-"
    2694 "updated) and modify as desired:"
     2693"To force the value of one or more settings network-wide, <strong>copy</"
     2694"strong> the following code into your theme's <strong>functions.php</strong> "
     2695"file (or some other file which is always executed and not auto-updated) and "
     2696"modify as desired:"
    26952697msgstr ""
    26962698"Pour forcer la valeur d’un ou plusieurs réglages au niveau du réseau, "
     
    27572759#: classes/PublishPress/Permissions/UI/Settings.php:187
    27582760msgid "Upgrade to Permissions Pro"
    2759 msgstr "Passer en version Pro"
     2761msgstr "Mettre à niveau vers Permissions Pro"
    27602762
    27612763#: classes/PublishPress/Permissions/UI/PromoBanner.php:225
     
    29732975"renewal</a> discount may be available."
    29742976msgstr ""
    2975 "Votre clé presspermit.com a expiré, mais une réduction <a href=\"%s\">"
    2976 "renouvellement de PublishPress</a> peut être disponible."
     2977"Votre clé presspermit.com a expiré, mais une réduction <a "
     2978"href=\"%s\">renouvellement de PublishPress</a> peut être disponible."
  • press-permit-core/trunk/languages/press-permit-core.pot

    r3231599 r3238708  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: PublishPress Permissions 4.1.1\n"
     5"Project-Id-Version: PublishPress Permissions 4.1.2\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-01-25T22:31:20+00:00\n"
     12"POT-Creation-Date: 2025-02-09T04:41:39+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.10.0\n"
     
    479479
    480480#: classes/PublishPress/Permissions/UI/AgentPermissions.php:381
    481 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:454
     481#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:529
    482482msgid "%1$sUsers who have Supplemental Roles assigned directly%2$s"
    483483msgstr ""
    484484
    485485#: classes/PublishPress/Permissions/UI/AgentPermissions.php:382
    486 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:455
     486#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:530
    487487msgid "%1$sUsers who have Specific Permissions assigned directly%2$s"
    488488msgstr ""
    489489
    490490#: classes/PublishPress/Permissions/UI/AgentPermissions.php:383
    491 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:456
     491#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:531
    492492msgid "%1$sUsers who have Supplemental Roles or Specific Permissions directly%2$s"
    493493msgstr ""
     
    646646
    647647#: classes/PublishPress/Permissions/UI/AgentPermissionsUI.php:132
    648 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:36
     648#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:37
    649649msgid "Statuses"
    650650msgstr ""
     
    994994#: classes/PublishPress/Permissions/UI/Dashboard/DashboardFilters.php:239
    995995#: classes/PublishPress/Permissions/UI/Dashboard/PostsListing.php:82
    996 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:38
     996#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:39
    997997msgid "Permissions"
    998998msgstr ""
     
    10941094
    10951095#: classes/PublishPress/Permissions/UI/Dashboard/ItemExceptionsUI.php:266
    1096 #: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:318
     1096#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:325
    10971097msgid "close"
    10981098msgstr ""
     
    12871287#: classes/PublishPress/Permissions/UI/GroupNew.php:103
    12881288#: classes/PublishPress/Permissions/UI/GroupsListTable.php:173
    1289 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:583
    1290 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:645
    1291 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:698
     1289#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:658
     1290#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:720
     1291#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:773
    12921292msgid "Description"
    12931293msgstr ""
     
    15431543msgstr ""
    15441544
    1545 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:25
     1545#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:26
    15461546msgid "Advanced"
    15471547msgstr ""
    15481548
    1549 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:32
     1549#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:33
    15501550msgid "Advanced Settings"
    15511551msgstr ""
    15521552
    1553 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:33
     1553#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:34
    15541554msgid "File Filtering"
    15551555msgstr ""
    15561556
    1557 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:34
     1557#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:35
    15581558msgid "Network-Wide Settings"
    15591559msgstr ""
    15601560
    1561 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:35
     1561#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:36
    15621562#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:28
    15631563msgid "Editor Options"
    15641564msgstr ""
    15651565
    1566 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:37
     1566#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:38
    15671567msgid "Page Structure"
    15681568msgstr ""
    15691569
    1570 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:39
     1570#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:40
    15711571msgid "Permissions Capabilities"
    15721572msgstr ""
    15731573
    1574 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:40
     1574#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:41
    15751575msgid "Front End"
    15761576msgstr ""
    15771577
    1578 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:41
     1578#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:42
    15791579msgid "User Management"
    15801580msgstr ""
    15811581
    1582 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:42
     1582#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:43
    15831583msgid "Constants"
    15841584msgstr ""
    15851585
    1586 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:43
     1586#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:44
    15871587msgid "Role Integration"
    15881588msgstr ""
    15891589
    1590 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:44
     1590#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:45
    15911591msgid "Nav Menu Editing"
    15921592msgstr ""
    15931593
    1594 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:45
     1594#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:46
    15951595msgid "Miscellaneous"
    15961596msgstr ""
    15971597
    1598 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:59
     1598#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:60
    15991599msgid "Display all advanced settings"
    16001600msgstr ""
    16011601
    1602 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:60
     1602#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:61
    16031603msgid "Delete settings on plugin deletion"
    16041604msgstr ""
    16051605
    1606 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:61
     1606#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:62
    16071607msgid "Post-specific Permissions take priority"
    16081608msgstr ""
    16091609
    1610 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:62
     1610#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:63
    16111611msgid "Search Results include Media"
    16121612msgstr ""
    16131613
    1614 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:63
     1614#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:64
     1615msgid "Regulate access to Category archive pages"
     1616msgstr ""
     1617
     1618#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:65
    16151619msgid "Performance: Don't filter category / tag counts"
    16161620msgstr ""
    16171621
    1618 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:64
     1622#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:66
    16191623msgid "Filter Menu Items"
    16201624msgstr ""
    16211625
    1622 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:65
     1626#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:67
    16231627msgid "Page Parent selection for editable pages only"
    16241628msgstr ""
    16251629
    1626 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:66
     1630#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:68
    16271631msgid "Auto-assign available term if default term is unavailable"
    16281632msgstr ""
    16291633
    1630 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:67
     1634#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:69
    16311635#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/SettingsTabEditing.php:52
    16321636msgid "List other user's uneditable posts"
    16331637msgstr ""
    16341638
    1635 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:68
     1639#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:70
    16361640msgid "Pages can be set or removed from Top Level by: "
    16371641msgstr ""
    16381642
    1639 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:73
     1643#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:75
    16401644msgid "Type-specific Supplemental Roles grant all general capabilities in Pattern Role"
    16411645msgstr ""
    16421646
    1643 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:74
     1647#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:76
    16441648msgid "Suppress \"Private: \" Caption"
    16451649msgstr ""
    16461650
    1647 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:75
     1651#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:77
    16481652msgid "Select Permission Groups at User creation"
    16491653msgstr ""
    16501654
    1651 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:76
     1655#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:78
    16521656msgid "Permission Groups on User Profile"
    16531657msgstr ""
    16541658
    1655 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:77
     1659#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:79
    16561660msgid "Supplemental Roles on User Profile"
    16571661msgstr ""
    16581662
    1659 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:78
     1663#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:80
    16601664msgid "Order Page Parent dropdown by Title"
    16611665msgstr ""
    16621666
    1663 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:79
     1667#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:81
    16641668msgid "Add taxonomy columns to Edit Posts screen"
    16651669msgstr ""
    16661670
    1667 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:81
     1671#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:83
    16681672msgid "Allow Renaming of uneditable Items"
    16691673msgstr ""
    16701674
    1671 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:82
     1675#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:84
    16721676msgid "Lock custom menu items"
    16731677msgstr ""
    16741678
    1675 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:83
     1679#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:85
    16761680msgid "Bulk Add Author Pages on Users screen"
    16771681msgstr ""
    16781682
    1679 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:106
     1683#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:107
    16801684msgid "%1$sDisable%2$s all filtering for anonymous users"
    16811685msgstr ""
    16821686
    1683 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:107
     1687#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:108
    16841688msgid "%1$sDo not apply%2$s metagroup permissions for Administrators"
    16851689msgstr ""
    16861690
    1687 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:108
     1691#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:109
    16881692msgid "Limit front-end category / term filtering"
    16891693msgstr ""
    16901694
    1691 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:109
     1695#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:110
    16921696msgid "User Search: Filter by WP role"
    16931697msgstr ""
    16941698
    1695 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:110
     1699#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:111
    16961700msgid "Display Administrative Hints"
    16971701msgstr ""
    16981702
    1699 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:111
     1703#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:112
    17001704msgid "Display Module Hints"
    17011705msgstr ""
    17021706
    1703 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:112
     1707#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:113
    17041708msgid "Detect Dynamically Mapped WP Roles"
    17051709msgstr ""
    17061710
    1707 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:113
     1711#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:114
    17081712msgid "Non-Administrators can set Reading Permissions for their editable posts"
    17091713msgstr ""
    17101714
    1711 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:114
     1715#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:115
    17121716msgid "Bulk Add / Remove Groups on Users Screen"
    17131717msgstr ""
    17141718
    1715 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:116
     1719#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:117
    17161720msgid "Non-Administrators can set Editing Permissions for their editable posts"
    17171721msgstr ""
    17181722
    1719 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:117
     1723#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:118
    17201724msgid "Assign Publish Permissions separate from Edit Permissions"
    17211725msgstr ""
    17221726
    1723 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:225
     1727#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:264
     1728msgid "The following would revert to default settings:"
     1729msgstr ""
     1730
     1731#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:266
     1732msgid "The following would change from defaults to previously stored settings:"
     1733msgstr ""
     1734
     1735#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:298
    17241736msgid "note: Plugin settings and configuration data will be deleted, but only after the last copy of Permissions / Permissions Pro is deleted."
    17251737msgstr ""
    17261738
    1727 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:254
     1739#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:327
    17281740msgid "no Page Parent filter"
    17291741msgstr ""
    17301742
    1731 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:254
     1743#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:327
    17321744msgid "Page Authors, Editors and Administrators"
    17331745msgstr ""
    17341746
    1735 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:254
     1747#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:327
    17361748msgid "Page Editors and Administrators"
    17371749msgstr ""
    17381750
    1739 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:254
     1751#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:327
    17401752msgid "Administrators"
    17411753msgstr ""
    17421754
    1743 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:329
     1755#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:402
    17441756msgid "%sPosts / Pages Listing:%s %s"
    17451757msgstr ""
    17461758
    1747 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:411
     1759#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:486
    17481760msgid "User editing capabilities apply for"
    17491761msgstr ""
    17501762
    1751 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:414
     1763#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:489
    17521764msgid "any user"
    17531765msgstr ""
    17541766
    1755 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:414
     1767#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:489
    17561768msgid "equal or lower role levels"
    17571769msgstr ""
    17581770
    1759 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:414
     1771#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:489
    17601772msgid "lower role levels"
    17611773msgstr ""
    17621774
    1763 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:434
     1775#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:509
    17641776msgid "For user-specific Supplemental Roles and Permissions, click a \"Roles\" cell on the %1$sUsers%2$s screen."
    17651777msgstr ""
    17661778
    1767 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:445
     1779#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:520
    17681780msgid "To filter the Users list by Permissions, follow a link below:"
    17691781msgstr ""
    17701782
    1771 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:450
     1783#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:525
    17721784msgid "%1$sUsers who have no custom Permission Group membership%2$s"
    17731785msgstr ""
    17741786
    1775 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:460
     1787#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:535
    17761788msgid "%1$sUsers who have Supplemental Roles (directly or via group)%2$s"
    17771789msgstr ""
    17781790
    1779 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:461
     1791#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:536
    17801792msgid "%1$sUsers who have Specific Permissions (directly or via group)%2$s"
    17811793msgstr ""
    17821794
    1783 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:462
     1795#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:537
    17841796msgid "%1$sUsers who have Supplemental Roles or Specific Permissions (directly or via group)%2$s"
    17851797msgstr ""
    17861798
    1787 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:470
     1799#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:545
    17881800msgid "%sNote%s: If you don't see the Roles column on the Users screen, make sure it is enabled in Screen Options. "
    17891801msgstr ""
    17901802
    1791 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:513
     1803#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:588
    17921804msgid "To control the makeup of Supplemental Roles, see %1$sRole Usage%2$s."
    17931805msgstr ""
    17941806
    1795 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:582
     1807#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:657
    17961808msgid "Capability Name"
    17971809msgstr ""
    17981810
    1799 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:643
     1811#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:718
    18001812msgid "Defined Constant"
    18011813msgstr ""
    18021814
    1803 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:644
    1804 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:697
     1815#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:719
     1816#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:772
    18051817msgid "Setting"
    18061818msgstr ""
    18071819
    1808 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:696
     1820#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:771
    18091821msgid "Available Constant"
    18101822msgstr ""
    18111823
    1812 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:772
     1824#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:847
    18131825msgid "To modify one or more default settings network-wide, <strong>copy</strong> the following code into your theme's <strong>functions.php</strong> file (or some other file which is always executed and not auto-updated) and modify as desired:"
    18141826msgstr ""
    18151827
    1816 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:793
     1828#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:868
    18171829msgid "To force the value of one or more settings network-wide, <strong>copy</strong> the following code into your theme's <strong>functions.php</strong> file (or some other file which is always executed and not auto-updated) and modify as desired:"
    18181830msgstr ""
    18191831
    1820 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:828
     1832#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:903
    18211833msgid "All settings in this form (including those on undisplayed tabs) will be reset to DEFAULTS.  Are you sure?"
    18221834msgstr ""
    18231835
    1824 #: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:831
     1836#: classes/PublishPress/Permissions/UI/SettingsTabAdvanced.php:906
    18251837#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/RoleUsage.php:95
    18261838msgid "Revert to Defaults"
     
    21412153msgstr ""
    21422154
    2143 #: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:291
     2155#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:298
    21442156msgid "Author Search / Select"
    21452157msgstr ""
    21462158
    2147 #: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:317
     2159#: modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php:324
    21482160msgid "select other"
    21492161msgstr ""
  • press-permit-core/trunk/modules/presspermit-collaboration/classes/Permissions/Collab/Revisionary/Admin.php

    r2928205 r3238708  
    219219        global $revisionary;
    220220
    221         if (empty($revisionary->skip_revision_allowance)) {
     221        if (empty($revisionary->skip_revision_allowance) && ('include' != $mod_type)) {
    222222            $defaults = ['via_item_source' => 'post', 'via_item_type' => '', 'status' => ''];
    223223            $args = array_merge($defaults, $args);
  • press-permit-core/trunk/modules/presspermit-collaboration/classes/Permissions/Collab/Revisions/Admin.php

    r2928205 r3238708  
    103103        global $revisionary;
    104104
    105         if ('edit' != $operation)
    106             return $exception_items;
     105        if (('edit' != $operation) || ('include' == $mod_type)) {
     106            return $exception_items;
     107        }
    107108
    108109        // Modify Posts listing, but not 'edit_post' capability check
  • press-permit-core/trunk/modules/presspermit-collaboration/classes/Permissions/Collab/UI/Dashboard/PostEdit.php

    r3210104 r3238708  
    122122        wp_enqueue_script('presspermit-listbox', PRESSPERMIT_URLPATH . "/common/js/listbox{$suffix}.js", ['jquery', 'jquery-form'], PRESSPERMIT_VERSION, true);
    123123        $wp_scripts->in_footer[] = 'presspermit-listbox';
    124         wp_localize_script('presspermit-listbox', 'ppListbox', ['omit_admins' => '1', 'metagroups' => 1]);
     124        wp_localize_script(
     125            'presspermit-listbox',
     126            'ppListbox',
     127            [
     128                'omit_admins' => !defined('PP_ADMINS_IN_PERMISSION_GROUPS') || !PP_ADMINS_IN_PERMISSION_GROUPS ? '1' : 0,
     129                'metagroups' => 1
     130            ]
     131        );
    125132
    126133        wp_enqueue_script('presspermit-agent-select', PRESSPERMIT_URLPATH . "/common/js/agent-exception-select{$suffix}.js", ['jquery', 'jquery-form'], PRESSPERMIT_VERSION, true);
  • press-permit-core/trunk/modules/presspermit-collaboration/presspermit-collaboration.php

    r3231599 r3238708  
    5757                class_alias('\PressShack\LibWP', '\PublishPress\Permissions\Collab\UI\Dashboard\PWP');
    5858                class_alias('\PressShack\LibWP', '\PublishPress\Permissions\Collab\UI\Gutenberg\PWP');
     59                class_alias('\PressShack\LibWP', '\PublishPress\Permissions\Collab\UI\Handlers\PWP');
    5960
    6061                require_once(__DIR__ . '/classes/Permissions/Collab.php');
  • press-permit-core/trunk/press-permit-core.php

    r3231599 r3238708  
    77 * Author: PublishPress
    88 * Author URI:  https://publishpress.com/
    9  * Version: 4.1.1
     9 * Version: 4.1.2
    1010 * Text Domain: press-permit-core
    1111 * Domain Path: /languages/
     
    206206        }
    207207
    208         define('PRESSPERMIT_VERSION', '4.1.1');
     208        define('PRESSPERMIT_VERSION', '4.1.2');
    209209
    210210        if (!defined('PRESSPERMIT_READ_PUBLIC_CAP')) {
  • press-permit-core/trunk/readme.txt

    r3231599 r3238708  
    66Tested up to: 6.7
    77Requires PHP: 7.2.5
    8 Stable tag: 4.1.1
     8Stable tag: 4.1.2
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    240240
    241241== Changelog ==
     242
     243= 4.1.2 - 10 February 2025 =
     244* Added: Template function for the Teaser module (Pro). #1423
     245* Fixed: "Limit to" permissions for Revision Submission were blocking draft post editing. #1407
     246* Feature: Option to apply Category restrictions to archive page (Settings > Advanced > Front End)
     247* Fixed: User Profile issue preventing removal of a user from all groups. #1403
     248* Fixed: If a role has a Specific Permissions assigned as "Limit to > (none)", the default post editor metabox selection for new posts was "Unblocked"
     249* Fixed: Invalid classname in User/Groups selection. #1421
     250* Fixed: Role Usage could not update role's setting. #1420
     251* Fixed: PHP Warning for undefined variable `$item_status`. #1419
     252* Fixed: Default selection in Permissions metabox on Add New Post when a "Limit to" > "(none)" Permission is active. #1401
     253* Fixed: Parentheses removed from editor metaboxes for cleaner display. #1387
     254* Compat: PublishPress Revisions - Avoid conflict with implementation of list_others_revisions, preview_others_revisions capabilities (with Revisions 3.6.1)
     255* Compat: PublishPress Revisions - "Limit to" permissions for Revision Submission also blocked the editing of regular draft posts
     256* Updated: Clarified the effect of enabling/disabling Advanced Options in Plugin Settings. #1435
     257* Updated: Settings > Advanced to clarify the effect of "Display all advanced options". #1437
     258* Updated: Apply Category restrictions to the Category archive page. #1425
     259* Updated: Access Circles: Allow Administrators to be added to a group. #1399
     260* Updated: Revisions compatibility to support reduced filtering for certain use cases. #1407
     261
     262* Updated: Language files (.pot and .mo), including FR translations. #1392
     263* Updated: Composer dependencies.
    242264
    243265= 4.1.1 - 30 January 2025 =
  • press-permit-core/trunk/vendor/autoload.php

    r3231599 r3238708  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit4d9ab17804db5492092749ae4f3ce298::getLoader();
     25return ComposerAutoloaderInit966cc3c026126972cf0980780a19429b::getLoader();
  • press-permit-core/trunk/vendor/composer/autoload_real.php

    r3231599 r3238708  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit4d9ab17804db5492092749ae4f3ce298
     5class ComposerAutoloaderInit966cc3c026126972cf0980780a19429b
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit4d9ab17804db5492092749ae4f3ce298', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit966cc3c026126972cf0980780a19429b', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit4d9ab17804db5492092749ae4f3ce298', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit966cc3c026126972cf0980780a19429b', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit4d9ab17804db5492092749ae4f3ce298::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInit966cc3c026126972cf0980780a19429b::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • press-permit-core/trunk/vendor/composer/autoload_static.php

    r3231599 r3238708  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit4d9ab17804db5492092749ae4f3ce298
     7class ComposerStaticInit966cc3c026126972cf0980780a19429b
    88{
    99    public static $classMap = array (
     
    1414    {
    1515        return \Closure::bind(function () use ($loader) {
    16             $loader->classMap = ComposerStaticInit4d9ab17804db5492092749ae4f3ce298::$classMap;
     16            $loader->classMap = ComposerStaticInit966cc3c026126972cf0980780a19429b::$classMap;
    1717
    1818        }, null, ClassLoader::class);
  • press-permit-core/trunk/vendor/composer/installed.php

    r3231599 r3238708  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '1f18a7e27b9fdd666f353adb4c04e159cea2eae5',
     6        'reference' => 'ad25e79df7b55f25fdf2adc5ca6e3b352694cb08',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-master',
    1515            'version' => 'dev-master',
    16             'reference' => '1f18a7e27b9fdd666f353adb4c04e159cea2eae5',
     16            'reference' => 'ad25e79df7b55f25fdf2adc5ca6e3b352694cb08',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.