I found that the language_load function is still used throughout core even though it is deprecated. Searching through the codebase shows me that there are about 58 uses of language_load in core. The function has a suggested bit of code that can be used as a replacement so why not use that to fix the deprecated code.

CommentFileSizeAuthor
#1 2182133_1.patch20.89 KBcosmicdreams
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cosmicdreams’s picture

FileSize
20.89 KB
cosmicdreams’s picture

Status: Active » Needs review
ianthomas_uk’s picture

ianthomas_uk’s picture

On second thoughts, this isn't a great candidate for the script

ianthomas_uk’s picture

Status: Needs review » Closed (duplicate)