Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#50881 closed defect (bug) (fixed)

Add a class_exists() check to Plural_Forms class

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.6 Priority: normal
Severity: normal Version:
Component: I18N Keywords:
Focuses: Cc:


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 Rosetta network.

Change History (1)

#1 @SergeyBiryukov
4 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 48769:

I18N: Add a class_exists() check to Plural_Forms class for consistency with other POMO library classes.

Follow-up to [41722].

Fixes #50881.

Note: See TracTickets for help on using tickets.