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

WordPress Trac noreply at wordpress.org
Fri Feb 1 21:44:31 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:  Future Release
Component:  General       |     Version:  2.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------
Changes (by desrosj):

 * keywords:   => needs-patch
 * version:  5.0.2 => 2.2
 * milestone:  Awaiting Review => Future Release


Comment:

 Thanks for the ticket, @brasofilo!

 I did some digging, and this Opera check appears to originally have come
 from b2 (fun!).

 Since Opera now uses Chromium, I'd be curious if `$is_opera` related
 conditionals throughout core can be removed in favor of `$is_chrome`.
 Differences in the browser's behaviors should be looked into, though.

 For reference, here is the [https://help.opera.com/en/opera-version-
 history/#uas official documentation for the Opera's user agent].

 @brasofilo are you interested in creating a patch for this?

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


More information about the wp-trac mailing list