{"id":19016324,"date":"2026-09-10T08:39:09","date_gmt":"2026-09-10T08:39:09","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/selected-post-types-are-not-saved\/"},"modified":"2026-09-10T08:40:08","modified_gmt":"2026-09-10T08:40:08","slug":"selected-post-types-are-not-saved","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/selected-post-types-are-not-saved\/","title":{"rendered":"Selected post types are not saved"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">when I select post types(When editing User at Posts\/Pages\/Custom Post Types Editor Restrictions) that I want a user to have access to and then save the user, the selected post types are not saved. After the page reloads, they are unselected again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I added some logging and it looks like User Role Editor is trying to save the post types as an empty array.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Could you please have a look at this? Plugin User Role Editor Pro, version 4.66.<br \/><br \/>Thanks.<\/p>\n","protected":false},"template":"","class_list":["post-19016324","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19016324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19016324\/revisions"}],"predecessor-version":[{"id":19016327,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19016324\/revisions\/19016327"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19016324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}