User tests: Successful: Unsuccessful:
Currently, in the com_fields views the language files for the components are only loaded from the global language folder. However the components may also have them in their own language folder.
Adjusts the loading of language files to also have a look in the components language folder.
None
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_fields |
Would not it be important to add null, false, true ?
Those are the default values of the method anyway (https://github.com/joomla/joomla-cms/blob/staging/libraries/joomla/language/language.php#L707), so they can be omitted. It just doesn't matter.
public function load($extension = 'joomla', $basePath = JPATH_BASE, $lang = null, $reload = false, $default = true)
But the JPath::clean() could be added indeed. I can do that later.
I have tested this item
I have tested this item
Labels |
Added:
?
|
Added JPath::clean() to be consistent with other places. It shouldn't change anything.
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC as Cleaning the path has no impact on former tests.
@rdeutz can be merged
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-01-26 12:30:09 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
Elsewhere in core we have:
Would not it be important to add
null, false, true
?