[wp-trac] [WordPress Trac] #43424: Use access modifiers in POMO library

WordPress Trac noreply at wordpress.org
Mon Feb 26 20:12:53 UTC 2018


#43424: Use access modifiers in POMO library
----------------------------+-----------------------------
 Reporter:  SergeyBiryukov  |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  I18N            |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 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.

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


More information about the wp-trac mailing list