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

WordPress Trac noreply at wordpress.org
Tue Aug 25 17:32:29 UTC 2020


#51123: commonL10n removed without backwards compatibility
---------------------------+-----------------------------
 Reporter:  kbjohnson90    |       Owner:  SergeyBiryukov
     Type:  defect (bug)   |      Status:  reviewing
 Priority:  normal         |   Milestone:  5.5.1
Component:  Script Loader  |     Version:  5.5
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  javascript
---------------------------+-----------------------------

Comment (by TimothyBlynJacobs):

 Why `__defineGetter__` instead of `defineProperty`? It seems like the
 former isn't encouraged, at least [https://developer.mozilla.org/en-
 US/docs/Web/JavaScript/Reference/Global_Objects/Object/__defineGetter__
 according to mdn].

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


More information about the wp-trac mailing list