WordPress.org

Make WordPress Core

Opened 20 months ago

Last modified 13 months 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:
PR Number:

Description

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.


13 months ago

Note: See TracTickets for help on using tickets.