Version Description
- Feature : WooCommerce - If current user has duplicate_products capability, make Woo honor it
- Feature : Link to Backup Tool from sidebar of Roles and Capabilities screen
- Feature : Link to Roles and Capabilities screen from Backup Tool
- Change : Minor code cleanup and refactor
- Change : Copyrights, onscreen link for PublishPress ownership
- Change : Links to Related Permissions Plugins in sidebar on Roles and Capabilities screen
Download this release
Release Info
Developer | kevinB |
Plugin | Capability Manager Enhanced |
Version | 1.6 |
Comparing to | |
See all releases |
Code changes from version 1.5.11 to 1.6
- admin.css +2 -22
- capsman-enhanced.php +17 -10
- framework/classes/abstract/plugin.php +0 -264
- framework/init.php +0 -72
- framework/lib/themes-agapetry.php +0 -30
- framework/loader.php +0 -32
- framework/styles/admin.css +2 -47
- framework/styles/images/dl-bg-gray.png +0 -0
- framework/styles/images/docs.png +0 -0
- framework/styles/images/help.png +0 -0
- includes/admin.php +23 -14
- includes/backup.php +1 -7
- includes/filters-woocommerce.php +19 -0
- includes/filters.php +25 -0
- includes/manager.php +63 -27
- includes/network.php +1 -1
- lang/capsman.mo +0 -0
- lang/capsman.po +350 -279
- readme.txt +23 -2
admin.css
CHANGED
@@ -26,18 +26,9 @@
|
|
26 |
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
27 |
*/
|
28 |
|
29 |
-
/* =========================================================== SETTINGS */
|
30 |
-
|
31 |
-
#icon-capsman-admin {
|
32 |
-
background: transparent url('images/cman32.png') no-repeat;
|
33 |
-
}
|
34 |
|
35 |
/* ====================================================== SIDEBAR ICONS */
|
36 |
|
37 |
-
td.sidebar a.capsman {
|
38 |
-
background-image: url('images/capsman.png');
|
39 |
-
}
|
40 |
-
|
41 |
a.cap_type {
|
42 |
text-decoration: none;
|
43 |
}
|
@@ -142,12 +133,6 @@ td.cap-neg a.neg-cap {
|
|
142 |
display:none;
|
143 |
}
|
144 |
|
145 |
-
/*
|
146 |
-
span.cme-drop-cap {
|
147 |
-
color: #aaa;
|
148 |
-
}
|
149 |
-
*/
|
150 |
-
|
151 |
td.cap-metagroup label span {
|
152 |
color: #080 !important;
|
153 |
}
|
@@ -195,13 +180,8 @@ font-style: italic;
|
|
195 |
margin-top:5px;
|
196 |
}
|
197 |
|
198 |
-
/*
|
199 |
-
#wpbody-content{
|
200 |
-
padding-bottom: 30px;
|
201 |
-
}
|
202 |
-
*/
|
203 |
-
|
204 |
td.cm-has-via-pp {
|
205 |
background-color: #7f7;
|
206 |
}
|
207 |
-
|
|
26 |
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
27 |
*/
|
28 |
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
/* ====================================================== SIDEBAR ICONS */
|
31 |
|
|
|
|
|
|
|
|
|
32 |
a.cap_type {
|
33 |
text-decoration: none;
|
34 |
}
|
133 |
display:none;
|
134 |
}
|
135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
td.cap-metagroup label span {
|
137 |
color: #080 !important;
|
138 |
}
|
180 |
margin-top:5px;
|
181 |
}
|
182 |
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
td.cm-has-via-pp {
|
184 |
background-color: #7f7;
|
185 |
}
|
186 |
+
|
187 |
+
#akmin span.publishpress,#akmin span.publishpress a,#akmin span.publishpress a:visited {color:#655997;font-weight:bold}
|
capsman-enhanced.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Capability Manager Enhanced
|
4 |
* Plugin URI: https://publishpress.com
|
5 |
* Description: Manage WordPress role definitions, per-site or network-wide. Organizes post capabilities by post type and operation.
|
6 |
-
* Version: 1.
|
7 |
* Author: PublishPress
|
8 |
* Author URI: https://publishpress.com
|
9 |
* Text Domain: capsman-enhanced
|
@@ -23,12 +23,12 @@
|
|
23 |
* @copyright Copyright (C) 2009, 2010 Jordi Canals; modifications Copyright (C) 2019 PublishPress
|
24 |
* @license GNU General Public License version 3
|
25 |
* @link https://publishpress.com
|
26 |
-
* @version 1.
|
27 |
*/
|
28 |
|
29 |
if ( ! defined( 'CAPSMAN_VERSION' ) ) {
|
30 |
-
define( 'CAPSMAN_VERSION', '1.
|
31 |
-
define( 'CAPSMAN_ENH_VERSION', '1.
|
32 |
}
|
33 |
|
34 |
if ( cme_is_plugin_active( 'capsman.php' ) ) {
|
@@ -40,8 +40,6 @@ if ( cme_is_plugin_active( 'capsman.php' ) ) {
|
|
40 |
return;
|
41 |
} else {
|
42 |
define ( 'CME_FILE', __FILE__ );
|
43 |
-
define ( 'AK_CMAN_PATH', dirname(__FILE__) );
|
44 |
-
define ( 'AK_CMAN_LIB', AK_CMAN_PATH . '/includes' );
|
45 |
|
46 |
/**
|
47 |
* Sets an admin warning regarding required PHP version.
|
@@ -78,9 +76,11 @@ if ( cme_is_plugin_active( 'capsman.php' ) ) {
|
|
78 |
global $capsman;
|
79 |
|
80 |
// Run the plugin
|
81 |
-
|
82 |
-
|
83 |
-
|
|
|
|
|
84 |
|
85 |
if ( isset($_REQUEST['page']) && ( 'capsman' == $_REQUEST['page'] ) ) {
|
86 |
add_action( 'admin_enqueue_scripts', '_cme_pp_scripts' );
|
@@ -92,6 +92,7 @@ if ( cme_is_plugin_active( 'capsman.php' ) ) {
|
|
92 |
}
|
93 |
}
|
94 |
|
|
|
95 |
add_action( 'plugins_loaded', '_cme_act_pp_active', 1 );
|
96 |
|
97 |
function _cme_act_pp_active() {
|
@@ -99,6 +100,12 @@ function _cme_act_pp_active() {
|
|
99 |
define( 'PP_ACTIVE', true );
|
100 |
}
|
101 |
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
function _cme_pp_scripts() {
|
103 |
wp_enqueue_style( 'plugin-install' );
|
104 |
wp_enqueue_script( 'plugin-install' );
|
@@ -143,4 +150,4 @@ function _cme_pp_default_pattern_role( $role ) {
|
|
143 |
}
|
144 |
|
145 |
if ( is_multisite() )
|
146 |
-
require_once (
|
3 |
* Plugin Name: Capability Manager Enhanced
|
4 |
* Plugin URI: https://publishpress.com
|
5 |
* Description: Manage WordPress role definitions, per-site or network-wide. Organizes post capabilities by post type and operation.
|
6 |
+
* Version: 1.6
|
7 |
* Author: PublishPress
|
8 |
* Author URI: https://publishpress.com
|
9 |
* Text Domain: capsman-enhanced
|
23 |
* @copyright Copyright (C) 2009, 2010 Jordi Canals; modifications Copyright (C) 2019 PublishPress
|
24 |
* @license GNU General Public License version 3
|
25 |
* @link https://publishpress.com
|
26 |
+
* @version 1.6
|
27 |
*/
|
28 |
|
29 |
if ( ! defined( 'CAPSMAN_VERSION' ) ) {
|
30 |
+
define( 'CAPSMAN_VERSION', '1.6' );
|
31 |
+
define( 'CAPSMAN_ENH_VERSION', '1.6' );
|
32 |
}
|
33 |
|
34 |
if ( cme_is_plugin_active( 'capsman.php' ) ) {
|
40 |
return;
|
41 |
} else {
|
42 |
define ( 'CME_FILE', __FILE__ );
|
|
|
|
|
43 |
|
44 |
/**
|
45 |
* Sets an admin warning regarding required PHP version.
|
76 |
global $capsman;
|
77 |
|
78 |
// Run the plugin
|
79 |
+
require_once ( dirname(__FILE__) . '/framework/lib/formating.php' );
|
80 |
+
require_once ( dirname(__FILE__) . '/framework/lib/users.php' );
|
81 |
+
|
82 |
+
require_once ( dirname(__FILE__) . '/includes/manager.php' );
|
83 |
+
$capsman = new CapabilityManager();
|
84 |
|
85 |
if ( isset($_REQUEST['page']) && ( 'capsman' == $_REQUEST['page'] ) ) {
|
86 |
add_action( 'admin_enqueue_scripts', '_cme_pp_scripts' );
|
92 |
}
|
93 |
}
|
94 |
|
95 |
+
add_action( 'init', '_cme_init' );
|
96 |
add_action( 'plugins_loaded', '_cme_act_pp_active', 1 );
|
97 |
|
98 |
function _cme_act_pp_active() {
|
100 |
define( 'PP_ACTIVE', true );
|
101 |
}
|
102 |
|
103 |
+
function _cme_init() {
|
104 |
+
require_once ( dirname(__FILE__) . '/includes/filters.php' );
|
105 |
+
|
106 |
+
load_plugin_textdomain('capsman-enhanced', false, dirname(__FILE__) . '/lang');
|
107 |
+
}
|
108 |
+
|
109 |
function _cme_pp_scripts() {
|
110 |
wp_enqueue_style( 'plugin-install' );
|
111 |
wp_enqueue_script( 'plugin-install' );
|
150 |
}
|
151 |
|
152 |
if ( is_multisite() )
|
153 |
+
require_once ( dirname(__FILE__) . '/includes/network.php' );
|
framework/classes/abstract/plugin.php
DELETED
@@ -1,264 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Plugins related functions and classes.
|
4 |
-
*
|
5 |
-
* @version $Rev: 203758 $
|
6 |
-
* @author Jordi Canals
|
7 |
-
* @copyright Copyright (C) 2008, 2009, 2010 Jordi Canals
|
8 |
-
* @license GNU General Public License version 2
|
9 |
-
* @link http://alkivia.org
|
10 |
-
* @package Alkivia
|
11 |
-
* @subpackage Framework
|
12 |
-
*
|
13 |
-
|
14 |
-
Copyright 2008, 2009, 2010 Jordi Canals <devel@jcanals.cat>
|
15 |
-
|
16 |
-
This program is free software; you can redistribute it and/or
|
17 |
-
modify it under the terms of the GNU General Public License
|
18 |
-
version 2 as published by the Free Software Foundation.
|
19 |
-
|
20 |
-
This program is distributed in the hope that it will be useful,
|
21 |
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
22 |
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
23 |
-
GNU General Public License for more details.
|
24 |
-
|
25 |
-
You should have received a copy of the GNU General Public License
|
26 |
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
27 |
-
*/
|
28 |
-
|
29 |
-
/**
|
30 |
-
* Abtract class to be used as a plugin template.
|
31 |
-
* Must be implemented before using this class and it's recommended to prefix the class to prevent collissions.
|
32 |
-
* There are some special functions that have to be declared in implementations to perform main actions:
|
33 |
-
* - pluginActivate (Protected) Actions to run when activating the plugin.
|
34 |
-
* - pluginUpdate (Protected) Actions to update the plugin to a new version. (Updating version on DB is done after this).
|
35 |
-
* Takes plugin running version as a parameter.
|
36 |
-
*
|
37 |
-
* @author Jordi Canals
|
38 |
-
* @package Alkivia
|
39 |
-
* @subpackage Framework
|
40 |
-
* @link http://wiki.alkivia.org/framework/classes/plugin
|
41 |
-
*/
|
42 |
-
abstract class akPluginAbstract
|
43 |
-
{
|
44 |
-
/**
|
45 |
-
* Module ID. Is the module internal short name.
|
46 |
-
* Filled in constructor (as a constructor param). Used for translations textdomain.
|
47 |
-
*
|
48 |
-
* @var string
|
49 |
-
*/
|
50 |
-
public $ID;
|
51 |
-
|
52 |
-
/**
|
53 |
-
* Module version number.
|
54 |
-
*
|
55 |
-
* @since 0.8
|
56 |
-
*
|
57 |
-
* @var string
|
58 |
-
*/
|
59 |
-
public $version;
|
60 |
-
|
61 |
-
/**
|
62 |
-
* Full path to module main file.
|
63 |
-
* Main file is 'style.css' for themes and the php file with data header for plugins and components.
|
64 |
-
*
|
65 |
-
* @var string
|
66 |
-
*/
|
67 |
-
protected $mod_file;
|
68 |
-
|
69 |
-
/**
|
70 |
-
* URL to the module folder.
|
71 |
-
*
|
72 |
-
* @var string
|
73 |
-
*/
|
74 |
-
protected $mod_url;
|
75 |
-
|
76 |
-
/**
|
77 |
-
* Flag to see if module needs to be updated.
|
78 |
-
*
|
79 |
-
* @var boolean
|
80 |
-
*/
|
81 |
-
protected $needs_update = false;
|
82 |
-
|
83 |
-
/**
|
84 |
-
* Class constructor.
|
85 |
-
* Calls the implementated method 'startUp' if it exists. This is done at plugins loading time.
|
86 |
-
* Prepares admin menus by seting an action for the implemented method '_adminMenus' if it exists.
|
87 |
-
*
|
88 |
-
* @param string $mod_file Full main plugin's filename (absolute to root).
|
89 |
-
* @param string $ID Plugin short name (known as plugin ID).
|
90 |
-
* @return spostsPlugin|false The plugin object or false if not compatible.
|
91 |
-
*/
|
92 |
-
public function __construct( $mod_file, $ID = '' )
|
93 |
-
{
|
94 |
-
$this->mod_file = trim($mod_file);
|
95 |
-
|
96 |
-
$this->loadModuleData($ID);
|
97 |
-
|
98 |
-
add_action('plugins_loaded', array($this, 'pluginsInit'));
|
99 |
-
|
100 |
-
//if ( ! apply_filters('ak_' . $this->ID . '_disable_admin', $this->getOption('disable-admin-page')) ) {
|
101 |
-
add_action('admin_menu', array($this, 'adminMenus'), 5); // execute prior to PP, to use menu hook
|
102 |
-
//}
|
103 |
-
|
104 |
-
// Load styles
|
105 |
-
add_action('admin_print_styles', array($this, 'adminStyles'));
|
106 |
-
|
107 |
-
$this->moduleLoad();
|
108 |
-
|
109 |
-
// Activation and deactivation hooks.
|
110 |
-
register_activation_hook($this->mod_file, array($this, 'activate'));
|
111 |
-
|
112 |
-
add_action('plugins_loaded', array($this, 'init'));
|
113 |
-
}
|
114 |
-
|
115 |
-
/**
|
116 |
-
* Fires on plugin activation.
|
117 |
-
* @return void
|
118 |
-
*/
|
119 |
-
protected function pluginActivate () {}
|
120 |
-
|
121 |
-
/**
|
122 |
-
* Updates the plugin to a new version.
|
123 |
-
* @param string $version Old plugin version.
|
124 |
-
* @return void
|
125 |
-
*/
|
126 |
-
protected function pluginUpdate ( $version ) {}
|
127 |
-
|
128 |
-
/**
|
129 |
-
* Activates the plugin. Only runs on first activation.
|
130 |
-
* Saves the plugin version in DB, and calls the 'pluginActivate' method.
|
131 |
-
*
|
132 |
-
* @uses do_action() Calls 'ak_activate_<modID>_plugin' action hook.
|
133 |
-
* @hook register_activation_hook
|
134 |
-
* @access private
|
135 |
-
* @return void
|
136 |
-
*/
|
137 |
-
final function activate()
|
138 |
-
{
|
139 |
-
$this->pluginActivate();
|
140 |
-
|
141 |
-
// Do activated hook.
|
142 |
-
do_action('ak_activate_' . $this->ID . '_plugin');
|
143 |
-
}
|
144 |
-
|
145 |
-
/**
|
146 |
-
* Init the plugin (In action 'plugins_loaded')
|
147 |
-
* Here whe call the 'pluginUpdate' method.
|
148 |
-
* Also the plugin version and settings are updated here.
|
149 |
-
*
|
150 |
-
* @hook action plugins_loaded
|
151 |
-
* @uses do_action() Calls the 'ak_<modID>_updated' action hook.
|
152 |
-
*
|
153 |
-
* @access private
|
154 |
-
* @return void
|
155 |
-
*/
|
156 |
-
final function init()
|
157 |
-
{
|
158 |
-
// First, check if the plugin needs to be updated.
|
159 |
-
if ( $this->needs_update ) {
|
160 |
-
$version = get_option($this->ID . '_version');
|
161 |
-
$this->pluginUpdate($version);
|
162 |
-
|
163 |
-
update_option($this->ID . '_version', CAPSMAN_ENH_VERSION);
|
164 |
-
|
165 |
-
do_action('ak_' . $this->ID . '_updated');
|
166 |
-
}
|
167 |
-
}
|
168 |
-
|
169 |
-
/**
|
170 |
-
* Functions to execute after loading plugins.
|
171 |
-
*
|
172 |
-
* @return void
|
173 |
-
*/
|
174 |
-
final function pluginsInit ()
|
175 |
-
{
|
176 |
-
load_plugin_textdomain('capsman-enhanced', false, basename(dirname($this->mod_file)) . '/lang');
|
177 |
-
}
|
178 |
-
|
179 |
-
/**
|
180 |
-
* Enqueues additional administration styles.
|
181 |
-
* Send the framework admin.css file and additionally any other admin.css file
|
182 |
-
* found on the module direcotry.
|
183 |
-
*
|
184 |
-
* @hook action 'admin_print_styles'
|
185 |
-
* @uses apply_filters() Calls the 'ak_framework_style_admin' filter on the framework style url.
|
186 |
-
* @uses apply_filters() Calls the 'ak_<Mod_ID>_style_admin' filter on the style url.
|
187 |
-
* @access private
|
188 |
-
*
|
189 |
-
* @return void
|
190 |
-
*/
|
191 |
-
final function adminStyles()
|
192 |
-
{
|
193 |
-
if ( empty( $_REQUEST['page'] ) || ! in_array( $_REQUEST['page'], array( 'capsman', 'capsman-tool' ) ) )
|
194 |
-
return;
|
195 |
-
|
196 |
-
// FRAMEWORK admin styles.
|
197 |
-
$url = apply_filters('ak_framework_style_admin', AK_STYLES_URL . '/admin.css');
|
198 |
-
if ( ! empty($url) ) {
|
199 |
-
wp_register_style('ak_framework_admin', $url, false, get_option('ak_framework_version'));
|
200 |
-
wp_enqueue_style('ak_framework_admin');
|
201 |
-
}
|
202 |
-
|
203 |
-
// MODULE admin styles.
|
204 |
-
if ( file_exists(dirname($this->mod_file) . '/admin.css') ) {
|
205 |
-
$url = $this->mod_url . '/admin.css';
|
206 |
-
} else {
|
207 |
-
$url = '';
|
208 |
-
}
|
209 |
-
|
210 |
-
$url = apply_filters('ak_' . $this->ID . '_style_admin', $url);
|
211 |
-
if ( ! empty($url) ) {
|
212 |
-
wp_register_style('ak_' . $this->ID . '_admin', $url, array('ak_framework_admin'), CAPSMAN_ENH_VERSION);
|
213 |
-
wp_enqueue_style('ak_' . $this->ID . '_admin');
|
214 |
-
}
|
215 |
-
|
216 |
-
if ( file_exists(dirname($this->mod_file) . '/admin.js') ) {
|
217 |
-
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '.dev' : '';
|
218 |
-
$url = $this->mod_url . "/admin{$suffix}.js";
|
219 |
-
wp_enqueue_script( 'cme_admin', $url, array('jquery'), CAPSMAN_VERSION, true );
|
220 |
-
wp_localize_script( 'cme_admin', 'cmeAdmin', array(
|
221 |
-
'negationCaption' => __( 'Explicity negate this capability by storing as disabled', 'capsman-enhanced' ),
|
222 |
-
'typeCapsNegationCaption' => __( 'Explicitly negate these capabilities by storing as disabled', 'capsman-enhanced' ),
|
223 |
-
'typeCapUnregistered' => __( 'Post type registration does not define this capability distinctly', 'capsman-enhanced' ),
|
224 |
-
'capNegated' => __( 'This capability is explicitly negated. Click to add/remove normally.', 'capsman-enhanced' ),
|
225 |
-
'chkCaption' => __( 'Add or remove this capability from the WordPress role', 'capsman-enhanced' ),
|
226 |
-
'switchableCaption' => __( 'Add or remove capability from the role normally', 'capsman-enhanced' ) )
|
227 |
-
);
|
228 |
-
}
|
229 |
-
|
230 |
-
}
|
231 |
-
|
232 |
-
/**
|
233 |
-
* Loads module data and settings.
|
234 |
-
* Data is loaded from the module file headers. Settings from Database and alkivia.ini.
|
235 |
-
*
|
236 |
-
* @return void
|
237 |
-
*/
|
238 |
-
final private function loadModuleData ( $id )
|
239 |
-
{
|
240 |
-
$this->mod_url = plugins_url( '', CME_FILE );
|
241 |
-
|
242 |
-
if ( ! isset($this->ID) )
|
243 |
-
$this->ID = ( empty($id) ) ? strtolower(basename($this->mod_file, '.php')) : trim($id) ;
|
244 |
-
|
245 |
-
$old_version = get_option($this->ID . '_version');
|
246 |
-
if ( version_compare($old_version, CAPSMAN_ENH_VERSION, 'ne') ) {
|
247 |
-
$this->needs_update = true;
|
248 |
-
}
|
249 |
-
}
|
250 |
-
|
251 |
-
/**
|
252 |
-
* Executes as soon as module class is loaded.
|
253 |
-
*
|
254 |
-
* @return void
|
255 |
-
*/
|
256 |
-
protected function moduleLoad() {}
|
257 |
-
|
258 |
-
/**
|
259 |
-
* Fires at 'admin_menus' action hook.
|
260 |
-
*
|
261 |
-
* @return void
|
262 |
-
*/
|
263 |
-
public function adminMenus () {}
|
264 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
framework/init.php
DELETED
@@ -1,72 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Framework Initialization.
|
4 |
-
* This file is called at framework load time.
|
5 |
-
*
|
6 |
-
* @version $Rev: 199485 $
|
7 |
-
* @author Jordi Canals
|
8 |
-
* @copyright Copyright (C) 2008, 2009, 2010 Jordi Canals
|
9 |
-
* @license GNU General Public License version 2
|
10 |
-
* @link http://alkivia.org
|
11 |
-
* @package Alkivia
|
12 |
-
* @subpackage Framework
|
13 |
-
*
|
14 |
-
|
15 |
-
Copyright 2008, 2009, 2010 Jordi Canals <devel@jcanals.cat>
|
16 |
-
|
17 |
-
This program is free software; you can redistribute it and/or
|
18 |
-
modify it under the terms of the GNU General Public License
|
19 |
-
version 2 as published by the Free Software Foundation.
|
20 |
-
|
21 |
-
This program is distributed in the hope that it will be useful,
|
22 |
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
23 |
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
24 |
-
GNU General Public License for more details.
|
25 |
-
|
26 |
-
You should have received a copy of the GNU General Public License
|
27 |
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
28 |
-
*/
|
29 |
-
|
30 |
-
/**
|
31 |
-
* Creates and returns the framework URL.
|
32 |
-
*
|
33 |
-
* @return string Framework URL
|
34 |
-
*/
|
35 |
-
function ak_styles_url ()
|
36 |
-
{
|
37 |
-
$dir = str_replace('\\', '/', WP_CONTENT_DIR);
|
38 |
-
$fmw = str_replace('\\', '/', AKK_FRAMEWORK);
|
39 |
-
|
40 |
-
return str_replace($dir, content_url(), $fmw) . '/styles';
|
41 |
-
}
|
42 |
-
|
43 |
-
// ================================================= SET GLOBAL CONSTANTS =====
|
44 |
-
|
45 |
-
if ( ! defined('AK_STYLES_URL') ) {
|
46 |
-
/** Define the framework URL */
|
47 |
-
define ( 'AK_STYLES_URL', ak_styles_url() );
|
48 |
-
}
|
49 |
-
|
50 |
-
if ( ! defined('AK_INI_FILE') ) {
|
51 |
-
/** Define the alkivia.ini filename and absoilute location */
|
52 |
-
define ( 'AK_INI_FILE', WP_CONTENT_DIR . '/alkivia.ini');
|
53 |
-
}
|
54 |
-
|
55 |
-
if ( ! defined('AK_CLASSES') ) {
|
56 |
-
/** Define the classes folder */
|
57 |
-
define ( 'AK_CLASSES', AKK_FRAMEWORK . '/classes');
|
58 |
-
}
|
59 |
-
if ( ! defined('AK_LIB') ) {
|
60 |
-
/** Library folder for functions files */
|
61 |
-
define ( 'AK_LIB', AKK_FRAMEWORK . '/lib');
|
62 |
-
}
|
63 |
-
|
64 |
-
// ============================================== SET GLOBAL ACTION HOOKS =====
|
65 |
-
|
66 |
-
|
67 |
-
// ================================================ INCLUDE ALL LIBRARIES =====
|
68 |
-
|
69 |
-
require_once ( AK_LIB . '/formating.php' );
|
70 |
-
|
71 |
-
require_once ( AK_LIB . '/themes-agapetry.php' );
|
72 |
-
require_once ( AK_LIB . '/users.php' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
framework/lib/themes-agapetry.php
DELETED
@@ -1,30 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
function agp_admin_authoring( $mod_id = '' ) {
|
3 |
-
return; // kevinB temp
|
4 |
-
?>
|
5 |
-
<dl>
|
6 |
-
<dt>Capability Manager</dt>
|
7 |
-
<dd>
|
8 |
-
<ul>
|
9 |
-
<li><a href="http://agapetry.com" class="capsman" target="_blank"><?php _e('Plugin Homepage', 'capsman-enhanced'); ?></a></li>
|
10 |
-
<li><a href="http://presspermit.com" class="docs" target="_blank"><?php _e('Documentation', 'capsman-enhanced'); ?></a></li>
|
11 |
-
<li><a href="http://agapetry.net/forum" class="help" target="_blank"><?php _e('Support Forum', 'capsman-enhanced'); ?></a></li>
|
12 |
-
<li><a href="http://agapetry.com" class="home" target="_blank"><?php _e('Author Homepage', 'capsman-enhanced')?></a></li>
|
13 |
-
<li><a href="http://agapetry.com" class="donate" target="_blank"><?php _e('Help donating', 'capsman-enhanced')?></a></li>
|
14 |
-
</ul>
|
15 |
-
</dd>
|
16 |
-
</dl>
|
17 |
-
<?php
|
18 |
-
}
|
19 |
-
|
20 |
-
function agp_admin_footer( $mod_id = '' ) {
|
21 |
-
?>
|
22 |
-
<p class="footer">
|
23 |
-
<a href="http://wordpress.org/extend/plugins/capability-manager-enhanced"><?php printf( __( 'Capability Manager Enhanced %s', 'capsman-enhanced' ), CAPSMAN_ENH_VERSION );?></a>
|
24 |
-
| © <?php _e( 'Copyright 2010 Jordi Canals', 'capsman-enhanced' );?>
|
25 |
-
|
|
26 |
-
<?php
|
27 |
-
printf( __( 'Modifications © Copyright %1$s %2$s', 'capsman-enhanced' ), '2012-2018', '<a href="http://agapetry.com">Kevin Behrens</a>' );?>
|
28 |
-
</p>
|
29 |
-
<?php
|
30 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
framework/loader.php
DELETED
@@ -1,32 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Framework Loader.
|
4 |
-
* This file MUST always be included at startup when using the framework.
|
5 |
-
*
|
6 |
-
* @version $Rev: 203758 $
|
7 |
-
* @author Jordi Canals
|
8 |
-
* @copyright Copyright (C) 2008, 2009, 2010 Jordi Canals
|
9 |
-
* @license GNU General Public License version 2
|
10 |
-
* @link http://alkivia.org
|
11 |
-
* @package Alkivia
|
12 |
-
* @subpackage Framework
|
13 |
-
*
|
14 |
-
|
15 |
-
Copyright 2008, 2009, 2010 Jordi Canals <devel@jcanals.cat>
|
16 |
-
|
17 |
-
This program is free software; you can redistribute it and/or
|
18 |
-
modify it under the terms of the GNU General Public License
|
19 |
-
version 2 as published by the Free Software Foundation.
|
20 |
-
|
21 |
-
This program is distributed in the hope that it will be useful,
|
22 |
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
23 |
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
24 |
-
GNU General Public License for more details.
|
25 |
-
|
26 |
-
You should have received a copy of the GNU General Public License
|
27 |
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
28 |
-
*/
|
29 |
-
|
30 |
-
// Define the framework path.
|
31 |
-
define ('AKK_FRAMEWORK', dirname(__FILE__) );
|
32 |
-
include_once( AKK_FRAMEWORK . '/init.php');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
framework/styles/admin.css
CHANGED
@@ -65,7 +65,7 @@ table#akmin dl dt {
|
|
65 |
font-weight: bold;
|
66 |
margin: 0;
|
67 |
padding: 4px 10px 4px 10px;
|
68 |
-
background: #dfdfdf
|
69 |
}
|
70 |
|
71 |
table#akmin p {
|
@@ -73,29 +73,6 @@ table#akmin p {
|
|
73 |
margin: 0;
|
74 |
}
|
75 |
|
76 |
-
table#akmin .footer {
|
77 |
-
text-align: center;
|
78 |
-
font-size: 10.5px;
|
79 |
-
}
|
80 |
-
|
81 |
-
table#akmin .footer a {
|
82 |
-
font-size: 10.5px;
|
83 |
-
text-decoration: none;
|
84 |
-
}
|
85 |
-
|
86 |
-
table#akmin .footer a:hover {
|
87 |
-
text-decoration: underline;
|
88 |
-
}
|
89 |
-
table#akmin td small {
|
90 |
-
font-size: 10.5px;
|
91 |
-
}
|
92 |
-
|
93 |
-
table#akmin hr {
|
94 |
-
border: none 0;
|
95 |
-
border-top: 1px solid #bbbbbb;
|
96 |
-
height: 1px;
|
97 |
-
}
|
98 |
-
|
99 |
table#akmin ul {
|
100 |
list-style: none;
|
101 |
}
|
@@ -103,11 +80,6 @@ table#akmin ul {
|
|
103 |
table#akmin ul.ul-disc {
|
104 |
list-style: disc outside;
|
105 |
}
|
106 |
-
|
107 |
-
table#akmin ul.bullet {
|
108 |
-
list-style-type: disc;
|
109 |
-
padding-left: 20px;
|
110 |
-
}
|
111 |
|
112 |
/* ====================================================== ADMIN CONTENT */
|
113 |
|
@@ -150,21 +122,4 @@ table#akmin td.sidebar ul li {
|
|
150 |
table#akmin td.sidebar dd {
|
151 |
margin: 0;
|
152 |
padding: 5px 10px 5px 10px;
|
153 |
-
}
|
154 |
-
|
155 |
-
/* ====================================================== SIDEBAR ICONS */
|
156 |
-
|
157 |
-
td.sidebar a.docs {
|
158 |
-
background-image: url('images/docs.png');
|
159 |
-
}
|
160 |
-
|
161 |
-
td.sidebar a.help {
|
162 |
-
background-image: url('images/help.png');
|
163 |
-
}
|
164 |
-
|
165 |
-
td.sidebar a.home {
|
166 |
-
|
167 |
-
}
|
168 |
-
|
169 |
-
|
170 |
-
/* EOF */
|
65 |
font-weight: bold;
|
66 |
margin: 0;
|
67 |
padding: 4px 10px 4px 10px;
|
68 |
+
background: #dfdfdf;
|
69 |
}
|
70 |
|
71 |
table#akmin p {
|
73 |
margin: 0;
|
74 |
}
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
table#akmin ul {
|
77 |
list-style: none;
|
78 |
}
|
80 |
table#akmin ul.ul-disc {
|
81 |
list-style: disc outside;
|
82 |
}
|
|
|
|
|
|
|
|
|
|
|
83 |
|
84 |
/* ====================================================== ADMIN CONTENT */
|
85 |
|
122 |
table#akmin td.sidebar dd {
|
123 |
margin: 0;
|
124 |
padding: 5px 10px 5px 10px;
|
125 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
framework/styles/images/dl-bg-gray.png
DELETED
Binary file
|
framework/styles/images/docs.png
DELETED
Binary file
|
framework/styles/images/help.png
DELETED
Binary file
|
includes/admin.php
CHANGED
@@ -3,15 +3,14 @@
|
|
3 |
* General Admin for Capability Manager.
|
4 |
* Provides admin pages to create and manage roles and capabilities.
|
5 |
*
|
6 |
-
* @version $Rev: 198515 $
|
7 |
* @author Jordi Canals, Kevin Behrens
|
8 |
-
* @copyright Copyright (C) 2009, 2010 Jordi Canals, (C)
|
9 |
* @license GNU General Public License version 2
|
10 |
-
* @link
|
11 |
*
|
12 |
|
13 |
Copyright 2009, 2010 Jordi Canals <devel@jcanals.cat>
|
14 |
-
Modifications Copyright
|
15 |
|
16 |
This program is free software; you can redistribute it and/or
|
17 |
modify it under the terms of the GNU General Public License
|
@@ -68,11 +67,11 @@ if( defined('PP_ACTIVE') ) {
|
|
68 |
} else {
|
69 |
global $capsman;
|
70 |
$img_url = $capsman->mod_url . '/images/';
|
71 |
-
|
72 |
-
echo '<div style="margin-top:5px">';
|
73 |
-
_e( "To further customize editing or viewing access, consider stepping up to <a href='#pp-more'>Press Permit</a>.", 'capsman-enhanced' );
|
74 |
-
echo '</div>';
|
75 |
?>
|
|
|
|
|
|
|
|
|
76 |
<script type="text/javascript">
|
77 |
/* <![CDATA[ */
|
78 |
jQuery(document).ready( function($) {
|
@@ -634,14 +633,8 @@ if( defined('PP_ACTIVE') ) {
|
|
634 |
<?php endif; ?>
|
635 |
</p>
|
636 |
|
637 |
-
<br />
|
638 |
-
<?php agp_admin_footer(); ?>
|
639 |
-
<br />
|
640 |
-
|
641 |
</td>
|
642 |
<td class="sidebar">
|
643 |
-
<?php agp_admin_authoring($this->ID); ?>
|
644 |
-
|
645 |
<dl>
|
646 |
<dt><?php if ( defined('WPLANG') && WPLANG ) _e('Select New Role', 'capsman-enhanced'); else echo('Select Role to View / Edit'); ?></dt>
|
647 |
<dd style="text-align:center;">
|
@@ -703,6 +696,22 @@ if( defined('PP_ACTIVE') ) {
|
|
703 |
</dd>
|
704 |
</dl>
|
705 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
706 |
<?php if ( defined('PP_ACTIVE') )
|
707 |
$pp_ui->pp_types_ui( $defined );
|
708 |
?>
|
3 |
* General Admin for Capability Manager.
|
4 |
* Provides admin pages to create and manage roles and capabilities.
|
5 |
*
|
|
|
6 |
* @author Jordi Canals, Kevin Behrens
|
7 |
+
* @copyright Copyright (C) 2009, 2010 Jordi Canals, (C) 2019 PublishPress
|
8 |
* @license GNU General Public License version 2
|
9 |
+
* @link https://publishpress.com
|
10 |
*
|
11 |
|
12 |
Copyright 2009, 2010 Jordi Canals <devel@jcanals.cat>
|
13 |
+
Modifications Copyright 2019, PublishPress <help@publishpress.com>
|
14 |
|
15 |
This program is free software; you can redistribute it and/or
|
16 |
modify it under the terms of the GNU General Public License
|
67 |
} else {
|
68 |
global $capsman;
|
69 |
$img_url = $capsman->mod_url . '/images/';
|
|
|
|
|
|
|
|
|
70 |
?>
|
71 |
+
<div style="margin-top:5px">
|
72 |
+
<span class="publishpress"><?php printf( __( 'Thanks for using the %1$sPublishPress%2$s family of professional publishing tools.', 'capsman-enhanced'), '<a href="https://publishpress.com/" target="_blank">', '</a>' );?></span>
|
73 |
+
</div>
|
74 |
+
|
75 |
<script type="text/javascript">
|
76 |
/* <![CDATA[ */
|
77 |
jQuery(document).ready( function($) {
|
633 |
<?php endif; ?>
|
634 |
</p>
|
635 |
|
|
|
|
|
|
|
|
|
636 |
</td>
|
637 |
<td class="sidebar">
|
|
|
|
|
638 |
<dl>
|
639 |
<dt><?php if ( defined('WPLANG') && WPLANG ) _e('Select New Role', 'capsman-enhanced'); else echo('Select Role to View / Edit'); ?></dt>
|
640 |
<dd style="text-align:center;">
|
696 |
</dd>
|
697 |
</dl>
|
698 |
|
699 |
+
<dl>
|
700 |
+
<dt><?php _e('Backup Tool', 'capsman-enhanced'); ?></dt>
|
701 |
+
<dd style="text-align:center;">
|
702 |
+
<p><a href="tools.php?page=capsman-tool"><?php _e('Backup / Restore Roles', 'capsman-enhanced');?></a></p>
|
703 |
+
</dd>
|
704 |
+
</dl>
|
705 |
+
|
706 |
+
<dl>
|
707 |
+
<dt><?php _e('Related Permissions Plugins', 'capsman-enhanced'); ?></dt>
|
708 |
+
<ul>
|
709 |
+
<li><a href="https://wordpress.org/plugins/publishpress" target="_blank"><?php _e('PublishPress', 'capsman-enhanced');?></a></li>
|
710 |
+
<li><a href="https://wordpress.org/plugins/press-permit-core" target="_blank"><?php _e('Press Permit', 'capsman-enhanced');?></a></li>
|
711 |
+
<li><a href="https://wordpress.org/plugins/revisionary" target="_blank"><?php _e('Revisionary', 'capsman-enhanced');?></a></li>
|
712 |
+
</ul>
|
713 |
+
</dl>
|
714 |
+
|
715 |
<?php if ( defined('PP_ACTIVE') )
|
716 |
$pp_ui->pp_types_ui( $defined );
|
717 |
?>
|
includes/backup.php
CHANGED
@@ -30,7 +30,7 @@
|
|
30 |
?>
|
31 |
<div class="wrap">
|
32 |
<div id="icon-capsman-admin" class="icon32"></div>
|
33 |
-
<h2><?php
|
34 |
|
35 |
<form method="post" action="tools.php?page=<?php echo $this->ID ?>-tool">
|
36 |
<?php wp_nonce_field('capsman-backup-tool'); ?>
|
@@ -146,12 +146,6 @@
|
|
146 |
</dd>
|
147 |
</dl>
|
148 |
|
149 |
-
<?php agp_admin_footer(); ?>
|
150 |
-
|
151 |
-
</td>
|
152 |
-
|
153 |
-
<td class="sidebar">
|
154 |
-
<?php agp_admin_authoring($this->ID); ?>
|
155 |
</td>
|
156 |
</tr>
|
157 |
</table>
|
30 |
?>
|
31 |
<div class="wrap">
|
32 |
<div id="icon-capsman-admin" class="icon32"></div>
|
33 |
+
<h2><?php printf( __('Backup Tool for %1$sCapability Manager%2$s', 'capsman-enhanced'), '<a href="admin.php?page=capsman">', '</a>' );?></h2>
|
34 |
|
35 |
<form method="post" action="tools.php?page=<?php echo $this->ID ?>-tool">
|
36 |
<?php wp_nonce_field('capsman-backup-tool'); ?>
|
146 |
</dd>
|
147 |
</dl>
|
148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
</td>
|
150 |
</tr>
|
151 |
</table>
|
includes/filters-woocommerce.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* class CME_WooCommerce
|
4 |
+
*
|
5 |
+
* Uses WordPress or Woo API to adjust WooCommerce permissions
|
6 |
+
*/
|
7 |
+
class CME_WooCommerce {
|
8 |
+
function __construct() {
|
9 |
+
// Implement duplicate_product capability automatically if current user has it in role.
|
10 |
+
global $current_user;
|
11 |
+
if ( ! empty( $current_user->allcaps['duplicate_products'] ) ) {
|
12 |
+
add_filter( 'woocommerce_duplicate_product_capability', array( &$this, 'implement_duplicate_product_cap' ) );
|
13 |
+
}
|
14 |
+
}
|
15 |
+
|
16 |
+
function implement_duplicate_product_cap( $cap ) {
|
17 |
+
return 'duplicate_products';
|
18 |
+
}
|
19 |
+
}
|
includes/filters.php
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) exit;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* class CME_Extensions
|
6 |
+
*
|
7 |
+
* Load filters and actions for integration with third party plugins
|
8 |
+
*/
|
9 |
+
class CME_Extensions {
|
10 |
+
var $extensions = array();
|
11 |
+
|
12 |
+
function add( $object ) {
|
13 |
+
if ( ! is_object( $object ) ) return;
|
14 |
+
|
15 |
+
$this->extensions[ get_class( $object ) ] = $object;
|
16 |
+
}
|
17 |
+
}
|
18 |
+
|
19 |
+
global $cme_extensions;
|
20 |
+
$cme_extensions = new CME_Extensions();
|
21 |
+
|
22 |
+
if ( defined( 'WC_PLUGIN_FILE' ) ) {
|
23 |
+
require_once ( dirname(__FILE__) . '/filters-woocommerce.php' );
|
24 |
+
$cme_extensions->add( new CME_WooCommerce() );
|
25 |
+
}
|
includes/manager.php
CHANGED
@@ -3,15 +3,14 @@
|
|
3 |
* Capability Manager.
|
4 |
* Plugin to create and manage roles and capabilities.
|
5 |
*
|
6 |
-
* @
|
7 |
-
* @
|
8 |
-
* @copyright Copyright (C) 2009, 2010 Jordi Canals; Copyright (C) 2012-2014 Kevin Behrens
|
9 |
* @license GNU General Public License version 2
|
10 |
-
* @link
|
11 |
*
|
12 |
|
13 |
Copyright 2009, 2010 Jordi Canals <devel@jcanals.cat>
|
14 |
-
Modifications Copyright
|
15 |
|
16 |
This program is free software; you can redistribute it and/or
|
17 |
modify it under the terms of the GNU General Public License
|
@@ -26,8 +25,6 @@
|
|
26 |
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
27 |
*/
|
28 |
|
29 |
-
include_once ( AK_CLASSES . '/abstract/plugin.php' );
|
30 |
-
|
31 |
add_action( 'init', 'cme_update_pp_usage' ); // update early so resulting post type cap changes are applied for this request's UI construction
|
32 |
|
33 |
function cme_update_pp_usage() {
|
@@ -39,13 +36,13 @@ function cme_update_pp_usage() {
|
|
39 |
|
40 |
|
41 |
/**
|
42 |
-
* Class
|
43 |
* Sets the main environment for all Capability Manager components.
|
44 |
*
|
45 |
* @author Jordi Canals, Kevin Behrens
|
46 |
-
* @link
|
47 |
*/
|
48 |
-
class CapabilityManager
|
49 |
{
|
50 |
/**
|
51 |
* Array with all capabilities to be managed. (Depends on user caps).
|
@@ -77,21 +74,70 @@ class CapabilityManager extends akPluginAbstract
|
|
77 |
|
78 |
var $message;
|
79 |
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
$this->ID = 'capsman';
|
|
|
|
|
|
|
82 |
|
83 |
-
|
|
|
|
|
|
|
84 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
/**
|
87 |
* Creates some filters at module load time.
|
88 |
*
|
89 |
-
* @see akPluginAbstract#moduleLoad()
|
90 |
-
*
|
91 |
* @return void
|
92 |
*/
|
93 |
protected function moduleLoad ()
|
94 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
// Only roles that a user can administer can be assigned to others.
|
96 |
add_filter('editable_roles', array($this, 'filterEditRoles'));
|
97 |
|
@@ -131,22 +177,12 @@ class CapabilityManager extends akPluginAbstract
|
|
131 |
return $passthru_roles;
|
132 |
}
|
133 |
|
134 |
-
/**
|
135 |
-
* Activates the plugin and sets the new capability 'Manage Capabilities'
|
136 |
-
*
|
137 |
-
* @return void
|
138 |
-
*/
|
139 |
-
protected function pluginActivate ()
|
140 |
-
{
|
141 |
-
$this->setAdminCapability();
|
142 |
-
}
|
143 |
-
|
144 |
/**
|
145 |
* Updates Capability Manager to a new version
|
146 |
*
|
147 |
* @return void
|
148 |
*/
|
149 |
-
protected function pluginUpdate (
|
150 |
{
|
151 |
$backup = get_option($this->ID . '_backup');
|
152 |
if ( false === $backup ) { // No previous backup found. Save it!
|
@@ -327,7 +363,7 @@ class CapabilityManager extends akPluginAbstract
|
|
327 |
$this->current = array_shift($roles);
|
328 |
}
|
329 |
|
330 |
-
include (
|
331 |
}
|
332 |
|
333 |
/**
|
@@ -474,6 +510,6 @@ class CapabilityManager extends akPluginAbstract
|
|
474 |
$cme_backup_handler->backupToolReset();
|
475 |
}
|
476 |
|
477 |
-
include (
|
478 |
}
|
479 |
}
|
3 |
* Capability Manager.
|
4 |
* Plugin to create and manage roles and capabilities.
|
5 |
*
|
6 |
+
* @author Jordi Canals, Kevin Behrens
|
7 |
+
* @copyright Copyright (C) 2009, 2010 Jordi Canals, (C) 2019 PublishPress
|
|
|
8 |
* @license GNU General Public License version 2
|
9 |
+
* @link https://publishpress.com
|
10 |
*
|
11 |
|
12 |
Copyright 2009, 2010 Jordi Canals <devel@jcanals.cat>
|
13 |
+
Modifications Copyright 2019, PublishPress <help@publishpress.com>
|
14 |
|
15 |
This program is free software; you can redistribute it and/or
|
16 |
modify it under the terms of the GNU General Public License
|
25 |
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
26 |
*/
|
27 |
|
|
|
|
|
28 |
add_action( 'init', 'cme_update_pp_usage' ); // update early so resulting post type cap changes are applied for this request's UI construction
|
29 |
|
30 |
function cme_update_pp_usage() {
|
36 |
|
37 |
|
38 |
/**
|
39 |
+
* Class CapabilityManager.
|
40 |
* Sets the main environment for all Capability Manager components.
|
41 |
*
|
42 |
* @author Jordi Canals, Kevin Behrens
|
43 |
+
* @link https://publishpress.com
|
44 |
*/
|
45 |
+
class CapabilityManager
|
46 |
{
|
47 |
/**
|
48 |
* Array with all capabilities to be managed. (Depends on user caps).
|
74 |
|
75 |
var $message;
|
76 |
|
77 |
+
/**
|
78 |
+
* Module ID. Is the module internal short name.
|
79 |
+
*
|
80 |
+
* @var string
|
81 |
+
*/
|
82 |
+
public $ID;
|
83 |
+
|
84 |
+
public function __construct()
|
85 |
+
{
|
86 |
$this->ID = 'capsman';
|
87 |
+
$this->mod_url = plugins_url( '', CME_FILE );
|
88 |
+
|
89 |
+
$this->moduleLoad();
|
90 |
|
91 |
+
add_action('admin_menu', array($this, 'adminMenus'), 5); // execute prior to PP, to use menu hook
|
92 |
+
|
93 |
+
// Load styles
|
94 |
+
add_action('admin_print_styles', array($this, 'adminStyles'));
|
95 |
}
|
96 |
+
|
97 |
+
/**
|
98 |
+
* Enqueues administration styles.
|
99 |
+
*
|
100 |
+
* @hook action 'admin_print_styles'
|
101 |
+
*
|
102 |
+
* @return void
|
103 |
+
*/
|
104 |
+
function adminStyles()
|
105 |
+
{
|
106 |
+
if ( empty( $_REQUEST['page'] ) || ! in_array( $_REQUEST['page'], array( 'capsman', 'capsman-tool' ) ) )
|
107 |
+
return;
|
108 |
+
|
109 |
+
wp_register_style( $this->ID . 'framework_admin', $this->mod_url . '/framework/styles/admin.css', false, CAPSMAN_ENH_VERSION);
|
110 |
+
wp_enqueue_style( $this->ID . 'framework_admin');
|
111 |
+
|
112 |
+
wp_register_style( $this->ID . '_admin', $this->mod_url . '/admin.css', false, CAPSMAN_ENH_VERSION);
|
113 |
+
wp_enqueue_style( $this->ID . '_admin');
|
114 |
+
|
115 |
+
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '.dev' : '';
|
116 |
+
$url = $this->mod_url . "/admin{$suffix}.js";
|
117 |
+
wp_enqueue_script( 'cme_admin', $url, array('jquery'), CAPSMAN_VERSION, true );
|
118 |
+
wp_localize_script( 'cme_admin', 'cmeAdmin', array(
|
119 |
+
'negationCaption' => __( 'Explicity negate this capability by storing as disabled', 'capsman-enhanced' ),
|
120 |
+
'typeCapsNegationCaption' => __( 'Explicitly negate these capabilities by storing as disabled', 'capsman-enhanced' ),
|
121 |
+
'typeCapUnregistered' => __( 'Post type registration does not define this capability distinctly', 'capsman-enhanced' ),
|
122 |
+
'capNegated' => __( 'This capability is explicitly negated. Click to add/remove normally.', 'capsman-enhanced' ),
|
123 |
+
'chkCaption' => __( 'Add or remove this capability from the WordPress role', 'capsman-enhanced' ),
|
124 |
+
'switchableCaption' => __( 'Add or remove capability from the role normally', 'capsman-enhanced' ) )
|
125 |
+
);
|
126 |
+
}
|
127 |
|
128 |
/**
|
129 |
* Creates some filters at module load time.
|
130 |
*
|
|
|
|
|
131 |
* @return void
|
132 |
*/
|
133 |
protected function moduleLoad ()
|
134 |
{
|
135 |
+
$old_version = get_option($this->ID . '_version');
|
136 |
+
if ( version_compare( $old_version, CAPSMAN_ENH_VERSION, 'ne') ) {
|
137 |
+
update_option($this->ID . '_version', CAPSMAN_ENH_VERSION);
|
138 |
+
$this->pluginUpdate();
|
139 |
+
}
|
140 |
+
|
141 |
// Only roles that a user can administer can be assigned to others.
|
142 |
add_filter('editable_roles', array($this, 'filterEditRoles'));
|
143 |
|
177 |
return $passthru_roles;
|
178 |
}
|
179 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
/**
|
181 |
* Updates Capability Manager to a new version
|
182 |
*
|
183 |
* @return void
|
184 |
*/
|
185 |
+
protected function pluginUpdate ()
|
186 |
{
|
187 |
$backup = get_option($this->ID . '_backup');
|
188 |
if ( false === $backup ) { // No previous backup found. Save it!
|
363 |
$this->current = array_shift($roles);
|
364 |
}
|
365 |
|
366 |
+
include ( dirname(CME_FILE) . '/includes/admin.php' );
|
367 |
}
|
368 |
|
369 |
/**
|
510 |
$cme_backup_handler->backupToolReset();
|
511 |
}
|
512 |
|
513 |
+
include ( dirname(CME_FILE) . '/includes/backup.php' );
|
514 |
}
|
515 |
}
|
includes/network.php
CHANGED
@@ -65,7 +65,7 @@ function _cme_new_blog( $new_blog_id ) {
|
|
65 |
if ( defined('PP_ACTIVE') )
|
66 |
pp_update_option( 'supplemental_role_defs', $blog_pp_only );
|
67 |
|
68 |
-
|
69 |
( method_exists( $wp_roles, 'for_site' ) ) ? $wp_roles->for_site() : $wp_roles->reinit();
|
70 |
|
71 |
if ( defined('PP_ACTIVE') )
|
65 |
if ( defined('PP_ACTIVE') )
|
66 |
pp_update_option( 'supplemental_role_defs', $blog_pp_only );
|
67 |
|
68 |
+
restore_current_blog();
|
69 |
( method_exists( $wp_roles, 'for_site' ) ) ? $wp_roles->for_site() : $wp_roles->reinit();
|
70 |
|
71 |
if ( defined('PP_ACTIVE') )
|
lang/capsman.mo
CHANGED
Binary file
|
lang/capsman.po
CHANGED
@@ -2,653 +2,724 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Capability Manager Enhanced\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator: Kevin Behrens <kevin@
|
8 |
-
"Language-Team:
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Poedit-KeywordsList: __;_e;_c;__ngettext;_n;pp_po_trigger;_x\n"
|
13 |
-
"X-Poedit-Basepath:
|
14 |
"X-Poedit-Language: English\n"
|
15 |
"X-Poedit-Country: UNITED STATES\n"
|
16 |
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
-
"X-Poedit-SearchPath-0:
|
18 |
-
"X-Poedit-SearchPath-1:
|
19 |
|
20 |
-
#:
|
21 |
msgid "<strong>Error:</strong> Capability Manager Extended cannot function because another copy of Capability Manager is active."
|
22 |
msgstr ""
|
23 |
|
24 |
-
#:
|
25 |
msgid "Warning:"
|
26 |
msgstr ""
|
27 |
|
28 |
-
#:
|
29 |
#, php-format
|
30 |
msgid "The active plugin %s is not compatible with your PHP version."
|
31 |
msgstr ""
|
32 |
|
33 |
-
#:
|
34 |
#, php-format
|
35 |
msgid "%s is required for this plugin."
|
36 |
msgstr ""
|
37 |
|
38 |
-
#:
|
39 |
-
#:
|
40 |
-
#:
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/capsman-enhanced.php:116
|
45 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/capsman-enhanced.php:120
|
46 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/capsman-enhanced.php:125
|
47 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/includes/manager.php:177
|
48 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/includes/manager.php:181
|
49 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/includes/manager.php:187
|
50 |
msgid "Capability Manager"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#:
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
msgid "Explicity negate this capability by storing as disabled"
|
59 |
-
msgstr ""
|
60 |
-
|
61 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/framework/classes/abstract/plugin.php:225
|
62 |
-
msgid "Explicitly negate these capabilities by storing as disabled"
|
63 |
-
msgstr ""
|
64 |
-
|
65 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/framework/classes/abstract/plugin.php:226
|
66 |
-
msgid "Post type registration does not define this capability distinctly"
|
67 |
-
msgstr ""
|
68 |
-
|
69 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/framework/classes/abstract/plugin.php:227
|
70 |
-
msgid "This capability is explicitly negated. Click to add/remove normally."
|
71 |
-
msgstr ""
|
72 |
-
|
73 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/framework/classes/abstract/plugin.php:228
|
74 |
-
msgid "Add or remove this capability from the WordPress role"
|
75 |
-
msgstr ""
|
76 |
-
|
77 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/framework/classes/abstract/plugin.php:229
|
78 |
-
msgid "Add or remove capability from the role normally"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#:
|
82 |
msgid "Settings saved."
|
83 |
msgstr ""
|
84 |
|
85 |
-
#:
|
86 |
-
|
87 |
-
msgstr ""
|
88 |
-
|
89 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/framework/lib/themes-agapetry.php:10
|
90 |
-
msgid "Documentation"
|
91 |
-
msgstr ""
|
92 |
-
|
93 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/framework/lib/themes-agapetry.php:11
|
94 |
-
msgid "Support Forum"
|
95 |
-
msgstr ""
|
96 |
-
|
97 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/framework/lib/themes-agapetry.php:12
|
98 |
-
msgid "Author Homepage"
|
99 |
-
msgstr ""
|
100 |
-
|
101 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/framework/lib/themes-agapetry.php:13
|
102 |
-
msgid "Help donating"
|
103 |
-
msgstr ""
|
104 |
-
|
105 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/framework/lib/themes-agapetry.php:23
|
106 |
-
#, php-format
|
107 |
-
msgid "Capability Manager Enhanced %s"
|
108 |
-
msgstr ""
|
109 |
-
|
110 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/framework/lib/themes-agapetry.php:24
|
111 |
-
msgid "Copyright 2010 Jordi Canals"
|
112 |
-
msgstr ""
|
113 |
-
|
114 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/framework/lib/themes-agapetry.php:27
|
115 |
-
#, php-format
|
116 |
-
msgid "Modifications © Copyright %1$s %2$s"
|
117 |
-
msgstr ""
|
118 |
-
|
119 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced/includes/admin.php:50
|
120 |
-
#: E:\www\wp42\wp-content\plugins\capability-manager-enhanced\includes/admin.php:50
|
121 |
msgid "Roles and Capabilities"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#:
|
125 |
-
#:
|
126 |
#, php-format
|
127 |
msgid "Capabilities for %s"
|
128 |
msgstr ""
|
129 |
|
130 |
-
#:
|
131 |
-
#:
|
132 |
msgid "View and modify capabilities WordPress associates with each role. Changes <strong>remain in the database</strong> even if you deactivate this plugin."
|
133 |
msgstr ""
|
134 |
|
135 |
-
#:
|
136 |
-
#:
|
137 |
-
|
|
|
138 |
msgstr ""
|
139 |
|
140 |
-
#:
|
141 |
-
#:
|
142 |
msgid "Automatically define type-specific capabilities for your custom post types and taxonomies"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#:
|
146 |
-
#:
|
147 |
msgid "Assign standard WP roles supplementally for a specific post type"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#:
|
151 |
-
#:
|
152 |
msgid "Assign custom WP roles supplementally for a specific post type <em>(Pro)</em>"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#:
|
156 |
-
#:
|
157 |
msgid "Customize reading permissions per-category or per-post"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#:
|
161 |
-
#:
|
162 |
msgid "Customize editing permissions per-category or per-post <em>(Pro)</em>"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#:
|
166 |
-
#:
|
167 |
msgid "Custom Post Visibility statuses, fully implemented throughout wp-admin <em>(Pro)</em>"
|
168 |
msgstr ""
|
169 |
|
170 |
-
#:
|
171 |
-
#:
|
172 |
msgid "Custom Moderation statuses for access-controlled, multi-step publishing workflow <em>(Pro)</em>"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#:
|
176 |
-
#:
|
177 |
msgid "Regulate permissions for Edit Flow post statuses <em>(Pro)</em>"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#:
|
181 |
-
#:
|
182 |
msgid "Customize the moderated editing of published content with Revisionary or Post Forking <em>(Pro)</em>"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#:
|
186 |
-
#:
|
187 |
msgid "Grant Spectator, Participant or Moderator access to specific bbPress forums <em>(Pro)</em>"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#:
|
191 |
-
#:
|
192 |
msgid "Grant supplemental content permissions to a BuddyPress group <em>(Pro)</em>"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#:
|
196 |
-
#:
|
197 |
msgid "WPML integration to mirror permissions to translations <em>(Pro)</em>"
|
198 |
msgstr ""
|
199 |
|
200 |
-
#:
|
201 |
-
#:
|
202 |
msgid "Member support forum"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#:
|
206 |
-
#:
|
207 |
#, php-format
|
208 |
msgid "%1$sgrab%2$s %3$s"
|
209 |
msgstr ""
|
210 |
|
211 |
-
#:
|
212 |
-
#:
|
213 |
#, php-format
|
214 |
msgid "%s (free install)"
|
215 |
msgstr ""
|
216 |
|
217 |
-
#:
|
218 |
-
#:
|
219 |
#, php-format
|
220 |
msgid "%1$sbuy%2$s %3$s"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#:
|
224 |
-
#:
|
225 |
#, php-format
|
226 |
msgid "%s info/purchase"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#:
|
230 |
-
#:
|
231 |
msgid " "
|
232 |
msgstr ""
|
233 |
|
234 |
-
#:
|
235 |
-
#:
|
236 |
msgid "Reading"
|
237 |
msgstr ""
|
238 |
|
239 |
-
#:
|
240 |
-
#:
|
241 |
msgid "Editing Capabilities"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#:
|
245 |
-
#:
|
246 |
msgid "Deletion Capabilities"
|
247 |
msgstr ""
|
248 |
|
249 |
-
#:
|
250 |
-
#:
|
251 |
msgid "can read posts which are currently published with private visibility"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#:
|
255 |
-
#:
|
256 |
msgid "has basic editing capability (but may need other capabilities based on post status and ownership)"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#:
|
260 |
-
#:
|
261 |
msgid "can edit posts which were created by other users"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#:
|
265 |
-
#:
|
266 |
msgid "can edit posts which are currently published"
|
267 |
msgstr ""
|
268 |
|
269 |
-
#:
|
270 |
-
#:
|
271 |
msgid "can edit posts which are currently published with private visibility"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#:
|
275 |
-
#:
|
276 |
msgid "can make a post publicly visible"
|
277 |
msgstr ""
|
278 |
|
279 |
-
#:
|
280 |
-
#:
|
281 |
msgid "has basic deletion capability (but may need other capabilities based on post status and ownership)"
|
282 |
msgstr ""
|
283 |
|
284 |
-
#:
|
285 |
-
#:
|
286 |
msgid "can delete posts which were created by other users"
|
287 |
msgstr ""
|
288 |
|
289 |
-
#:
|
290 |
-
#:
|
291 |
msgid "can delete posts which are currently published"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#:
|
295 |
-
#:
|
296 |
msgid "can delete posts which are currently published with private visibility"
|
297 |
msgstr ""
|
298 |
|
299 |
-
#:
|
300 |
-
#:
|
301 |
-
#:
|
302 |
-
#:
|
303 |
-
#:
|
304 |
-
#:
|
305 |
#, php-format
|
306 |
msgid "%s: assigned by Permission Group"
|
307 |
msgstr ""
|
308 |
|
309 |
-
#:
|
310 |
-
#:
|
311 |
msgid "Other WordPress Core Capabilities"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#:
|
315 |
-
#:
|
316 |
-
#:
|
317 |
-
#:
|
318 |
msgid "check/uncheck all"
|
319 |
msgstr ""
|
320 |
|
321 |
-
#:
|
322 |
-
#:
|
323 |
-
#:
|
324 |
-
#:
|
325 |
msgid "negate all (storing as disabled capabilities)"
|
326 |
msgstr ""
|
327 |
|
328 |
-
#:
|
329 |
-
#:
|
330 |
-
#:
|
331 |
-
#:
|
332 |
msgid "negate none (add/remove all capabilities normally)"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#:
|
336 |
-
#:
|
337 |
msgid "Additional Capabilities"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#:
|
341 |
-
#:
|
342 |
msgid "Level:"
|
343 |
msgstr ""
|
344 |
|
345 |
-
#:
|
346 |
-
#:
|
347 |
msgid "Note: Underscores replace spaces in stored capability name (\"edit users\" => \"edit_users\")."
|
348 |
msgstr ""
|
349 |
|
350 |
-
#:
|
351 |
-
#:
|
352 |
msgid "Save Changes"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#:
|
356 |
-
#:
|
357 |
msgid "Delete this role"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#:
|
361 |
-
#:
|
362 |
#, php-format
|
363 |
msgid ""
|
364 |
"You are about to delete the %s role.\n"
|
365 |
" 'Cancel' to stop, 'OK' to delete."
|
366 |
msgstr ""
|
367 |
|
368 |
-
#:
|
369 |
-
#:
|
370 |
msgid "Delete Role"
|
371 |
msgstr ""
|
372 |
|
373 |
-
#:
|
374 |
-
#:
|
375 |
msgid "Select New Role"
|
376 |
msgstr ""
|
377 |
|
378 |
-
#:
|
379 |
-
#:
|
380 |
msgid "Change"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#:
|
384 |
-
#:
|
385 |
msgid "Create New Role"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#:
|
389 |
-
#:
|
390 |
msgid "Name of new role"
|
391 |
msgstr ""
|
392 |
|
393 |
-
#:
|
394 |
-
#:
|
395 |
-
#:
|
396 |
-
#:
|
397 |
-
#:
|
398 |
msgid "Make role available for supplemental assignment to Permission Groups only"
|
399 |
msgstr ""
|
400 |
|
401 |
-
#:
|
402 |
-
#:
|
403 |
-
#:
|
404 |
-
#:
|
405 |
msgid "hidden"
|
406 |
msgstr ""
|
407 |
|
408 |
-
#:
|
409 |
-
#:
|
410 |
msgid "Create"
|
411 |
msgstr ""
|
412 |
|
413 |
-
#:
|
414 |
-
#:
|
415 |
msgid "Copy this role to"
|
416 |
msgstr ""
|
417 |
|
418 |
-
#:
|
419 |
-
#:
|
420 |
msgid "Name of copied role"
|
421 |
msgstr ""
|
422 |
|
423 |
-
#:
|
424 |
-
#:
|
425 |
msgid "Copy"
|
426 |
msgstr ""
|
427 |
|
428 |
-
#:
|
429 |
-
#:
|
430 |
msgid "Add Capability"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#:
|
434 |
-
#:
|
435 |
msgid "capability name"
|
436 |
msgstr ""
|
437 |
|
438 |
-
#:
|
439 |
-
#:
|
440 |
msgid "Add to role"
|
441 |
msgstr ""
|
442 |
|
443 |
-
#:
|
444 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
445 |
msgid "Create this role definition in new (future) sites"
|
446 |
msgstr ""
|
447 |
|
448 |
-
#:
|
449 |
-
#:
|
450 |
msgid "include in new sites"
|
451 |
msgstr ""
|
452 |
|
453 |
-
#:
|
454 |
-
#:
|
455 |
msgid "Copy / update this role definition to all sites now"
|
456 |
msgstr ""
|
457 |
|
458 |
-
#:
|
459 |
-
#:
|
460 |
msgid "sync role to all sites now"
|
461 |
msgstr ""
|
462 |
|
463 |
-
#:
|
|
|
464 |
msgid "You do not have permission to restore roles."
|
465 |
msgstr ""
|
466 |
|
467 |
-
#:
|
|
|
468 |
msgid "New backup saved."
|
469 |
msgstr ""
|
470 |
|
471 |
-
#:
|
472 |
-
|
|
|
473 |
msgstr ""
|
474 |
|
475 |
-
#:
|
|
|
|
|
|
|
476 |
msgid "Restore failed. No backup found."
|
477 |
msgstr ""
|
478 |
|
479 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
480 |
msgid "Needed function to create default roles not found!"
|
481 |
msgstr ""
|
482 |
|
483 |
-
#:
|
|
|
484 |
msgid "Roles and Capabilities reset to WordPress defaults"
|
485 |
msgstr ""
|
486 |
|
487 |
-
#:
|
488 |
-
|
|
|
|
|
489 |
msgstr ""
|
490 |
|
491 |
-
#:
|
|
|
492 |
msgid "Backup and Restore"
|
493 |
msgstr ""
|
494 |
|
495 |
-
#:
|
|
|
496 |
msgid "Select action:"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#:
|
|
|
500 |
msgid "Backup roles and capabilities"
|
501 |
msgstr ""
|
502 |
|
503 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
504 |
msgid "Restore last saved backup"
|
505 |
msgstr ""
|
506 |
|
507 |
-
#:
|
|
|
508 |
msgid "Do Action"
|
509 |
msgstr ""
|
510 |
|
511 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
512 |
msgid "Reset WordPress Defaults"
|
513 |
msgstr ""
|
514 |
|
515 |
-
#:
|
|
|
516 |
msgid "WARNING:"
|
517 |
msgstr ""
|
518 |
|
519 |
-
#:
|
|
|
520 |
msgid "Reseting default Roles and Capabilities will set them to the WordPress install defaults."
|
521 |
msgstr ""
|
522 |
|
523 |
-
#:
|
|
|
524 |
msgid "If you have installed any plugin that adds new roles or capabilities, these will be lost."
|
525 |
msgstr ""
|
526 |
|
527 |
-
#:
|
|
|
528 |
msgid "It is recommended to use this only as a last resource!"
|
529 |
msgstr ""
|
530 |
|
531 |
-
#:
|
|
|
532 |
msgid "Reset Roles and Capabilities to WordPress defaults"
|
533 |
msgstr ""
|
534 |
|
535 |
-
#:
|
|
|
536 |
msgid ""
|
537 |
"You are about to reset Roles and Capabilities to WordPress defaults.\n"
|
538 |
" 'Cancel' to stop, 'OK' to reset."
|
539 |
msgstr ""
|
540 |
|
541 |
-
#:
|
|
|
542 |
msgid "Reset to WordPress defaults"
|
543 |
msgstr ""
|
544 |
|
545 |
-
#:
|
546 |
-
#:
|
547 |
msgid "New role created."
|
548 |
msgstr ""
|
549 |
|
550 |
-
#:
|
551 |
-
#:
|
552 |
msgid "Error: Failed creating the new role."
|
553 |
msgstr ""
|
554 |
|
555 |
-
#:
|
556 |
msgid "New capability added to role."
|
557 |
msgstr ""
|
558 |
|
559 |
-
#:
|
560 |
msgid "Incorrect capability name."
|
561 |
msgstr ""
|
562 |
|
563 |
-
#:
|
564 |
msgid "Capability settings saved."
|
565 |
msgstr ""
|
566 |
|
567 |
-
#:
|
568 |
msgid "Error saving capability settings."
|
569 |
msgstr ""
|
570 |
|
571 |
-
#:
|
572 |
msgid "Bad form received."
|
573 |
msgstr ""
|
574 |
|
575 |
-
#:
|
576 |
msgid "You cannot remove Manage Capabilities from Administrators"
|
577 |
msgstr ""
|
578 |
|
579 |
-
#:
|
580 |
#, php-format
|
581 |
msgid "Cannot delete default role. You <a href=\"%s\">have to change it first</a>."
|
582 |
msgstr ""
|
583 |
|
584 |
-
#:
|
585 |
#, php-format
|
586 |
msgid "Role has been deleted. %1$d users moved to default role %2$s."
|
587 |
msgstr ""
|
588 |
|
589 |
-
#:
|
590 |
-
|
591 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
592 |
msgid "What do you think you're doing?!?"
|
593 |
msgstr ""
|
594 |
|
595 |
-
#:
|
596 |
msgid "Bad form Received"
|
597 |
msgstr ""
|
598 |
|
599 |
-
#:
|
600 |
#, php-format
|
601 |
msgid "see %1$sRole Usage%2$s: \"Pattern Roles\""
|
602 |
msgstr ""
|
603 |
|
604 |
-
#:
|
605 |
#, php-format
|
606 |
msgid "activate %1$sAdvanced settings%2$s, see Role Usage"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#:
|
610 |
#, php-format
|
611 |
msgid "\"Posts\" capabilities selected here also define type-specific role assignment for Permission Groups%s."
|
612 |
msgstr ""
|
613 |
|
614 |
-
#:
|
615 |
#, php-format
|
616 |
msgid "\"Posts\" capabilities selected here also define type-specific role assignment for Permit Groups%s."
|
617 |
msgstr ""
|
618 |
|
619 |
-
#:
|
620 |
msgid "Capabilities for custom statuses can be manually added here (see Post Statuses > Status > Capability Mapping for applicable names). However, it is usually more convenient to use Permission Groups to assign a supplemental status-specific role."
|
621 |
msgstr ""
|
622 |
|
623 |
-
#:
|
624 |
msgid "Capabilities for custom statuses can be manually added here. Or activate the PP Custom Post Statuses extension to assign status-specific supplemental roles."
|
625 |
msgstr ""
|
626 |
|
627 |
-
#:
|
628 |
msgid "Capabilities for custom statuses can be manually added to a role here (see Conditions > Status > Capability Mapping for applicable names). However, it is usually more convenient to use Permit Groups to assign a supplemental status-specific role."
|
629 |
msgstr ""
|
630 |
|
631 |
-
#:
|
632 |
msgid "hidden role"
|
633 |
msgstr ""
|
634 |
|
635 |
-
#:
|
636 |
msgid "Force Type-Specific Capabilities"
|
637 |
msgstr ""
|
638 |
|
639 |
-
#:
|
640 |
msgid "Force unique capability names for:"
|
641 |
msgstr ""
|
642 |
|
643 |
-
#:
|
644 |
msgid "(PP Filtered Post Types, Taxonomies)"
|
645 |
msgstr ""
|
646 |
|
647 |
-
#:
|
648 |
msgid "Use create_posts capability"
|
649 |
msgstr ""
|
650 |
|
651 |
-
#:
|
652 |
msgid "Update"
|
653 |
msgstr ""
|
654 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Capability Manager Enhanced\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2019-02-25 18:23-0500\n"
|
6 |
+
"PO-Revision-Date: 2019-02-25 18:23-0500\n"
|
7 |
+
"Last-Translator: Kevin Behrens <kevin@publishpress.com>\n"
|
8 |
+
"Language-Team: PublishPress <help@publishpress.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Poedit-KeywordsList: __;_e;_c;__ngettext;_n;pp_po_trigger;_x\n"
|
13 |
+
"X-Poedit-Basepath: F:\\www\\wp50\\wp-content\\plugins\\capability-manager-enhanced\n"
|
14 |
"X-Poedit-Language: English\n"
|
15 |
"X-Poedit-Country: UNITED STATES\n"
|
16 |
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
+
"X-Poedit-SearchPath-0: F:\\www\\wp50\\wp-content\\plugins\\capability-manager-enhanced\n"
|
18 |
+
"X-Poedit-SearchPath-1: F:\\www\\wp50\\wp-content\\plugins\\capability-manager-enhanced\\includes\n"
|
19 |
|
20 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/capsman-enhanced.php:36
|
21 |
msgid "<strong>Error:</strong> Capability Manager Extended cannot function because another copy of Capability Manager is active."
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/capsman-enhanced.php:54
|
25 |
msgid "Warning:"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/capsman-enhanced.php:55
|
29 |
#, php-format
|
30 |
msgid "The active plugin %s is not compatible with your PHP version."
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/capsman-enhanced.php:57
|
34 |
#, php-format
|
35 |
msgid "%s is required for this plugin."
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/capsman-enhanced.php:118
|
39 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/capsman-enhanced.php:123
|
40 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/capsman-enhanced.php:125
|
41 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/manager.php:216
|
42 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/manager.php:221
|
43 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/manager.php:223
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
msgid "Capability Manager"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/capsman-enhanced.php:122
|
48 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/capsman-enhanced.php:125
|
49 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/manager.php:220
|
50 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/manager.php:223
|
51 |
+
msgid "Capabilities"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/framework/lib/formating.php:40
|
55 |
msgid "Settings saved."
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:49
|
59 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:49
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
msgid "Roles and Capabilities"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:58
|
64 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:58
|
65 |
#, php-format
|
66 |
msgid "Capabilities for %s"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:61
|
70 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:61
|
71 |
msgid "View and modify capabilities WordPress associates with each role. Changes <strong>remain in the database</strong> even if you deactivate this plugin."
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:72
|
75 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:72
|
76 |
+
#, php-format
|
77 |
+
msgid "Thanks for using the %1$sPublishPress%2$s family of professional publishing tools."
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:103
|
81 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:103
|
82 |
msgid "Automatically define type-specific capabilities for your custom post types and taxonomies"
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:107
|
86 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:107
|
87 |
msgid "Assign standard WP roles supplementally for a specific post type"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:111
|
91 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:111
|
92 |
msgid "Assign custom WP roles supplementally for a specific post type <em>(Pro)</em>"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:115
|
96 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:115
|
97 |
msgid "Customize reading permissions per-category or per-post"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:119
|
101 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:119
|
102 |
msgid "Customize editing permissions per-category or per-post <em>(Pro)</em>"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:123
|
106 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:123
|
107 |
msgid "Custom Post Visibility statuses, fully implemented throughout wp-admin <em>(Pro)</em>"
|
108 |
msgstr ""
|
109 |
|
110 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:127
|
111 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:127
|
112 |
msgid "Custom Moderation statuses for access-controlled, multi-step publishing workflow <em>(Pro)</em>"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:131
|
116 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:131
|
117 |
msgid "Regulate permissions for Edit Flow post statuses <em>(Pro)</em>"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:135
|
121 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:135
|
122 |
msgid "Customize the moderated editing of published content with Revisionary or Post Forking <em>(Pro)</em>"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:139
|
126 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:139
|
127 |
msgid "Grant Spectator, Participant or Moderator access to specific bbPress forums <em>(Pro)</em>"
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:143
|
131 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:143
|
132 |
msgid "Grant supplemental content permissions to a BuddyPress group <em>(Pro)</em>"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:147
|
136 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:147
|
137 |
msgid "WPML integration to mirror permissions to translations <em>(Pro)</em>"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:151
|
141 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:151
|
142 |
msgid "Member support forum"
|
143 |
msgstr ""
|
144 |
|
145 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:157
|
146 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:157
|
147 |
#, php-format
|
148 |
msgid "%1$sgrab%2$s %3$s"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:157
|
152 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:157
|
153 |
#, php-format
|
154 |
msgid "%s (free install)"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:159
|
158 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:159
|
159 |
#, php-format
|
160 |
msgid "%1$sbuy%2$s %3$s"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:159
|
164 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:159
|
165 |
#, php-format
|
166 |
msgid "%s info/purchase"
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:239
|
170 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:239
|
171 |
msgid " "
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:240
|
175 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:240
|
176 |
msgid "Reading"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:241
|
180 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:241
|
181 |
msgid "Editing Capabilities"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:242
|
185 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:242
|
186 |
msgid "Deletion Capabilities"
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:250
|
190 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:250
|
191 |
msgid "can read posts which are currently published with private visibility"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:251
|
195 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:251
|
196 |
msgid "has basic editing capability (but may need other capabilities based on post status and ownership)"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:252
|
200 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:252
|
201 |
msgid "can edit posts which were created by other users"
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:253
|
205 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:253
|
206 |
msgid "can edit posts which are currently published"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:254
|
210 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:254
|
211 |
msgid "can edit posts which are currently published with private visibility"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:255
|
215 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:255
|
216 |
msgid "can make a post publicly visible"
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:256
|
220 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:256
|
221 |
msgid "has basic deletion capability (but may need other capabilities based on post status and ownership)"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:257
|
225 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:257
|
226 |
msgid "can delete posts which were created by other users"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:258
|
230 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:258
|
231 |
msgid "can delete posts which are currently published"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:259
|
235 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:259
|
236 |
msgid "can delete posts which are currently published with private visibility"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:358
|
240 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:450
|
241 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:539
|
242 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:358
|
243 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:450
|
244 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:539
|
245 |
#, php-format
|
246 |
msgid "%s: assigned by Permission Group"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:427
|
250 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:427
|
251 |
msgid "Other WordPress Core Capabilities"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:488
|
255 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:604
|
256 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:488
|
257 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:604
|
258 |
msgid "check/uncheck all"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:488
|
262 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:604
|
263 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:488
|
264 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:604
|
265 |
msgid "negate all (storing as disabled capabilities)"
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:488
|
269 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:604
|
270 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:488
|
271 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:604
|
272 |
msgid "negate none (add/remove all capabilities normally)"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:495
|
276 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:495
|
277 |
msgid "Additional Capabilities"
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:595
|
281 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:595
|
282 |
msgid "Level:"
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:613
|
286 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:613
|
287 |
msgid "Note: Underscores replace spaces in stored capability name (\"edit users\" => \"edit_users\")."
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:629
|
291 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:629
|
292 |
msgid "Save Changes"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:632
|
296 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:632
|
297 |
msgid "Delete this role"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:632
|
301 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:632
|
302 |
#, php-format
|
303 |
msgid ""
|
304 |
"You are about to delete the %s role.\n"
|
305 |
" 'Cancel' to stop, 'OK' to delete."
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:632
|
309 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:632
|
310 |
msgid "Delete Role"
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:639
|
314 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:639
|
315 |
msgid "Select New Role"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:647
|
319 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:647
|
320 |
msgid "Change"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:660
|
324 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:660
|
325 |
msgid "Create New Role"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:663
|
329 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:663
|
330 |
msgid "Name of new role"
|
331 |
msgstr ""
|
332 |
|
333 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:666
|
334 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:682
|
335 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/pp-ui.php:89
|
336 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:666
|
337 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:682
|
338 |
msgid "Make role available for supplemental assignment to Permission Groups only"
|
339 |
msgstr ""
|
340 |
|
341 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:666
|
342 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:682
|
343 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:666
|
344 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:682
|
345 |
msgid "hidden"
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:670
|
349 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:670
|
350 |
msgid "Create"
|
351 |
msgstr ""
|
352 |
|
353 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:676
|
354 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:676
|
355 |
msgid "Copy this role to"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:679
|
359 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:679
|
360 |
msgid "Name of copied role"
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:686
|
364 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:686
|
365 |
msgid "Copy"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:692
|
369 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:692
|
370 |
msgid "Add Capability"
|
371 |
msgstr ""
|
372 |
|
373 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:694
|
374 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:694
|
375 |
msgid "capability name"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:695
|
379 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:695
|
380 |
msgid "Add to role"
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:700
|
384 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:700
|
385 |
+
msgid "Backup Tool"
|
386 |
+
msgstr ""
|
387 |
+
|
388 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:702
|
389 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:702
|
390 |
+
msgid "Backup / Restore Roles"
|
391 |
+
msgstr ""
|
392 |
+
|
393 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:707
|
394 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:707
|
395 |
+
msgid "Related Permissions Plugins"
|
396 |
+
msgstr ""
|
397 |
+
|
398 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:709
|
399 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:709
|
400 |
+
msgid "PublishPress"
|
401 |
+
msgstr ""
|
402 |
+
|
403 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:710
|
404 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:710
|
405 |
+
msgid "Press Permit"
|
406 |
+
msgstr ""
|
407 |
+
|
408 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:711
|
409 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:711
|
410 |
+
msgid "Revisionary"
|
411 |
+
msgstr ""
|
412 |
+
|
413 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:739
|
414 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:739
|
415 |
msgid "Create this role definition in new (future) sites"
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:739
|
419 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:739
|
420 |
msgid "include in new sites"
|
421 |
msgstr ""
|
422 |
|
423 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:742
|
424 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:742
|
425 |
msgid "Copy / update this role definition to all sites now"
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/admin.php:742
|
429 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/admin.php:742
|
430 |
msgid "sync role to all sites now"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup-handler.php:9
|
434 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup-handler.php:9
|
435 |
msgid "You do not have permission to restore roles."
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup-handler.php:44
|
439 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup-handler.php:44
|
440 |
msgid "New backup saved."
|
441 |
msgstr ""
|
442 |
|
443 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup-handler.php:51
|
444 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup-handler.php:51
|
445 |
+
msgid "Roles and Capabilities restored from initial backup."
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup-handler.php:53
|
449 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup-handler.php:63
|
450 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup-handler.php:53
|
451 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup-handler.php:63
|
452 |
msgid "Restore failed. No backup found."
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup-handler.php:61
|
456 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup-handler.php:61
|
457 |
+
msgid "Roles and Capabilities restored from last backup."
|
458 |
+
msgstr ""
|
459 |
+
|
460 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup-handler.php:82
|
461 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup-handler.php:82
|
462 |
msgid "Needed function to create default roles not found!"
|
463 |
msgstr ""
|
464 |
|
465 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup-handler.php:95
|
466 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup-handler.php:95
|
467 |
msgid "Roles and Capabilities reset to WordPress defaults"
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:33
|
471 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:33
|
472 |
+
#, php-format
|
473 |
+
msgid "Backup Tool for %1$sCapability Manager%2$s"
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:42
|
477 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:42
|
478 |
msgid "Backup and Restore"
|
479 |
msgstr ""
|
480 |
|
481 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:46
|
482 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:46
|
483 |
msgid "Select action:"
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:49
|
487 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:49
|
488 |
msgid "Backup roles and capabilities"
|
489 |
msgstr ""
|
490 |
|
491 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:53
|
492 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:53
|
493 |
+
msgid "Restore initial backup"
|
494 |
+
msgstr ""
|
495 |
+
|
496 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:56
|
497 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:56
|
498 |
msgid "Restore last saved backup"
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:58
|
502 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:58
|
503 |
msgid "Do Action"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:66
|
507 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:66
|
508 |
+
msgid "Show initial backup"
|
509 |
+
msgstr ""
|
510 |
+
|
511 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:68
|
512 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:68
|
513 |
+
msgid "Show last backup"
|
514 |
+
msgstr ""
|
515 |
+
|
516 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:89
|
517 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:89
|
518 |
+
#, php-format
|
519 |
+
msgid "Initial Backup - %s"
|
520 |
+
msgstr ""
|
521 |
+
|
522 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:89
|
523 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:89
|
524 |
+
msgid "Initial Backup"
|
525 |
+
msgstr ""
|
526 |
+
|
527 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:90
|
528 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:90
|
529 |
+
#, php-format
|
530 |
+
msgid "Last Backup - %s"
|
531 |
+
msgstr ""
|
532 |
+
|
533 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:90
|
534 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:90
|
535 |
+
msgid "Last Backup"
|
536 |
+
msgstr ""
|
537 |
+
|
538 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:100
|
539 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:100
|
540 |
+
#, php-format
|
541 |
+
msgid "%s (%s roles)"
|
542 |
+
msgstr ""
|
543 |
+
|
544 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:116
|
545 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:116
|
546 |
+
#, php-format
|
547 |
+
msgid "%s (level %s)"
|
548 |
+
msgstr ""
|
549 |
+
|
550 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:137
|
551 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:137
|
552 |
msgid "Reset WordPress Defaults"
|
553 |
msgstr ""
|
554 |
|
555 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:139
|
556 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:139
|
557 |
msgid "WARNING:"
|
558 |
msgstr ""
|
559 |
|
560 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:139
|
561 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:139
|
562 |
msgid "Reseting default Roles and Capabilities will set them to the WordPress install defaults."
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:142
|
566 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:142
|
567 |
msgid "If you have installed any plugin that adds new roles or capabilities, these will be lost."
|
568 |
msgstr ""
|
569 |
|
570 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:143
|
571 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:143
|
572 |
msgid "It is recommended to use this only as a last resource!"
|
573 |
msgstr ""
|
574 |
|
575 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:144
|
576 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:144
|
577 |
msgid "Reset Roles and Capabilities to WordPress defaults"
|
578 |
msgstr ""
|
579 |
|
580 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:144
|
581 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:144
|
582 |
msgid ""
|
583 |
"You are about to reset Roles and Capabilities to WordPress defaults.\n"
|
584 |
" 'Cancel' to stop, 'OK' to reset."
|
585 |
msgstr ""
|
586 |
|
587 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/backup.php:144
|
588 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced\includes/backup.php:144
|
589 |
msgid "Reset to WordPress defaults"
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/handler.php:16
|
593 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/handler.php:29
|
594 |
msgid "New role created."
|
595 |
msgstr ""
|
596 |
|
597 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/handler.php:22
|
598 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/handler.php:35
|
599 |
msgid "Error: Failed creating the new role."
|
600 |
msgstr ""
|
601 |
|
602 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/handler.php:72
|
603 |
msgid "New capability added to role."
|
604 |
msgstr ""
|
605 |
|
606 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/handler.php:86
|
607 |
msgid "Incorrect capability name."
|
608 |
msgstr ""
|
609 |
|
610 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/handler.php:91
|
611 |
msgid "Capability settings saved."
|
612 |
msgstr ""
|
613 |
|
614 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/handler.php:93
|
615 |
msgid "Error saving capability settings."
|
616 |
msgstr ""
|
617 |
|
618 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/handler.php:97
|
619 |
msgid "Bad form received."
|
620 |
msgstr ""
|
621 |
|
622 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/handler.php:209
|
623 |
msgid "You cannot remove Manage Capabilities from Administrators"
|
624 |
msgstr ""
|
625 |
|
626 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/handler.php:311
|
627 |
#, php-format
|
628 |
msgid "Cannot delete default role. You <a href=\"%s\">have to change it first</a>."
|
629 |
msgstr ""
|
630 |
|
631 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/handler.php:358
|
632 |
#, php-format
|
633 |
msgid "Role has been deleted. %1$d users moved to default role %2$s."
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/manager.php:119
|
637 |
+
msgid "Explicity negate this capability by storing as disabled"
|
638 |
+
msgstr ""
|
639 |
+
|
640 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/manager.php:120
|
641 |
+
msgid "Explicitly negate these capabilities by storing as disabled"
|
642 |
+
msgstr ""
|
643 |
+
|
644 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/manager.php:121
|
645 |
+
msgid "Post type registration does not define this capability distinctly"
|
646 |
+
msgstr ""
|
647 |
+
|
648 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/manager.php:122
|
649 |
+
msgid "This capability is explicitly negated. Click to add/remove normally."
|
650 |
+
msgstr ""
|
651 |
+
|
652 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/manager.php:123
|
653 |
+
msgid "Add or remove this capability from the WordPress role"
|
654 |
+
msgstr ""
|
655 |
+
|
656 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/manager.php:124
|
657 |
+
msgid "Add or remove capability from the role normally"
|
658 |
+
msgstr ""
|
659 |
+
|
660 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/manager.php:320
|
661 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/manager.php:339
|
662 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/manager.php:498
|
663 |
msgid "What do you think you're doing?!?"
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/manager.php:378
|
667 |
msgid "Bad form Received"
|
668 |
msgstr ""
|
669 |
|
670 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/pp-ui.php:47
|
671 |
#, php-format
|
672 |
msgid "see %1$sRole Usage%2$s: \"Pattern Roles\""
|
673 |
msgstr ""
|
674 |
|
675 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/pp-ui.php:49
|
676 |
#, php-format
|
677 |
msgid "activate %1$sAdvanced settings%2$s, see Role Usage"
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/pp-ui.php:54
|
681 |
#, php-format
|
682 |
msgid "\"Posts\" capabilities selected here also define type-specific role assignment for Permission Groups%s."
|
683 |
msgstr ""
|
684 |
|
685 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/pp-ui.php:56
|
686 |
#, php-format
|
687 |
msgid "\"Posts\" capabilities selected here also define type-specific role assignment for Permit Groups%s."
|
688 |
msgstr ""
|
689 |
|
690 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/pp-ui.php:64
|
691 |
msgid "Capabilities for custom statuses can be manually added here (see Post Statuses > Status > Capability Mapping for applicable names). However, it is usually more convenient to use Permission Groups to assign a supplemental status-specific role."
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/pp-ui.php:66
|
695 |
msgid "Capabilities for custom statuses can be manually added here. Or activate the PP Custom Post Statuses extension to assign status-specific supplemental roles."
|
696 |
msgstr ""
|
697 |
|
698 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/pp-ui.php:69
|
699 |
msgid "Capabilities for custom statuses can be manually added to a role here (see Conditions > Status > Capability Mapping for applicable names). However, it is usually more convenient to use Permit Groups to assign a supplemental status-specific role."
|
700 |
msgstr ""
|
701 |
|
702 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/pp-ui.php:89
|
703 |
msgid "hidden role"
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/pp-ui.php:99
|
707 |
msgid "Force Type-Specific Capabilities"
|
708 |
msgstr ""
|
709 |
|
710 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/pp-ui.php:102
|
711 |
msgid "Force unique capability names for:"
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/pp-ui.php:107
|
715 |
msgid "(PP Filtered Post Types, Taxonomies)"
|
716 |
msgstr ""
|
717 |
|
718 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/pp-ui.php:162
|
719 |
msgid "Use create_posts capability"
|
720 |
msgstr ""
|
721 |
|
722 |
+
#: F:\www\wp50\wp-content\plugins\capability-manager-enhanced/includes/pp-ui.php:167
|
723 |
msgid "Update"
|
724 |
msgstr ""
|
725 |
|
readme.txt
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
=== Capability Manager Enhanced===
|
2 |
Contributors: publishpress, kevinB, stevejburge, andergmartins
|
3 |
Tags: roles, capabilities, manager, editor, rights, role, capability, types, taxonomies, network, multisite, default
|
4 |
-
Requires at least:
|
5 |
Tested up to: 5.1
|
6 |
-
Stable tag: 1.
|
|
|
|
|
7 |
|
8 |
A simple way to manage WordPress roles and capabilities.
|
9 |
|
@@ -64,8 +66,27 @@ Keep in mind that this plugin's purpose is to conveniently view and modify the c
|
|
64 |
|
65 |
* If you need help, <a href="http://wordpress.org/tags/capsman-enhanced">ask in the Support forum</a>. If your issue pertains to the enforcement of assigned capabilities, I am not the primary support avenue. In many cases, I will offer a suggestion, but please don't give me negative feedback for not providing free consulting.
|
66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
== Changelog ==
|
68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
= 1.5.11 =
|
70 |
* Feature : Automatically save backup of WP roles on plugin activation or update
|
71 |
* Feature : When roles are manually backed up, also retain initial role backup
|
1 |
=== Capability Manager Enhanced===
|
2 |
Contributors: publishpress, kevinB, stevejburge, andergmartins
|
3 |
Tags: roles, capabilities, manager, editor, rights, role, capability, types, taxonomies, network, multisite, default
|
4 |
+
Requires at least: 4.1
|
5 |
Tested up to: 5.1
|
6 |
+
Stable tag: 1.6
|
7 |
+
License: GPLv3
|
8 |
+
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
10 |
A simple way to manage WordPress roles and capabilities.
|
11 |
|
66 |
|
67 |
* If you need help, <a href="http://wordpress.org/tags/capsman-enhanced">ask in the Support forum</a>. If your issue pertains to the enforcement of assigned capabilities, I am not the primary support avenue. In many cases, I will offer a suggestion, but please don't give me negative feedback for not providing free consulting.
|
68 |
|
69 |
+
== License ==
|
70 |
+
|
71 |
+
Copyright 2009, 2010 Jordi Canals
|
72 |
+
Copyright 2019, PublishPress
|
73 |
+
|
74 |
+
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
|
75 |
+
|
76 |
+
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
77 |
+
|
78 |
+
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
79 |
+
|
80 |
== Changelog ==
|
81 |
|
82 |
+
= 1.6 =
|
83 |
+
* Feature : WooCommerce - If current user has duplicate_products capability, make Woo honor it
|
84 |
+
* Feature : Link to Backup Tool from sidebar of Roles and Capabilities screen
|
85 |
+
* Feature : Link to Roles and Capabilities screen from Backup Tool
|
86 |
+
* Change : Minor code cleanup and refactor
|
87 |
+
* Change : Copyrights, onscreen link for PublishPress ownership
|
88 |
+
* Change : Links to Related Permissions Plugins in sidebar on Roles and Capabilities screen
|
89 |
+
|
90 |
= 1.5.11 =
|
91 |
* Feature : Automatically save backup of WP roles on plugin activation or update
|
92 |
* Feature : When roles are manually backed up, also retain initial role backup
|