Version Description
- 24.05.2013
- Bug, which prevented the correct use of WordPress nonces on some installations (Windows), is fixed;
- DIRECTORY_SEPARATOR constant used in path to User Role Editor CSS file was empty on some installations (Windows). Constant DIRECTORY_SEPARATOR is excluded from the plugin code;
- User capabilities page: roles checkboxes are excluded from 'Select All', 'Unselect All', 'Inverse' operations. Only capabilities checkboxes are processed.
- Turkish Muhammed YILDIRIM translation is updated.
Download this release
Release Info
Developer | shinephp |
Plugin | User Role Editor |
Version | 3.14.1 |
Comparing to | |
See all releases |
Code changes from version 3.14 to 3.14.1
- includes/ure-lib.php +1 -1
- includes/ure-options.php +4 -4
- js/ure-js.js +2 -1
- lang/ure-tr_TR.mo +0 -0
- lang/ure-tr_TR.po +79 -86
- readme.txt +13 -2
- user-role-editor.php +10 -7
includes/ure-lib.php
CHANGED
@@ -255,7 +255,7 @@ function ure_reset_user_roles() {
|
|
255 |
$wp_roles->role_names = array();
|
256 |
$wp_roles->use_db = true;
|
257 |
|
258 |
-
require_once(ABSPATH .
|
259 |
populate_roles();
|
260 |
$wp_roles->reinit();
|
261 |
|
255 |
$wp_roles->role_names = array();
|
256 |
$wp_roles->use_db = true;
|
257 |
|
258 |
+
require_once(ABSPATH . '/wp-admin/includes/schema.php');
|
259 |
populate_roles();
|
260 |
$wp_roles->reinit();
|
261 |
|
includes/ure-options.php
CHANGED
@@ -222,9 +222,10 @@ ure_showMessage($mess);
|
|
222 |
</div>
|
223 |
|
224 |
<div class="has-sidebar" >
|
225 |
-
<form id="ure_form" method="post" action="<?php echo URE_PARENT; ?>?page=user-role-editor.php" >
|
226 |
-
<div id="ure_form_controls">
|
227 |
<?php
|
|
|
228 |
settings_fields('ure-options');
|
229 |
?>
|
230 |
|
@@ -233,8 +234,7 @@ ure_showMessage($mess);
|
|
233 |
require_once(URE_PLUGIN_DIR .'includes/ure-user-edit.php');
|
234 |
} else {
|
235 |
require_once(URE_PLUGIN_DIR .'includes/ure-role-edit.php');
|
236 |
-
}
|
237 |
-
wp_nonce_field('user-role-editor', 'ure_nonce');
|
238 |
?>
|
239 |
</div>
|
240 |
</form>
|
222 |
</div>
|
223 |
|
224 |
<div class="has-sidebar" >
|
225 |
+
<form id="ure_form" method="post" action="<?php echo URE_PARENT; ?>?page=user-role-editor.php" >
|
226 |
+
<div id="ure_form_controls">
|
227 |
<?php
|
228 |
+
wp_nonce_field('user-role-editor', 'ure_nonce');
|
229 |
settings_fields('ure-options');
|
230 |
?>
|
231 |
|
234 |
require_once(URE_PLUGIN_DIR .'includes/ure-user-edit.php');
|
235 |
} else {
|
236 |
require_once(URE_PLUGIN_DIR .'includes/ure-role-edit.php');
|
237 |
+
}
|
|
|
238 |
?>
|
239 |
</div>
|
240 |
</form>
|
js/ure-js.js
CHANGED
@@ -302,7 +302,8 @@ function ure_select_all(selected) {
|
|
302 |
if (el.type !== 'checkbox') {
|
303 |
continue;
|
304 |
}
|
305 |
-
if (el.name === 'ure_caps_readable' || el.name === 'ure_show_deprecated_caps' || el.disabled
|
|
|
306 |
continue;
|
307 |
}
|
308 |
if (selected >= 0) {
|
302 |
if (el.type !== 'checkbox') {
|
303 |
continue;
|
304 |
}
|
305 |
+
if (el.name === 'ure_caps_readable' || el.name === 'ure_show_deprecated_caps' || el.disabled ||
|
306 |
+
el.name.substr(0, 8) === 'wp_role_') {
|
307 |
continue;
|
308 |
}
|
309 |
if (selected >= 0) {
|
lang/ure-tr_TR.mo
CHANGED
Binary file
|
lang/ure-tr_TR.po
CHANGED
@@ -4,26 +4,26 @@ msgstr ""
|
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2013-05-17 11:21+0700\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
-
"Last-Translator:
|
8 |
"Language-Team: \n"
|
9 |
-
"Language: \n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Poedit-Language: Turkish\n"
|
14 |
-
"X-Poedit-Country: TURKEY\n"
|
15 |
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e\n"
|
17 |
"X-Poedit-Basepath: .\n"
|
|
|
18 |
"X-Poedit-SearchPath-0: ..\n"
|
19 |
|
20 |
#: ../user-role-editor.php:34
|
21 |
-
#,
|
22 |
msgid "User Role Editor requires PHP %s or newer."
|
23 |
-
msgstr "
|
|
|
|
|
24 |
|
25 |
-
#: ../user-role-editor.php:35
|
26 |
-
#: ../user-role-editor.php:107
|
27 |
msgid "Please update!"
|
28 |
msgstr "Lütfen güncelleyin!"
|
29 |
|
@@ -35,56 +35,56 @@ msgstr "Sadece"
|
|
35 |
msgid "is allowed to use"
|
36 |
msgstr "kullanmak için yetkilidir"
|
37 |
|
38 |
-
#: ../user-role-editor.php:86
|
39 |
-
#: ../user-role-editor.php:312
|
40 |
#: ../user-role-editor.php:368
|
41 |
msgid "User Role Editor"
|
42 |
msgstr "Kullanıcı Rol Editörü"
|
43 |
|
44 |
#: ../user-role-editor.php:106
|
45 |
-
#,
|
46 |
msgid "User Role Editor requires WordPress %s or newer."
|
47 |
-
msgstr "
|
|
|
48 |
|
49 |
#: ../user-role-editor.php:139
|
50 |
msgid "Select All"
|
51 |
-
msgstr ""
|
52 |
|
53 |
#: ../user-role-editor.php:140
|
54 |
msgid "Unselect All"
|
55 |
-
msgstr ""
|
56 |
|
57 |
#: ../user-role-editor.php:141
|
58 |
msgid "Reverse"
|
59 |
-
msgstr ""
|
60 |
|
61 |
#: ../user-role-editor.php:142
|
62 |
msgid "Update"
|
63 |
msgstr "Güncelle"
|
64 |
|
65 |
#: ../user-role-editor.php:143
|
66 |
-
#, fuzzy
|
67 |
msgid "Please confirm permissions update"
|
68 |
-
msgstr "
|
69 |
|
70 |
#: ../user-role-editor.php:144
|
71 |
msgid "Add New Role"
|
72 |
msgstr "Yeni Rol Ekle"
|
73 |
|
74 |
#: ../user-role-editor.php:145
|
75 |
-
#, fuzzy
|
76 |
msgid " Role name (ID) can not be empty!"
|
77 |
-
msgstr "Ad boş bırakılamaz!"
|
78 |
|
79 |
#: ../user-role-editor.php:146
|
80 |
-
|
81 |
-
|
82 |
-
|
|
|
|
|
|
|
83 |
|
84 |
#: ../user-role-editor.php:147
|
85 |
-
#, fuzzy
|
86 |
msgid "Add Role"
|
87 |
-
msgstr "
|
88 |
|
89 |
#: ../user-role-editor.php:148
|
90 |
msgid "Delete Role"
|
@@ -95,13 +95,10 @@ msgid "Cancel"
|
|
95 |
msgstr "İptal"
|
96 |
|
97 |
#: ../user-role-editor.php:150
|
98 |
-
#, fuzzy
|
99 |
msgid "Add Capability"
|
100 |
-
msgstr "
|
101 |
|
102 |
-
#: ../user-role-editor.php:151
|
103 |
-
#: ../user-role-editor.php:156
|
104 |
-
#, fuzzy
|
105 |
msgid "Delete Capability"
|
106 |
msgstr "Kabiliyeti kaldır"
|
107 |
|
@@ -110,39 +107,49 @@ msgid "Reset"
|
|
110 |
msgstr "Geri al"
|
111 |
|
112 |
#: ../user-role-editor.php:153
|
113 |
-
msgid "
|
|
|
|
|
|
|
114 |
msgstr ""
|
|
|
|
|
|
|
|
|
115 |
|
116 |
#: ../user-role-editor.php:154
|
117 |
-
#, fuzzy
|
118 |
msgid "Default Role"
|
119 |
-
msgstr "
|
120 |
|
121 |
#: ../user-role-editor.php:155
|
122 |
-
#, fuzzy
|
123 |
msgid "Set New Default Role"
|
124 |
-
msgstr "
|
125 |
|
126 |
#: ../user-role-editor.php:157
|
127 |
-
msgid "
|
128 |
-
|
|
|
|
|
|
|
|
|
129 |
|
130 |
#: ../user-role-editor.php:158
|
131 |
-
#, fuzzy
|
132 |
msgid " Capability name (ID) can not be empty!"
|
133 |
-
msgstr "Ad boş bırakılamaz!"
|
134 |
|
135 |
#: ../user-role-editor.php:159
|
136 |
-
|
137 |
-
|
138 |
-
|
|
|
|
|
|
|
139 |
|
140 |
#: ../user-role-editor.php:284
|
141 |
msgid "Settings"
|
142 |
msgstr "Ayarlar"
|
143 |
|
144 |
-
#: ../user-role-editor.php:294
|
145 |
-
#: ../includes/ure-options.php:209
|
146 |
msgid "Changelog"
|
147 |
msgstr "Changelog"
|
148 |
|
@@ -150,16 +157,13 @@ msgstr "Changelog"
|
|
150 |
msgid "Capabilities"
|
151 |
msgstr "Kabiliyetler"
|
152 |
|
153 |
-
#: ../user-role-editor.php:371
|
154 |
-
#: ../user-role-editor.php:407
|
155 |
-
#, fuzzy
|
156 |
msgid "Other Roles"
|
157 |
-
msgstr "
|
158 |
|
159 |
#: ../user-role-editor.php:381
|
160 |
-
#, fuzzy
|
161 |
msgid "Edit"
|
162 |
-
msgstr "
|
163 |
|
164 |
#: ../includes/ure-lib.php:35
|
165 |
msgid "Error is occur. Please check the log file."
|
@@ -170,9 +174,12 @@ msgid "Backup record is created for the current role capabilities"
|
|
170 |
msgstr "Güncel rol yeterlilikleri için yedek kayıt oluşturuldu"
|
171 |
|
172 |
#: ../includes/ure-lib.php:481
|
173 |
-
|
174 |
-
|
175 |
-
|
|
|
|
|
|
|
176 |
|
177 |
#: ../includes/ure-lib.php:496
|
178 |
#, php-format
|
@@ -472,7 +479,8 @@ msgstr "Dışa aktarmak"
|
|
472 |
|
473 |
#: ../includes/ure-lib.php:834
|
474 |
msgid "Error: Capability name must contain latin characters and digits only!"
|
475 |
-
msgstr "
|
|
|
476 |
|
477 |
#: ../includes/ure-lib.php:846
|
478 |
#, php-format
|
@@ -506,18 +514,15 @@ msgstr "Hiçbiri"
|
|
506 |
msgid "Select Role and change its capabilities list"
|
507 |
msgstr "Rolü seçin ve rolün yetki listesini değiştirin"
|
508 |
|
509 |
-
#: ../includes/ure-role-edit.php:69
|
510 |
-
#: ../includes/ure-role-edit.php:166
|
511 |
msgid "Select Role:"
|
512 |
msgstr "Rolü Seçin:"
|
513 |
|
514 |
-
#: ../includes/ure-role-edit.php:79
|
515 |
-
#: ../includes/ure-user-edit.php:38
|
516 |
msgid "Show capabilities in human readable form"
|
517 |
msgstr "Yetkileri insan tarafından okunabilir biçimde göster"
|
518 |
|
519 |
-
#: ../includes/ure-role-edit.php:88
|
520 |
-
#: ../includes/ure-user-edit.php:47
|
521 |
msgid "Show deprecated capabilities"
|
522 |
msgstr "Önerilmeyen yetenekleri göster"
|
523 |
|
@@ -529,40 +534,33 @@ msgstr "Eğer seçilirse, bu ağdaki tüm siteler için uygulanır"
|
|
529 |
msgid "Apply to All Sites"
|
530 |
msgstr "Tüm sitelere uygula"
|
531 |
|
532 |
-
#: ../includes/ure-role-edit.php:109
|
533 |
-
#: ../includes/ure-user-edit.php:88
|
534 |
-
#, fuzzy
|
535 |
msgid "Core capabilities:"
|
536 |
-
msgstr "
|
537 |
|
538 |
-
#: ../includes/ure-role-edit.php:124
|
539 |
-
#: ../includes/ure-user-edit.php:103
|
540 |
-
#, fuzzy
|
541 |
msgid "Custom capabilities:"
|
542 |
-
msgstr "Kabiliyetler:"
|
543 |
|
544 |
#: ../includes/ure-role-edit.php:155
|
545 |
-
#, fuzzy
|
546 |
msgid "Role name (ID): "
|
547 |
-
msgstr "Rol:"
|
548 |
|
549 |
#: ../includes/ure-role-edit.php:157
|
550 |
-
#, fuzzy
|
551 |
msgid "Display Role Name: "
|
552 |
-
msgstr "Rol
|
553 |
|
554 |
#: ../includes/ure-role-edit.php:159
|
555 |
msgid "Make copy of: "
|
556 |
msgstr "Bundan kopyala:"
|
557 |
|
558 |
#: ../includes/ure-role-edit.php:181
|
559 |
-
#, fuzzy
|
560 |
msgid "Delete:"
|
561 |
-
msgstr "Sil"
|
562 |
|
563 |
#: ../includes/ure-role-edit.php:188
|
564 |
msgid "Capability name (ID): "
|
565 |
-
msgstr ""
|
566 |
|
567 |
#: ../includes/ure-user-edit.php:22
|
568 |
msgid "Change capabilities for user"
|
@@ -570,28 +568,25 @@ msgstr "Kullanıcının kabiliyetlerini değiştir: "
|
|
570 |
|
571 |
#: ../includes/ure-user-edit.php:52
|
572 |
msgid "Primary Role:"
|
573 |
-
msgstr ""
|
574 |
|
575 |
#: ../includes/ure-user-edit.php:62
|
576 |
msgid "bbPress Role:"
|
577 |
-
msgstr ""
|
578 |
|
579 |
#: ../includes/ure-user-edit.php:72
|
580 |
-
#, fuzzy
|
581 |
msgid "Other Roles:"
|
582 |
-
msgstr "
|
583 |
|
584 |
#: ../includes/ure-options.php:65
|
585 |
-
#, fuzzy
|
586 |
msgid "User Roles are restored to WordPress default values. "
|
587 |
-
msgstr "Rol yetkileri
|
588 |
|
589 |
#: ../includes/ure-options.php:136
|
590 |
msgid "Error: "
|
591 |
msgstr "Hata:"
|
592 |
|
593 |
-
#: ../includes/ure-options.php:136
|
594 |
-
#: ../includes/ure-options.php:156
|
595 |
msgid "Role"
|
596 |
msgstr "Rol:"
|
597 |
|
@@ -603,11 +598,9 @@ msgstr "bulunmuyor"
|
|
603 |
msgid "is updated successfully"
|
604 |
msgstr "başarıyla güncellendi"
|
605 |
|
606 |
-
#: ../includes/ure-options.php:161
|
607 |
-
#: ../includes/ure-options.php:174
|
608 |
-
#, fuzzy
|
609 |
msgid "Error occured during role update"
|
610 |
-
msgstr "Rol
|
611 |
|
612 |
#: ../includes/ure-options.php:169
|
613 |
msgid "User"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2013-05-17 11:21+0700\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: Muhammed YILDIRIM <ben@muhammed.im>\n"
|
8 |
"Language-Team: \n"
|
9 |
+
"Language: tr_TR\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
|
13 |
"X-Poedit-SourceCharset: utf-8\n"
|
14 |
"X-Poedit-KeywordsList: __;_e\n"
|
15 |
"X-Poedit-Basepath: .\n"
|
16 |
+
"X-Generator: Poedit 1.5.4\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
|
19 |
#: ../user-role-editor.php:34
|
20 |
+
#, php-format
|
21 |
msgid "User Role Editor requires PHP %s or newer."
|
22 |
+
msgstr ""
|
23 |
+
"User Role Editor eklentisi PHP %s veya daha yüksek bir sürüme ihtiyaç "
|
24 |
+
"duymaktadır."
|
25 |
|
26 |
+
#: ../user-role-editor.php:35 ../user-role-editor.php:107
|
|
|
27 |
msgid "Please update!"
|
28 |
msgstr "Lütfen güncelleyin!"
|
29 |
|
35 |
msgid "is allowed to use"
|
36 |
msgstr "kullanmak için yetkilidir"
|
37 |
|
38 |
+
#: ../user-role-editor.php:86 ../user-role-editor.php:312
|
|
|
39 |
#: ../user-role-editor.php:368
|
40 |
msgid "User Role Editor"
|
41 |
msgstr "Kullanıcı Rol Editörü"
|
42 |
|
43 |
#: ../user-role-editor.php:106
|
44 |
+
#, php-format
|
45 |
msgid "User Role Editor requires WordPress %s or newer."
|
46 |
+
msgstr ""
|
47 |
+
"User Role Editor eklentisi en az WordPress %s sürümüne ihtiyaç duymaktadır."
|
48 |
|
49 |
#: ../user-role-editor.php:139
|
50 |
msgid "Select All"
|
51 |
+
msgstr "Tümünü Seç"
|
52 |
|
53 |
#: ../user-role-editor.php:140
|
54 |
msgid "Unselect All"
|
55 |
+
msgstr "Seçimi Kaldır"
|
56 |
|
57 |
#: ../user-role-editor.php:141
|
58 |
msgid "Reverse"
|
59 |
+
msgstr "Seçimi Tersine Çevir"
|
60 |
|
61 |
#: ../user-role-editor.php:142
|
62 |
msgid "Update"
|
63 |
msgstr "Güncelle"
|
64 |
|
65 |
#: ../user-role-editor.php:143
|
|
|
66 |
msgid "Please confirm permissions update"
|
67 |
+
msgstr "İzinleri güncelleştirmek için lütfen onaylayın"
|
68 |
|
69 |
#: ../user-role-editor.php:144
|
70 |
msgid "Add New Role"
|
71 |
msgstr "Yeni Rol Ekle"
|
72 |
|
73 |
#: ../user-role-editor.php:145
|
|
|
74 |
msgid " Role name (ID) can not be empty!"
|
75 |
+
msgstr "Ad (ID) boş bırakılamaz!"
|
76 |
|
77 |
#: ../user-role-editor.php:146
|
78 |
+
msgid ""
|
79 |
+
" Role name (ID) must contain latin characters, digits, hyphens or underscore "
|
80 |
+
"only!"
|
81 |
+
msgstr ""
|
82 |
+
"Rol adı (ID) yalnızca latin karakterleri, sayılar, tire veya altçizgiden "
|
83 |
+
"oluşabilir."
|
84 |
|
85 |
#: ../user-role-editor.php:147
|
|
|
86 |
msgid "Add Role"
|
87 |
+
msgstr "Rol Ekle"
|
88 |
|
89 |
#: ../user-role-editor.php:148
|
90 |
msgid "Delete Role"
|
95 |
msgstr "İptal"
|
96 |
|
97 |
#: ../user-role-editor.php:150
|
|
|
98 |
msgid "Add Capability"
|
99 |
+
msgstr "Kabiliyet Ekle"
|
100 |
|
101 |
+
#: ../user-role-editor.php:151 ../user-role-editor.php:156
|
|
|
|
|
102 |
msgid "Delete Capability"
|
103 |
msgstr "Kabiliyeti kaldır"
|
104 |
|
107 |
msgstr "Geri al"
|
108 |
|
109 |
#: ../user-role-editor.php:153
|
110 |
+
msgid ""
|
111 |
+
"Reset Roles to WordPress defaults. Be careful, all changes made by you or "
|
112 |
+
"plugins will be lost. Some plugins, e.g. S2Member, WooCommerce reactivation "
|
113 |
+
"could be needed. Continue?"
|
114 |
msgstr ""
|
115 |
+
"Rolleri Wordpress öntanımlılarına ayarla. Dikkatli olun, sizin tarafınızdan "
|
116 |
+
"veya eklenti tarafından yapılan tüm değişiklikler kaybolacak. Bazı "
|
117 |
+
"eklentiler, örneğin S2Member, WooCommerce için yeniden etkinleştirme "
|
118 |
+
"gerekebilir. Devam etmek istiyor musunuz?"
|
119 |
|
120 |
#: ../user-role-editor.php:154
|
|
|
121 |
msgid "Default Role"
|
122 |
+
msgstr "Öntanımlı Rol"
|
123 |
|
124 |
#: ../user-role-editor.php:155
|
|
|
125 |
msgid "Set New Default Role"
|
126 |
+
msgstr "Yeni Öntanımlı Rol Seç"
|
127 |
|
128 |
#: ../user-role-editor.php:157
|
129 |
+
msgid ""
|
130 |
+
"Warning! Be careful - removing critical capability could crash some plugin "
|
131 |
+
"or other custom code"
|
132 |
+
msgstr ""
|
133 |
+
"Uyarı! Dikkatli olun - önemli kabiliyetleri kaldırmak bazı eklentileri veya "
|
134 |
+
"başka özel kodların bozulmasına sebep olabilir"
|
135 |
|
136 |
#: ../user-role-editor.php:158
|
|
|
137 |
msgid " Capability name (ID) can not be empty!"
|
138 |
+
msgstr "Ad (ID) boş bırakılamaz!"
|
139 |
|
140 |
#: ../user-role-editor.php:159
|
141 |
+
msgid ""
|
142 |
+
" Capability name (ID) must contain latin characters, digits, hyphens or "
|
143 |
+
"underscore only!"
|
144 |
+
msgstr ""
|
145 |
+
"Kabiliyet adı (ID) yalnızca latin karakterleri, sayılar, tire veya "
|
146 |
+
"altçizgiden oluşabilir."
|
147 |
|
148 |
#: ../user-role-editor.php:284
|
149 |
msgid "Settings"
|
150 |
msgstr "Ayarlar"
|
151 |
|
152 |
+
#: ../user-role-editor.php:294 ../includes/ure-options.php:209
|
|
|
153 |
msgid "Changelog"
|
154 |
msgstr "Changelog"
|
155 |
|
157 |
msgid "Capabilities"
|
158 |
msgstr "Kabiliyetler"
|
159 |
|
160 |
+
#: ../user-role-editor.php:371 ../user-role-editor.php:407
|
|
|
|
|
161 |
msgid "Other Roles"
|
162 |
+
msgstr "Diğer Roller"
|
163 |
|
164 |
#: ../user-role-editor.php:381
|
|
|
165 |
msgid "Edit"
|
166 |
+
msgstr "Düzenle"
|
167 |
|
168 |
#: ../includes/ure-lib.php:35
|
169 |
msgid "Error is occur. Please check the log file."
|
174 |
msgstr "Güncel rol yeterlilikleri için yedek kayıt oluşturuldu"
|
175 |
|
176 |
#: ../includes/ure-lib.php:481
|
177 |
+
msgid ""
|
178 |
+
"Error: Role ID must contain latin characters, digits, hyphens or underscore "
|
179 |
+
"only!"
|
180 |
+
msgstr ""
|
181 |
+
"Hata: Rol ID yalnızca latin karakterleri, sayılar, tire veya altçizgiden "
|
182 |
+
"oluşabilir."
|
183 |
|
184 |
#: ../includes/ure-lib.php:496
|
185 |
#, php-format
|
479 |
|
480 |
#: ../includes/ure-lib.php:834
|
481 |
msgid "Error: Capability name must contain latin characters and digits only!"
|
482 |
+
msgstr ""
|
483 |
+
"Hata: Kabiliyet adı yalnızca latin karakterleri ve sayılardan oluşabilir."
|
484 |
|
485 |
#: ../includes/ure-lib.php:846
|
486 |
#, php-format
|
514 |
msgid "Select Role and change its capabilities list"
|
515 |
msgstr "Rolü seçin ve rolün yetki listesini değiştirin"
|
516 |
|
517 |
+
#: ../includes/ure-role-edit.php:69 ../includes/ure-role-edit.php:166
|
|
|
518 |
msgid "Select Role:"
|
519 |
msgstr "Rolü Seçin:"
|
520 |
|
521 |
+
#: ../includes/ure-role-edit.php:79 ../includes/ure-user-edit.php:38
|
|
|
522 |
msgid "Show capabilities in human readable form"
|
523 |
msgstr "Yetkileri insan tarafından okunabilir biçimde göster"
|
524 |
|
525 |
+
#: ../includes/ure-role-edit.php:88 ../includes/ure-user-edit.php:47
|
|
|
526 |
msgid "Show deprecated capabilities"
|
527 |
msgstr "Önerilmeyen yetenekleri göster"
|
528 |
|
534 |
msgid "Apply to All Sites"
|
535 |
msgstr "Tüm sitelere uygula"
|
536 |
|
537 |
+
#: ../includes/ure-role-edit.php:109 ../includes/ure-user-edit.php:88
|
|
|
|
|
538 |
msgid "Core capabilities:"
|
539 |
+
msgstr "Çekirdek Kabiliyetleri:"
|
540 |
|
541 |
+
#: ../includes/ure-role-edit.php:124 ../includes/ure-user-edit.php:103
|
|
|
|
|
542 |
msgid "Custom capabilities:"
|
543 |
+
msgstr "Özel Kabiliyetler:"
|
544 |
|
545 |
#: ../includes/ure-role-edit.php:155
|
|
|
546 |
msgid "Role name (ID): "
|
547 |
+
msgstr "Rol adı (ID):"
|
548 |
|
549 |
#: ../includes/ure-role-edit.php:157
|
|
|
550 |
msgid "Display Role Name: "
|
551 |
+
msgstr "Görünecek Rol Adı:"
|
552 |
|
553 |
#: ../includes/ure-role-edit.php:159
|
554 |
msgid "Make copy of: "
|
555 |
msgstr "Bundan kopyala:"
|
556 |
|
557 |
#: ../includes/ure-role-edit.php:181
|
|
|
558 |
msgid "Delete:"
|
559 |
+
msgstr "Sil:"
|
560 |
|
561 |
#: ../includes/ure-role-edit.php:188
|
562 |
msgid "Capability name (ID): "
|
563 |
+
msgstr "Yetenek adı (ID): "
|
564 |
|
565 |
#: ../includes/ure-user-edit.php:22
|
566 |
msgid "Change capabilities for user"
|
568 |
|
569 |
#: ../includes/ure-user-edit.php:52
|
570 |
msgid "Primary Role:"
|
571 |
+
msgstr "Birincil rol:"
|
572 |
|
573 |
#: ../includes/ure-user-edit.php:62
|
574 |
msgid "bbPress Role:"
|
575 |
+
msgstr "bbPress rolü: "
|
576 |
|
577 |
#: ../includes/ure-user-edit.php:72
|
|
|
578 |
msgid "Other Roles:"
|
579 |
+
msgstr "Diğer Roller:"
|
580 |
|
581 |
#: ../includes/ure-options.php:65
|
|
|
582 |
msgid "User Roles are restored to WordPress default values. "
|
583 |
+
msgstr "Rol yetkileri WordPress öntanımlılarına geri yüklendi."
|
584 |
|
585 |
#: ../includes/ure-options.php:136
|
586 |
msgid "Error: "
|
587 |
msgstr "Hata:"
|
588 |
|
589 |
+
#: ../includes/ure-options.php:136 ../includes/ure-options.php:156
|
|
|
590 |
msgid "Role"
|
591 |
msgstr "Rol:"
|
592 |
|
598 |
msgid "is updated successfully"
|
599 |
msgstr "başarıyla güncellendi"
|
600 |
|
601 |
+
#: ../includes/ure-options.php:161 ../includes/ure-options.php:174
|
|
|
|
|
602 |
msgid "Error occured during role update"
|
603 |
+
msgstr "Rol güncelleme işlemi sırasında hata oluştu"
|
604 |
|
605 |
#: ../includes/ure-options.php:169
|
606 |
msgid "User"
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: shinephp
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=vladimir%40shinephp%2ecom&lc=RU&item_name=ShinePHP%2ecom&item_number=User%20Role%20Editor%20WordPress%20plugin¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
|
4 |
Tags: user, role, editor, security, access, permission, capability
|
5 |
Requires at least: 3.2
|
6 |
-
Tested up to: 3.
|
7 |
Stable tag: trunk
|
8 |
|
9 |
User Role Editor WordPress plugin makes the role capabilities changing easy. You can change any standard WordPress user role.
|
@@ -56,8 +56,12 @@ To read more about 'User Role Editor' visit [this page](http://www.shinephp.com/
|
|
56 |
* Marcin - For the code enhancement. This contribution allows to not lose new custom capability if it is added to other than 'Administrator' role.
|
57 |
* [FullThrottle](http://fullthrottledevelopment.com/how-to-hide-the-adminstrator-on-the-wordpress-users-screen) - For the code to hide administrator role at admin backend.
|
58 |
|
|
|
59 |
= Translations =
|
60 |
-
*
|
|
|
|
|
|
|
61 |
|
62 |
Dear plugin User!
|
63 |
If you wish to help me with this plugin translation I very appreciate it. Please send your language .po and .mo files to vladimir[at-sign]shinephp.com email. Do not forget include you site link in order I can show it with greetings for the translation help at shinephp.com, plugin settings page and in this readme.txt file.
|
@@ -66,6 +70,13 @@ Share with me new ideas about plugin further development and link to your site w
|
|
66 |
|
67 |
|
68 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
= 3.14 =
|
70 |
* 17.05.2013
|
71 |
* Interface update: role/capability add/remove stuff was removed from the page. Plugin has toolbar at the right side now. Click on the button opens needed dialog window.
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=vladimir%40shinephp%2ecom&lc=RU&item_name=ShinePHP%2ecom&item_number=User%20Role%20Editor%20WordPress%20plugin¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
|
4 |
Tags: user, role, editor, security, access, permission, capability
|
5 |
Requires at least: 3.2
|
6 |
+
Tested up to: 3.6
|
7 |
Stable tag: trunk
|
8 |
|
9 |
User Role Editor WordPress plugin makes the role capabilities changing easy. You can change any standard WordPress user role.
|
56 |
* Marcin - For the code enhancement. This contribution allows to not lose new custom capability if it is added to other than 'Administrator' role.
|
57 |
* [FullThrottle](http://fullthrottledevelopment.com/how-to-hide-the-adminstrator-on-the-wordpress-users-screen) - For the code to hide administrator role at admin backend.
|
58 |
|
59 |
+
|
60 |
= Translations =
|
61 |
+
* Turkish: [Muhammed YILDIRIM](http://ben.muhammed.im)
|
62 |
+
*
|
63 |
+
*---------------------------------------------------------------
|
64 |
+
* The most of translation files except shown above are obsolete and require updates.
|
65 |
|
66 |
Dear plugin User!
|
67 |
If you wish to help me with this plugin translation I very appreciate it. Please send your language .po and .mo files to vladimir[at-sign]shinephp.com email. Do not forget include you site link in order I can show it with greetings for the translation help at shinephp.com, plugin settings page and in this readme.txt file.
|
70 |
|
71 |
|
72 |
== Changelog ==
|
73 |
+
= 3.14.1 =
|
74 |
+
* 24.05.2013
|
75 |
+
* Bug, which prevented the correct use of WordPress nonces on some installations (Windows), is fixed;
|
76 |
+
* DIRECTORY_SEPARATOR constant used in path to User Role Editor CSS file was empty on some installations (Windows). Constant DIRECTORY_SEPARATOR is excluded from the plugin code;
|
77 |
+
* User capabilities page: roles checkboxes are excluded from 'Select All', 'Unselect All', 'Inverse' operations. Only capabilities checkboxes are processed.
|
78 |
+
* Turkish [Muhammed YILDIRIM](http://ben.muhammed.im) translation is updated.
|
79 |
+
|
80 |
= 3.14 =
|
81 |
* 17.05.2013
|
82 |
* Interface update: role/capability add/remove stuff was removed from the page. Plugin has toolbar at the right side now. Click on the button opens needed dialog window.
|
user-role-editor.php
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
/*
|
3 |
Plugin Name: User Role Editor
|
4 |
Plugin URI: http://www.shinephp.com/user-role-editor-wordpress-plugin/
|
5 |
-
Description: It allows you to change/add/delete any WordPress user role
|
6 |
-
Version: 3.14
|
7 |
Author: Vladimir Garagulya
|
8 |
Author URI: http://www.shinephp.com
|
9 |
Text Domain: ure
|
@@ -54,7 +54,7 @@ require_once(URE_PLUGIN_DIR. 'includes/ure-lib.php');
|
|
54 |
*/
|
55 |
function ure_load_translation() {
|
56 |
|
57 |
-
load_plugin_textdomain( 'ure', '', dirname( plugin_basename( __FILE__ ) ) .
|
58 |
|
59 |
}
|
60 |
// end of ure_load_translation()
|
@@ -79,13 +79,16 @@ function ure_optionsPage() {
|
|
79 |
}
|
80 |
die(__('Only','ure').' '.$admin.' '.__('is allowed to use','ure').' '.'User Role Editor');
|
81 |
}
|
|
|
|
|
82 |
?>
|
83 |
|
84 |
<div class="wrap">
|
85 |
<div class="icon32" id="icon-options-general"><br/></div>
|
86 |
<h2><?php _e('User Role Editor', 'ure'); ?></h2>
|
87 |
-
|
88 |
-
|
|
|
89 |
</div>
|
90 |
<?php
|
91 |
|
@@ -319,7 +322,7 @@ function ure_settings_menu() {
|
|
319 |
function ure_admin_css_action() {
|
320 |
|
321 |
wp_enqueue_style ( 'wp-jquery-ui-dialog');
|
322 |
-
wp_enqueue_style('ure_admin_css', URE_PLUGIN_URL .'css
|
323 |
|
324 |
}
|
325 |
// end of ure_adminCssAction()
|
@@ -536,7 +539,7 @@ if (is_admin()) {
|
|
536 |
add_action( 'edit_user_profile', 'ure_edit_user_profile');
|
537 |
add_filter( 'manage_users_columns', 'ure_user_role_column', 10, 5 );
|
538 |
add_filter( 'manage_users_custom_column', 'ure_user_role_row', 10, 3 );
|
539 |
-
add_action('profile_update', 'ure_user_profile_update', 10);
|
540 |
|
541 |
}
|
542 |
|
2 |
/*
|
3 |
Plugin Name: User Role Editor
|
4 |
Plugin URI: http://www.shinephp.com/user-role-editor-wordpress-plugin/
|
5 |
+
Description: It allows you to change/add/delete any WordPress user role or capabilities with a few clicks.
|
6 |
+
Version: 3.14.1
|
7 |
Author: Vladimir Garagulya
|
8 |
Author URI: http://www.shinephp.com
|
9 |
Text Domain: ure
|
54 |
*/
|
55 |
function ure_load_translation() {
|
56 |
|
57 |
+
load_plugin_textdomain( 'ure', '', dirname( plugin_basename( __FILE__ ) ) .'/lang' );
|
58 |
|
59 |
}
|
60 |
// end of ure_load_translation()
|
79 |
}
|
80 |
die(__('Only','ure').' '.$admin.' '.__('is allowed to use','ure').' '.'User Role Editor');
|
81 |
}
|
82 |
+
|
83 |
+
require_once(URE_PLUGIN_DIR .'includes/ure-class-advertisement.php');
|
84 |
?>
|
85 |
|
86 |
<div class="wrap">
|
87 |
<div class="icon32" id="icon-options-general"><br/></div>
|
88 |
<h2><?php _e('User Role Editor', 'ure'); ?></h2>
|
89 |
+
<?php
|
90 |
+
require_once(URE_PLUGIN_DIR .'includes/ure-options.php');
|
91 |
+
?>
|
92 |
</div>
|
93 |
<?php
|
94 |
|
322 |
function ure_admin_css_action() {
|
323 |
|
324 |
wp_enqueue_style ( 'wp-jquery-ui-dialog');
|
325 |
+
wp_enqueue_style('ure_admin_css', URE_PLUGIN_URL .'css/ure-admin.css', array(), false, 'screen');
|
326 |
|
327 |
}
|
328 |
// end of ure_adminCssAction()
|
539 |
add_action( 'edit_user_profile', 'ure_edit_user_profile');
|
540 |
add_filter( 'manage_users_columns', 'ure_user_role_column', 10, 5 );
|
541 |
add_filter( 'manage_users_custom_column', 'ure_user_role_row', 10, 3 );
|
542 |
+
add_action( 'profile_update', 'ure_user_profile_update', 10 );
|
543 |
|
544 |
}
|
545 |
|