Ticket #42269: 42269.patch
File 42269.patch, 601 bytes (added by , 7 years ago) |
---|
-
wp-admin/export.php
9 9 /** Load WordPress Bootstrap */ 10 10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 if ( ! current_user_can('export') )13 wp_die( __('Sorry, you are not allowed to export the content of this site.'));12 if ( ! current_user_can( 'export' ) ) 13 wp_die( __( 'Sorry, you are not allowed to export content.' ) ); 14 14 15 15 /** Load WordPress export API */ 16 16 require_once( ABSPATH . 'wp-admin/includes/export.php' );