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

WordPress Trac noreply at wordpress.org
Thu Jul 13 00:56:34 UTC 2023


#46132: Opera changed its render engine to Chrome, $is_opera not working
--------------------------+----------------------------
 Reporter:  brasofilo     |       Owner:  peterwilsoncc
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.3
Component:  General       |     Version:  2.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+----------------------------
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56224" 56224]:
 {{{
 #!CommitTicketReference repository="" revision="56224"
 General: Update Opera browser sniff follow UA string changes.

 Since switching to the Blink engine, Opera browsers contain both the
 strings `Chrome` and `OPR\`. This change relocates the Opera test to take
 place before the Chrome test to ensure the correct browser is detected.

 Props brasofilo, desrosj, costdev, mukesh27, swissspidy.
 Fixes #46132.
 }}}

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


More information about the wp-trac mailing list