This overrides the function user_can_richedit and only checks the user preferences instead of doing UA sniffing. WordPress normally determines with browser User-Agent if rich editing can be enabled, however on some cases (for example when behind load balancer) UA might be missing, so this is a safer option for the functionality.
This overrides the function user_can_richedit and only checks the user preferences instead of doing UA sniffing. WordPress normally determines with browser User-Agent if rich editing can be enabled, however on some cases (for example when behind load balancer) UA might be missing, so this is a safer option for the functionality.