[wp-trac] [WordPress Trac] #51123: commonL10n removed without deprecation notice or backwards compatibility

WordPress Trac noreply at wordpress.org
Mon Aug 24 16:49:14 UTC 2020


#51123: commonL10n removed without deprecation notice or backwards compatibility
---------------------------+------------------------------
 Reporter:  kbjohnson90    |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Script Loader  |     Version:  5.5
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  javascript
---------------------------+------------------------------

Comment (by TimothyBlynJacobs):

 Replying to [comment:1 johnbillion]:
 > I wonder if there's a way we can lazily proxy these variables to their
 `__()` equivalent in the future.

 I think we might be able to use [https://developer.mozilla.org/en-
 US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty
 Object.defineProperty] with a `get()` function that would proxy.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51123#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list