[wp-trac] [WordPress Trac] #46132: Opera changed its render engine to Chrome, $is_opera not working

WordPress Trac noreply at wordpress.org
Tue Jan 29 00:56:46 UTC 2019


#46132: Opera changed its render engine to Chrome, $is_opera not working
--------------------------+-----------------------------
 Reporter:  brasofilo     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.0.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Nowadays, Opera is being detected as "chrome" and {{{$is_opera}}} returns
 false.

 String detection should include {{{'OPR'}}} in
 https://core.trac.wordpress.org/browser/trunk/src/wp-includes/vars.php#L86

 See: https://stackoverflow.com/questions/1998293/how-to-determine-the-
 opera-browser-using-javascript/17436191#17436191

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46132>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list