[wp-trac] [WordPress Trac] #45668: The (new) determine_locale() may throw a notice

WordPress Trac noreply at wordpress.org
Mon Dec 17 07:46:32 UTC 2018


#45668: The (new) determine_locale() may throw a notice
----------------------------+---------------------
 Reporter:  azaozz          |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  5.0.2
Component:  Administration  |     Version:  5.0
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+---------------------

Comment (by azaozz):

 Introduced in [43776]. An `! empty( $GLOBALS['pagenow'] )` check would
 probably fix it.

 Setting to 5.0.2 as a notice would break any JS output.

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


More information about the wp-trac mailing list