Plugin Directory

Changeset 2741876


Ignore:
Timestamp:
06/13/2022 08:28:48 PM (4 years ago)
Author:
andyexeter
Message:

Release 3.0.6. See readme.txt for changelog

Location:
post-lockdown
Files:
27 added
3 edited

Legend:

Unmodified
Added
Removed
  • post-lockdown/trunk/post-lockdown.php

    r2683255 r2741876  
    33 * Plugin Name: Post Lockdown
    44 * Description: Allows admins to protect selected posts and pages so they cannot be trashed or deleted by non-admin users.
    5  * Version: 3.0.5
     5 * Version: 3.0.6
    66 * Author: Andy Palmer
    77 * Author URI: https://andypalmer.me
  • post-lockdown/trunk/readme.txt

    r2741638 r2741876  
    55Requires at least: 3.8
    66Tested up to: 6.0
    7 Stable tag: 3.0.5
     7Stable tag: 3.0.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6767
    6868== Changelog ==
     69
     70= 3.0.6 =
     71* Fixed a bug which allowed non-admins access to Post Lockdown's bulk actions
    6972
    7073= 3.0.5 =
  • post-lockdown/trunk/src/PostLockdown/BulkActions.php

    r2683256 r2741876  
    2525    public function _set_post_type_hooks()
    2626    {
     27        if (!current_user_can($this->postlockdown->get_admin_cap())) {
     28            return;
     29        }
     30
    2731        if (!$this->postlockdown->is_bulk_actions_enabled()) {
    2832            return;
Note: See TracChangeset for help on using the changeset viewer.