Make WordPress Core

Opened 4 years ago

Last modified 3 years ago

#43424 new enhancement

Use access modifiers in POMO library

Reported by: SergeyBiryukov Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: I18N Keywords:
Focuses: Cc:


Background: #22234, #42803.

Most of class methods and properties in WordPress core have proper access modifiers now.

The POMO library was left out of these changes at the time, see comment:16:ticket:22234.

Newer commits do have the proper modifiers though: [38961], [39591], [41722], so I guess the older code should be updated as well for consistency. It's a standalone library, but not really an external one and can be modified as needed.

Change History (1)

This ticket was mentioned in Slack in #core-php by sergey. View the logs.

3 years ago

Note: See TracTickets for help on using tickets.