Skip to:
Content

bbPress.org


Ignore:
Timestamp:
03/02/2008 05:07:47 AM (18 years ago)
Author:
sambauers
Message:

Add 'import_export' capability and alter export error message to cover both cases it captures for 0.8 branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.8/bb-admin/export.php

    r1127 r1173  
    1616    define('BB_EXPORT_LEVEL', 0);
    1717
    18 if ( !BB_EXPORT_LEVEL || !bb_current_user_can( 'use_keys' ) )
    19     bb_die( __('No thieving allowed.') );
     18if ( !BB_EXPORT_LEVEL || !bb_current_user_can( 'import_export' ) )
     19    bb_die( __('Either export is disabled or you are not allowed to export.') );
    2020
    2121// See bb_export_user for syntax
Note: See TracChangeset for help on using the changeset viewer.