[wp-trac] [WordPress Trac] #29159: user-agent checking is removing visual editor in function user_can_richedit

WordPress Trac noreply at wordpress.org
Tue Oct 20 06:42:36 UTC 2015


#29159: user-agent checking is removing visual editor in function user_can_richedit
-------------------------------+------------------------------
 Reporter:  vmuryginIB         |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Editor             |     Version:  2.0
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by mcfedr):

 Seeing similar problems because I am hosting wordpress behind Amazon
 CloudFront. For caching reasons there is no user-agent header and I have
 to patch the function to always return true.

 How many browsers don't support the visual editor these days? maybe its
 better to remove check for user-agent and for that small percentage of
 users to pay the extra cost of downloading a js file and not using it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29159#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list