{"id":4543,"date":"2025-03-25T14:45:52","date_gmt":"2025-03-25T13:45:52","guid":{"rendered":"https:\/\/wpmastertoolkit.com\/?p=4543"},"modified":"2025-03-25T14:51:48","modified_gmt":"2025-03-25T13:51:48","slug":"wpmastertoolkit-2-4-1-patch-ameliorations-sur-2-modules","status":"publish","type":"post","link":"https:\/\/wpmastertoolkit.com\/en\/wpmastertoolkit-2-4-1-patch-improvements-on-2-modules\/","title":{"rendered":"WPMasterToolKit 2.4.1 - Patch &amp; enhancements on 2 modules"},"content":{"rendered":"<p>Version 2.4.1 of <strong>WPMasterToolKit<\/strong> brings two essential fixes, focusing on module reliability and safety <strong>Administer<\/strong> and <strong>Multiple User Roles<\/strong>. These targeted updates respond directly to user feedback received on the WordPress forum, ensuring a smoother experience for WordPress administrators.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Correction: Conflict with <code data-no-auto-translation=\"\">session_start()<\/code> in Adminer<\/h3>\n\n\n\n<p>The module <strong>Administer<\/strong>which allows you to manage your entire database directly from the WordPress interface, was experiencing a problem with the call to <code data-no-auto-translation=\"\">session_start()<\/code> during REST-API requests. This bug could lead to critical errors or unexpected behavior when using the REST API.<br>Thanks to this fix, Adminer starts the session cleanly only when necessary, without interfering with API calls.<br><a href=\"https:\/\/wordpress.org\/support\/topic\/problemes-critiques\/#post-18381082\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">View support ticket<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Fixed: Enhanced security for the Multiple User Roles module<\/h3>\n\n\n\n<p>The module <strong>Multiple User Roles<\/strong>which allows multiple user roles to be assigned when creating or editing accounts, inadvertently prevented administrators from removing their own administrator role, resulting in a forbidden 403 error.<br>This update adds a logical check: if you are editing your own account and have the \"administrator\" role, this is automatically retained, even if you try to uncheck it. This prevents any loss of critical privileges.<br><a href=\"https:\/\/wordpress.org\/support\/topic\/multiple-user-roles-generates-a-403-forbidden-error-2\/#post-18381136\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">View support ticket<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why is this update important?<\/h3>\n\n\n\n<p>This version 2.4.1 doesn't add any new features, but it does improve the plugin's robustness. Administrators can now :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use <strong>Administer<\/strong> without generating conflicts with the REST API.<\/li>\n\n\n\n<li>Manage user roles without the risk of losing access to their own site.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Version 2.4.1 of WPMasterToolKit fixes two critical bugs: a conflict with session_start() in the Adminer module, and a problem deleting the administrator role in the Multiple User Roles module. Upgrade now for more stable and secure management of your WordPress site.<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_surecart_dashboard_logo_width":"180px","_surecart_dashboard_show_logo":true,"_surecart_dashboard_navigation_orders":true,"_surecart_dashboard_navigation_invoices":true,"_surecart_dashboard_navigation_subscriptions":true,"_surecart_dashboard_navigation_downloads":true,"_surecart_dashboard_navigation_billing":true,"_surecart_dashboard_navigation_account":true,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4543","post","type-post","status-publish","format-standard","hentry","category-non-classe"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/posts\/4543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/comments?post=4543"}],"version-history":[{"count":4,"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/posts\/4543\/revisions"}],"predecessor-version":[{"id":4547,"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/posts\/4543\/revisions\/4547"}],"wp:attachment":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/media?parent=4543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/categories?post=4543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/tags?post=4543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}