درباره افزونه User Role Editor
افزونه «User Role Editor» یکی از افزونههای کاربردی برای وردپرس است که توسط Vladimir Garagulya توسعه مییابد. نسخه فعلی این افزونه (4.66.2) با وردپرس 4.7 و بالاتر، و PHP 7.4 و بالاتر سازگار است. آخرین بهروزرسانی این افزونه در تاریخ 1405/07/17 منتشر شده که نشاندهنده پشتیبانی فعال از سوی توسعهدهنده است. در WPFORIRAN، فایل ZIP این افزونه بهطور خودکار با مخزن رسمی WordPress.org همگامسازی میشود تا کاربران ایرانی بدون نیاز به VPN، آخرین نسخه را دریافت کنند. برای نصب افزونه «User Role Editor»، فایل ZIP را از همین صفحه دانلود کنید. سپس از پنل مدیریت وردپرس به مسیر «افزونهها → افزودن → بارگذاری افزونه» بروید و فایل دانلود شده را آپلود کنید. پس از نصب موفقیتآمیز، روی دکمه «فعالسازی» کلیک کنید تا افزونه آماده استفاده شود. تنظیمات افزونه معمولاً در منوی پیشخوان وردپرس یا در منوی تنظیمات قابل دسترسی است. این صفحه بهطور خودکار از مخزن رسمی WordPress.org ایجاد شده است. برای دسترسی به اطلاعات کاملتر، تغییرات نسخهها (changelog)، و توضیحات تفصیلی توسط توسعهدهنده، میتوانید به صفحه رسمی این افزونه در WordPress.org مراجعه کنید. تیم WPFORIRAN در حال آمادهسازی توضیحات فارسی اختصاصی برای افزونههای پرکاربرد است.
راهنمای نصب افزونه
- فایل ZIP افزونه را با کلیک روی دکمه «دانلود نسخه 4.66.2» در بالای همین صفحه دریافت کنید. فایل از سرور WPFORIRAN در ایران ارائه میشود و نیاز به VPN ندارد.
- وارد پنل مدیریت وردپرس خود شوید و به مسیر «افزونهها → افزودن → بارگذاری افزونه» بروید.
- فایل ZIP دانلود شده (user-role-editor-4.66.2.zip) را انتخاب و آپلود کنید.
- پس از پایان نصب، روی دکمه «فعالسازی افزونه» کلیک کنید.
- افزونه User Role Editor اکنون آماده استفاده است. برای تنظیمات، به منوی مربوطه در پنل وردپرس مراجعه کنید.
تغییرات نسخه 4.66.2
- Security Fix: administrator-role protection (URE_Protect_Admin::exclude_admin_role()) only excluded the “administrator” role from the assignable-roles list on the classic user edit screens, not on the plugin’s own admin-ajax.php actions; a user holding the “promote_users” capability (without the plugin’s own key capability) could therefore grant themselves or another user the “administrator” role via the “Add Role”/”Grant Roles” AJAX action, bypassing the same protection the classic Users screen correctly enforced. Discovered and responsibly reported by Humberto (SVO, https://svo.com.br).
- Fix: the “Grant Roles” dialog’s AJAX request (get_grant_roles) incorrectly required the plugin’s own key capability instead of “promote_users”, refusing users who only had “promote_users” – the capability the Grant Roles feature is designed for – with an “Insufficient permissions” error.
- Fix: “Add Role” dialog kept showing the previously entered Role name (ID) and Display Role Name after a role was added, instead of blank fields.
- Fix: opening a user’s edit-profile screen and leaving without making any changes could show a spurious “Changes you made may not be saved” browser warning whenever the user had any “Other Roles” assigned; the Other Roles multi-select now renders its selected options directly in HTML instead of relying on JavaScript to select them after page load.