WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21319, comment 3


Ignore:
Timestamp:
07/20/2012 07:26:27 AM (9 years ago)
Author:
nbachiyski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21319, comment 3

    initial v1  
    88
    99I am not a big fan of the micro-optimization.  First, it makes {{{get_translations_for_domain()}}} harder to read and inverses the logic there. The most common case: {{{return $l10n[ $domain ];}}} is buried in the middle of the function deeper intended than the rest of the function. Second, we usually have just a handful of textdomains and the noop class is very small, so I don't see the point.
    10 
    11 I