[wp-trac] [WordPress Trac] #50881: Add a class_exists() check to Plural_Forms class

WordPress Trac noreply at wordpress.org
Mon Aug 10 11:28:18 UTC 2020


#50881: Add a class_exists() check to Plural_Forms class
----------------------------+--------------------
 Reporter:  SergeyBiryukov  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  5.6
Component:  I18N            |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+--------------------
 Background: #41562

 Unlike other POMO classes, `Plural_Forms` introduced in [41722] doesn't
 have a `class_exists()` check.

 This is causing issues when multiple versions of the library are included
 side by side, e.g. on WordPress.org Rosetta network.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50881>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list