Title: [Plugin: User Role Editor] Cannot use Export without also selecting Import
Last modified: August 19, 2016

---

# [Plugin: User Role Editor] Cannot use Export without also selecting Import

 *  [MouseClicks](https://wordpress.org/support/users/mouseclicks/)
 * (@mouseclicks)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-user-role-editor-cannot-use-export-without-also-selecting-import/)
 * Hello,
 * I’ve just set up this plugin for the first time. Seems like it’s going to be *
   very* helpful 🙂
 * I did find one thing that I wish would work differently. Seems I cannot select
   the Export option without also selecting the Import option if I want the Export
   option available. I would like to be able to use the Export option without the
   Import option.
 * Maybe I’m doing something wrong but I tried many different selections to make
   this work and couldn’t make it happen.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Vladimir Garagulya](https://wordpress.org/support/users/shinephp/)
 * (@shinephp)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-user-role-editor-cannot-use-export-without-also-selecting-import/#post-2012405)
 * Hello,
 * You are right. WordPress core code is built this way. If we look at wp-admin/
   menu.php at line # 206 we can see:
 *     ```
       $menu[75] = array( __('Tools'), 'edit_posts', 'tools.php', '', 'menu-top menu-icon-tools', 'menu-tools', 'div' );
       	$submenu['tools.php'][5] = array( __('Tools'), 'edit_posts', 'tools.php' );
       	$submenu['tools.php'][10] = array( __('Import'), 'import', 'import.php' );
       	$submenu['tools.php'][15] = array( __('Export'), 'import', 'export.php' );
       ```
   
 * Thus, in order to have ‘Export’ menu available user should have ‘import’ capability.
   But if we look at the begin of wp-admin/export.php we see:
 *     ```
       if ( !current_user_can('export') )
       	wp_die(__('You do not have sufficient permissions to export the content of this site.'));
       ```
   
 * That is the ‘export’ capability is checked there. So this thing could be named
   a bug and reported to the WordPress developers, I think :).

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: User Role Editor] Cannot use Export without also selecting Import’
is closed to new replies.

 * ![](https://ps.w.org/user-role-editor/assets/icon-256x256.jpg?rev=1020390)
 * [User Role Editor](https://wordpress.org/plugins/user-role-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-role-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-role-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/user-role-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-role-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-role-editor/reviews/)

## Tags

 * [export](https://wordpress.org/support/topic-tag/export/)
 * [Import](https://wordpress.org/support/topic-tag/import/)

 * 1 reply
 * 2 participants
 * Last reply from: [Vladimir Garagulya](https://wordpress.org/support/users/shinephp/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-user-role-editor-cannot-use-export-without-also-selecting-import/#post-2012405)
 * Status: not resolved