[wp-trac] [WordPress Trac] #57427: WP_Locale doesn't initialize property arrays before using them

WordPress Trac noreply at wordpress.org
Fri Jan 6 10:06:50 UTC 2023


#57427: WP_Locale doesn't initialize property arrays before using them
--------------------------+------------------------------
 Reporter:  tyxla         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:  6.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by tyxla):

 Here's a patch that adds default values to all array properties of
 `WP_Locale`:

 https://github.com/WordPress/wordpress-develop/pull/3824

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


More information about the wp-trac mailing list