luizbills / wp-tweaks

Several opinionated wordpress tweaks focused in :shield: security and :zap: performance.
https://wordpress.org/plugins/wp-tweaks/
GNU General Public License v3.0
31 stars 8 forks source link

Override user_can_richedit functionality #6

Closed jukra closed 4 years ago

jukra commented 5 years ago

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.

luizbills commented 5 years ago

Let me know if you have any questions.

luizbills commented 5 years ago

jey @jukra, are you still going to work on this and other PRs?