{"id":10814,"date":"2010-10-07T18:02:31","date_gmt":"2010-10-07T18:02:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/restrict-categories\/"},"modified":"2019-08-30T19:11:21","modified_gmt":"2019-08-30T19:11:21","slug":"restrict-categories","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/restrict-categories\/","author":2644232,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.6.4","stable_tag":"2.6.4","tested":"5.2.24","requires":"4.7","requires_php":"","requires_plugins":"","header_name":"Restrict Categories","header_author":"Matthew Muro","header_description":"","assets_banners_color":"","last_updated":"2019-08-30 19:11:21","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=G87A9UN9CLPH4&lc=US&item_name=Restrict%20Categories&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted","header_plugin_uri":"","header_author_uri":"http:\/\/vfbpro.com","rating":3.8,"author_block_rating":0,"active_installs":2000,"downloads":105592,"num_ratings":39,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"2.6.3":"<p>Add &quot;Search Users&quot; feature to Users tab<\/p>","2.5":"<p>Bug fix for saving with pagination<\/p>","2.4":"<p>Added pagination controls for Roles and Users. Customize number displayed using the Screen Options tab.<\/p>","2.3":"<p>Bug fix for hidden custom taxonomies on the Add Post screen.<\/p>","2.2.2":"<p>Recommended upgrade for XML-RPC users! Fixes bug that accidentally broke restriction for XML-RPC.<\/p>","2.2.1":"<p>Recommended upgrade that fixes bug with &#039;View All&#039; and &#039;Most Popular&#039; tabs not being set correctly.<\/p>","2.2":"<p>Recommended upgrade that fixes bug with Internal Linking feature. More UI improvements.<\/p>","2.1":"<p>Recommended upgrade! Corrects error that prevented the tabbed interface from being uploaded in the last version.<\/p>","2.0":"<p>Improved the UI by separating the Roles and Users into their own tabs.<\/p>","1.9":"<p>Added support for XML-RPC so categories are now restricted for mobile devices (i.e. WordPress iPhone app).<\/p>","1.8":"<p>Bug fix for WordPress 3.1 users that broke user restriction.<\/p>","1.7":"<p>Bug fix for restricted users where uploaded images listed in the Gallery tab on Media Uploader were hidden.<\/p>","1.6.1":"<p>For WordPress 3.0 - 3.0.4 users: highly recommended update that fixes a bug where user restriction was not being applied.<\/p>","1.6":"<p>Added ability to restrict categories based on username.<\/p>","1.5":"<p>Recommended upgrade that improves user interface and fixes reported bugs.<\/p>","1.4":"<p>This version fixes problems with error messages.<\/p>","1.3":"<p>Upgrade for compatibility with WordPress 3.1.<\/p>","1.2":"<p>Recommended upgrade to correct bug which would allow restricted users to bypass category restriction.<\/p>","1.1":"<p>This version adds the ability to select unassigned categories.<\/p>"},"ratings":{"1":8,"2":2,"3":4,"4":2,"5":23},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.6.1","1.7","1.8","1.9","2.0","2.1","2.2","2.2.1","2.2.2","2.3","2.4","2.5","2.6","2.6.1","2.6.2","2.6.3","2.6.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"598585","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"598585","resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"598585","resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Roles and Users with selected categories to restrict","2":"The Posts edit screen with restricted categories","3":"The Categories selection on the Add New Post screen with restricted categories"}},"plugin_section":[],"plugin_tags":[83,563,610,225,1914],"plugin_category":[57],"plugin_contributors":[78000],"plugin_business_model":[],"class_list":["post-10814","plugin","type-plugin","status-closed","hentry","plugin_tags-admin","plugin_tags-administration","plugin_tags-categories","plugin_tags-cms","plugin_tags-restrict","plugin_category-taxonomy","plugin_contributors-mmuro","plugin_committers-mmuro"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/restrict-categories.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/restrict-categories\/assets\/screenshot-1.png?rev=598585","caption":"Roles and Users with selected categories to restrict"},{"src":"https:\/\/ps.w.org\/restrict-categories\/assets\/screenshot-2.png?rev=598585","caption":"The Posts edit screen with restricted categories"},{"src":"https:\/\/ps.w.org\/restrict-categories\/assets\/screenshot-3.png?rev=598585","caption":"The Categories selection on the Add New Post screen with restricted categories"}],"raw_content":"<!--section=description-->\n<p><em>Restrict Categories<\/em> is a plugin that allows you to select which categories users can view, add, and edit in the Posts edit screen.<\/p>\n\n<p>This plugin allows you to restrict access based on the user role AND username.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>restrict-categories<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to <em>Settings &gt; Restrict Categories<\/em> to configure which categories will be restricted for each user and\/or role.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Does this work with custom roles I have created?<\/dt>\n<dd><p>Yes!  Roles created through plugins like Members will be listed on <em>Settings &gt; Restrict Categories<\/em><\/p><\/dd>\n<dt>Will this prevent my regular visitors from seeing posts?<\/dt>\n<dd><p>No.  This plugin only affects logged in users in the admin panel.<\/p><\/dd>\n<dt>I messed up and somehow prevented the Administrator account from seeing certain categories!<\/dt>\n<dd><p>Restrict Categories is an opt-in plugin.  By default, every role has access to every category, depending on the capabilities.\nIf you check a category box in a certain role, such as Administrator, you will <em>restrict<\/em> that role to viewing only those categories.<\/p>\n\n<p>To fix this, go to <em>Settings &gt; Restrict Categories<\/em>, uncheck <em>all<\/em> boxes under the Administrator account and save your changes.  You can also click the Reset button to reset all changes to the default configuration.<\/p><\/dd>\n<dt>How does it work when I've selected categories for a role AND a user?<\/dt>\n<dd><p>Selecting categories for a user will <em>override<\/em> the categories you've selected for that user's role.<\/p>\n\n<p>In other words, Restrict Categories allows you complete control over groups of users while also allowing you to selectively change a setting for a single user.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p><strong>Version 2.6.4 - Aug 30, 2019<\/strong><\/p>\n\n<ul>\n<li>Fix saving bug<\/li>\n<\/ul>\n\n<p><strong>Version 2.6.3 - Jan 28, 2013<\/strong><\/p>\n\n<ul>\n<li>Add \"Search Users\" feature to Users tab<\/li>\n<li>Remove check for get_users_of_blog, which was deprecated in WordPress 3.1.<\/li>\n<\/ul>\n\n<p><strong>Version 2.6.2 - Aug 14, 2013<\/strong><\/p>\n\n<ul>\n<li>Fix notices in PHP 5.4<\/li>\n<\/ul>\n\n<p><strong>Version 2.6.1 - Mar 12, 2013<\/strong><\/p>\n\n<ul>\n<li>Check if array key exists before stripping placeholder to resolve warnings for some servers<\/li>\n<\/ul>\n\n<p><strong>Version 2.6 - Mar 11, 2013<\/strong><\/p>\n\n<ul>\n<li>Add \"Select All\" feature<\/li>\n<li>Update minimum capability to manage_categories<\/li>\n<li>Fix bug where users may see all categories in certain cases<\/li>\n<li>Fix PHP notices<\/li>\n<\/ul>\n\n<p><strong>Version 2.5 - Sep 13, 2012<\/strong><\/p>\n\n<ul>\n<li>Fix bug for saving with pagination<\/li>\n<\/ul>\n\n<p><strong>Version 2.4 - Jan 17, 2012<\/strong><\/p>\n\n<ul>\n<li>Add pagination controls for Roles and Users. Customize number displayed using the Screen Options tab<\/li>\n<\/ul>\n\n<p><strong>Version 2.3 - Aug 17, 2011<\/strong><\/p>\n\n<ul>\n<li>Fix bug where custom taxonomies were being hidden on the Add Post screen<\/li>\n<\/ul>\n\n<p><strong>Version 2.2.2 - Jul 13, 2011<\/strong><\/p>\n\n<ul>\n<li>Fix bug where XML-RPC support was broken<\/li>\n<\/ul>\n\n<p><strong>Version 2.2.1 - May 19, 2011<\/strong><\/p>\n\n<ul>\n<li>Fix bug where 'View All' and 'Most Popular' tabs were not set correctly for the Roles screen<\/li>\n<\/ul>\n\n<p><strong>Version 2.2 - May 16, 2011<\/strong><\/p>\n\n<ul>\n<li>Fix bug where Pages type was not being displayed in Internal Linking WordPress feature<\/li>\n<li>Added 'View All' and 'Most Popular' tabs to each role\/user to make it easier to find relevant categories<\/li>\n<\/ul>\n\n<p><strong>Version 2.1 - May 10, 2011<\/strong><\/p>\n\n<ul>\n<li>Correct problem that prevented tabbed interface from being uploaded<\/li>\n<\/ul>\n\n<p><strong>Version 2.0 - Apr 18, 2011<\/strong><\/p>\n\n<ul>\n<li>Improve the user interface by separating the Roles and Users via tabs<\/li>\n<\/ul>\n\n<p><strong>Version 1.9 - Mar 30, 2011<\/strong><\/p>\n\n<ul>\n<li>Added XML-RPC support so categories are restricted using mobile devices and remote applications<\/li>\n<\/ul>\n\n<p><strong>Version 1.8 - Mar 12, 2011<\/strong><\/p>\n\n<ul>\n<li>Fix bug for WordPress 3.1 users that broke user restriction.<\/li>\n<li>Switch code to PHP classes to prevent conflicts with other plugins.<\/li>\n<li>Now using register_setting to save options instead of custom method.<\/li>\n<li>Uninstalling\/Deleting plugin now removes Restrict Categories database options.<\/li>\n<\/ul>\n\n<p><strong>Version 1.7 - Feb 18, 2011<\/strong><\/p>\n\n<ul>\n<li>Fix bug that hid list of images under Gallery tab on Media Uploader.<\/li>\n<\/ul>\n\n<p><strong>Version 1.6.1 - Jan 24, 2011<\/strong><\/p>\n\n<ul>\n<li>Fix bug where user restriction was not being applied.<\/li>\n<\/ul>\n\n<p><strong>Version 1.6 - Jan 20, 2011<\/strong><\/p>\n\n<ul>\n<li>Added restriction based on username<\/li>\n<li>Show number of selected categories for each role and username<\/li>\n<li>Improve reliability of Posts Edit screen query<\/li>\n<\/ul>\n\n<p><strong>Version 1.5 - Jan 6, 2011<\/strong><\/p>\n\n<ul>\n<li>Updated user interface<\/li>\n<li>Fix bug to allow sub-categories<\/li>\n<li>Fix bug to allow duplicate category names<\/li>\n<li>Fix bug for categories with single quotes, ampersands, and other encoded characters<\/li>\n<\/ul>\n\n<p><strong>Version 1.4 - Nov 29, 2010<\/strong><\/p>\n\n<ul>\n<li>Fix for bug assuming database table prefix<\/li>\n<li>Improve compatibility with PHP 5.2 and empty array checking<\/li>\n<li>Added string localization<\/li>\n<\/ul>\n\n<p><strong>Version 1.3 - Nov 23, 2010<\/strong><\/p>\n\n<ul>\n<li>Update that removes restricted categories from all terms lists (Category management page, Posts dropdown filter, and New\/Edit post category list)<\/li>\n<li>Fix for \"Wrong datatype\" bug on checkboxes<\/li>\n<\/ul>\n\n<p><strong>Version 1.2 - Nov 8, 2010<\/strong><\/p>\n\n<ul>\n<li>Fix for a bug that would allow restricted users to use the category dropdown filter to gain access to categories<\/li>\n<\/ul>\n\n<p><strong>Version 1.1 - Nov 8, 2010<\/strong><\/p>\n\n<ul>\n<li>Updated list of categories to include those that are unassigned<\/li>\n<li>Fixed a small HTML bug<\/li>\n<li>Now storing options as an array instead of converting to a string<\/li>\n<\/ul>\n\n<p><strong>Version 1.0 - Nov 8, 2010<\/strong><\/p>\n\n<ul>\n<li>Plugin launch!<\/li>\n<\/ul>","raw_excerpt":"Restrict the categories that users can view, add, and edit in the admin panel.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/10814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=10814"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mmuro"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=10814"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=10814"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=10814"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=10814"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=10814"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=10814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}