Skip to content

Commit

Permalink
Merge pull request #85 from publishpress/v3.1.4
Browse files Browse the repository at this point in the history
V3.1.4
  • Loading branch information
agapetry authored Apr 20, 2020
2 parents 08b6f6f + c8f72fd commit 28c5d4e
Show file tree
Hide file tree
Showing 55 changed files with 373 additions and 2,507 deletions.
2 changes: 1 addition & 1 deletion classes/PublishPress/Permissions/UI/Dashboard/PostEdit.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function actAddMetaBoxes()
// ========= register WP-rendered metaboxes ============
$post_type = PWP::findPostType();

if (!current_user_can('pp_assign_roles') || apply_filters('presspermit_disable_exception_ui', false, 'post', 0, $post_type)) {
if (!current_user_can('pp_assign_roles') || apply_filters('presspermit_disable_exception_ui', false, 'post', PWP::getPostID(), $post_type)) {
return;
}

Expand Down
8 changes: 4 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

define('PRESSPERMIT_VERSION', '3.1.3');
define('PRESSPERMIT_VERSION', '3.1.4-beta');

require_once(__DIR__ . '/includes/Core.php');
new \PublishPress\Permissions\Core();
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ Press Permit Core + PP extension users: download PublishPress Permissions Pro fr

== Changelog ==

= 3.1.4-beta =
* Compat : PublishPress Revisions - Support suppression of Permissions metaboxes on Edit Revision screen

= 3.1.3 - 6 Apr 2020 =
* Fixed : Possible fatal error loading Permissions screens on a small percentage of installations

Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@
"source": {
"type": "git",
"url": "https://github.com/publishpress/WordPress-Version-Notices.git",
"reference": "a86b0c364d973cd27d2bf5e73ef5afc131430e86"
"reference": "45e6cb0f302165f3df820ff01c4f267f0b22517d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/publishpress/WordPress-Version-Notices/zipball/a86b0c364d973cd27d2bf5e73ef5afc131430e86",
"reference": "a86b0c364d973cd27d2bf5e73ef5afc131430e86",
"url": "https://api.github.com/repos/publishpress/WordPress-Version-Notices/zipball/45e6cb0f302165f3df820ff01c4f267f0b22517d",
"reference": "45e6cb0f302165f3df820ff01c4f267f0b22517d",
"shasum": ""
},
"require": {
Expand All @@ -124,7 +124,7 @@
"require-dev": {
"lucatume/wp-browser": "^2.2"
},
"time": "2020-04-02T16:14:09+00:00",
"time": "2020-04-08T13:59:53+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand Down
38 changes: 0 additions & 38 deletions vendor/pimple/pimple/src/Pimple/Tests/Fixtures/Invokable.php

This file was deleted.

34 changes: 0 additions & 34 deletions vendor/pimple/pimple/src/Pimple/Tests/Fixtures/NonInvokable.php

This file was deleted.

This file was deleted.

35 changes: 0 additions & 35 deletions vendor/pimple/pimple/src/Pimple/Tests/Fixtures/Service.php

This file was deleted.

This file was deleted.

Loading

0 comments on commit 28c5d4e

Please sign in to comment.