Change record status: 
Project: 
Introduced in branch: 
8.x
Description: 

We removed the $property argument from language_default() since you can just use the property of the returned object directly in PHP 5, which is required anyway.

Before:

  $name = language_default('name');

After (which was possible before, but now is the only way):

  $name = language_default()->name;
Impacts: 
Module developers