Wordfence on multisite : plenty of wp_XX_user_roles raws in options table
-
Hello,
I am using wordfence on wordpress multisite, network activated.
It’s working very well, but I noticed something unusual : in every subsite wp_XX_options table in database, there is plenty of rows about other subsite with the options name wp_XX_user_roles and in option_value there is information about the different role. (XX represent the site ID)for example, in wp_5_options table I will have :
wp_3_user_roles with the value :a:12:{s:13:"administrator";a:2:{s:4:"name";s:13:"Administrator";s:12:"capabilities";a:0:{}}s:6:"editor";a:2:{s:4:"name";s:6:"Editor";s:12:"capabilities";a:0:{}}s:6:"author";a:2:{s:4:"name";s:6:"Author";s:12:"capabilities";a:0:{}}s:11:"contributor";a:2:{s:4:"name";s:11:"Contributor";s:12:"capabilities";a:0:{}}s:10:"subscriber";a:2:{s:4:"name";s:10:"Subscriber";s:12:"capabilities";a:0:{}}s:8:"customer";a:2:{s:4:"name";s:8:"Customer";s:12:"capabilities";a:0:{}}s:12:"shop_manager";a:2:{s:4:"name";s:12:"Shop manager";s:12:"capabilities";a:0:{}}s:10:"translator";a:2:{s:4:"name";s:10:"Translator";s:12:"capabilities";a:0:{}}s:6:"client";a:2:{s:4:"name";s:6:"Client";s:12:"capabilities";a:0:{}}}
And I will also have wp_4_user_roles with a similar value, wp_2_user_roles … etc and in main site wp_options table, I have all the wp_XX_user_roles for all the subsite.
How to recreate the issue :
– Create a multisite and several sub-site, let’s say 10.
– Install and network activate wordfence. Then wordfence will create all wp_XX_user_roles raws in main wp_options table for every subsite.How can I stop wordfence to do this ?
I guess that’s an option in the settings ? ??And, can I safely delete all this rows ?
Why this is a problem : all this rows are set on “autoload”, so on large multisite networks … that’s a big problem. I have subsite with more than 10mb+ autoloaded content from this tables only.
Thank you for your help!
- The topic ‘Wordfence on multisite : plenty of wp_XX_user_roles raws in options table’ is closed to new replies.