[wp-trac] [WordPress Trac] #55297: The $is_edge global returns false.

WordPress Trac noreply at wordpress.org
Fri Mar 4 13:42:29 UTC 2022


#55297: The $is_edge global returns false.
-------------------------------------------------+-------------------------
 Reporter:  costdev                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.0
Component:  General                              |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-testing-info      |     Focuses:
  has-patch                                      |
-------------------------------------------------+-------------------------

Comment (by Boniu91):

 == Test Report

 === Env
 * WordPress 5.9 with patch applied
 * Edge 98.0.1108.62
 * Theme: Twenty Twenty One

 === Steps to test
 1. Added the following code to functions.php:
 {{{#!php
 global $is_edge;
 die( var_export( $is_edge, true ) );
 }}}
 2. Visited the page using Edge
 3. `true` is displayed

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


More information about the wp-trac mailing list