[wp-hackers] Disabling Tools->Export
Christopher Ross
cross at thisismyurl.com
Wed Jun 27 12:31:57 UTC 2012
Harry, I hesitate to ever suggest changing core files but the only way I could think of to ensure the export can't run *ever* would be to edit /wp-admin/export.php and remove the functionality.
On 2012-06-27, at 8:47 AM, Harry Metcalfe wrote:
> Hello,
>
> We've found that some of our corporate clients have concerns about the ability for their staff to mass-export data from the WP backend.
>
> I realise we can (and have) removed the administrator role's capability to do that, but I wondered if it might be useful to add a constant that disables it? There's a bit of concern that a plugin could re-add the capability without us noticing. Something that works like DISALLOW_FILE_EDIT would be more robust.
>
> Very happy to submit a patch if people think it's a good idea.
>
> Harry
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
--
Christopher Ross : @thisismyurl : Pinterest : Facebook : LinkedIn : Google+
Telephone: (506) 455-4122
399 King Street,
Fredericton, New Brunswick
E3B 3E5
Photography : Blog
More information about the wp-hackers
mailing list