Skip to content

Commit 7c78a09

Browse files
committed
Merge remote-tracking branch 'joomla/4.4-dev' into 5.1/upmerge/2024-02-27
2 parents 8c7a7f0 + 3277eb8 commit 7c78a09

File tree

20 files changed

+29
-22
lines changed

20 files changed

+29
-22
lines changed

administrator/components/com_finder/src/Indexer/Token.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,9 @@ public function __construct($term, $lang, $spacer = ' ')
144144
// Tokens can be a single word or an array of words representing a phrase.
145145
if (\is_array($term)) {
146146
// Populate the token instance.
147+
$langs = array_fill(0, count($term), $lang);
147148
$this->term = implode($spacer, $term);
148-
$this->stem = implode($spacer, array_map([Helper::class, 'stem'], $term, [$lang]));
149+
$this->stem = implode($spacer, array_map([Helper::class, 'stem'], $term, $langs));
149150
$this->numeric = false;
150151
$this->common = false;
151152
$this->phrase = true;

administrator/components/com_tags/tmpl/tags/emptystate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
$displayData = [
1616
'textPrefix' => 'COM_TAGS',
1717
'formURL' => 'index.php?option=com_tags&task=tag.add',
18-
'helpURL' => 'https://docs.joomla.org/Special:MyLanguage/J3.x:How_To_Use_Content_Tags_in_Joomla!',
18+
'helpURL' => 'https://docs.joomla.org/Special:MyLanguage/J4.x:How_To_Use_Content_Tags_in_Joomla',
1919
'icon' => 'icon-tags tags',
2020
];
2121

administrator/components/com_users/src/Controller/MethodController.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -385,9 +385,6 @@ public function save($cachable = false, $urlparams = []): void
385385
$url = Route::_($nonSefUrl, false);
386386
$this->setRedirect($url, $record->getError(), 'error');
387387

388-
// Method updated, destroy other active sessions
389-
UserHelper::destroyUserSessions($userId, true);
390-
391388
return;
392389
}
393390

administrator/components/com_users/src/Controller/UserController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ public function save($key = null, $urlVar = null)
118118
}
119119

120120
// If a user has to renew a password but has no permission for users
121-
if (!$this->app->getIdentity()->authorise('core.admin', 'com_users')) {
122-
$this->setRedirect('index.php');
121+
if ($task === 'save' && !$this->app->getIdentity()->authorise('core.manage', 'com_users')) {
122+
$this->setRedirect(Uri::base());
123123
}
124124

125125
return $result;

administrator/language/en-GB/lib_joomla.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ JLIB_FORM_SELECT_USER="Select a User"
347347
JLIB_FORM_VALIDATE_FIELD_INVALID="Invalid field: %s"
348348
JLIB_FORM_VALIDATE_FIELD_REQUIRED="Field required: %s"
349349
JLIB_FORM_VALIDATE_FIELD_RULE_MISSING="Validation Rule missing: %s"
350+
JLIB_FORM_VALIDATE_FIELD_URL_INJECTION_DETECTED="Invalid URL: A code injection has been detected in %1$s."
350351
JLIB_FORM_VALIDATE_FIELD_URL_SCHEMA_MISSING="Invalid URL: URL schema is missing in %1$s. Please add one of the following at the beginning: %2$s."
351352
JLIB_FORM_VALIDATE_FIELD_URL_INJECTION_DETECTED="Invalid URL: A code injection has been detected in %1$s."
352353
JLIB_FORM_VALUE_CACHE_APCU="APC User Cache"

administrator/modules/mod_feed/tmpl/default.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
</h2>
5757
<?php endif;
5858
// Feed date
59-
if ($params->get('rssdate', 1)) : ?>
59+
if ($params->get('rssdate', 1) && ($feed->publishedDate !== null)) : ?>
6060
<h3>
6161
<?php echo HTMLHelper::_('date', $feed->publishedDate, Text::_('DATE_FORMAT_LC3')); ?>
6262
</h3>
@@ -93,7 +93,7 @@
9393
<h5 class="feed-link"><?php echo trim($feed[$i]->title); ?></h5>
9494
<?php endif; ?>
9595

96-
<?php if ($params->get('rssitemdate', 0)) : ?>
96+
<?php if ($params->get('rssitemdate', 0) && $feed[$i]->publishedDate !== null) : ?>
9797
<div class="feed-item-date">
9898
<?php echo HTMLHelper::_('date', $feed[$i]->publishedDate, Text::_('DATE_FORMAT_LC3')); ?>
9999
</div>

build/media_source/legacy/js/toolbar.es5.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Joomla = window.Joomla || {};
4343
// Handle Help buttons
4444
document.querySelectorAll('.js-toolbar-help-btn').forEach((button) => {
4545
button.addEventListener('click', (event) => {
46-
const btn = event.target;
46+
const btn = event.currentTarget;
4747
const winprops = `height=${parseInt(btn.dataset.height, 10)},width=${parseInt(btn.dataset.width, 10)},top=${(window.innerHeight - parseInt(btn.dataset.height, 10)) / 2},`
4848
+ `left=${(window.innerWidth - parseInt(btn.dataset.width, 10)) / 2},scrollbars=${btn.dataset.width === 'true'},resizable`;
4949

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

installation/language/eu-ES/joomla.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ JGLOBAL_SELECT_NO_RESULTS_MATCH="Ez dago bat datorren emaitzarik"
211211
JGLOBAL_SELECT_SOME_OPTIONS="Hautatu zenbait aukera"
212212
JHIDEPASSWORD="Ezkutatu Pasahitza"
213213
JINVALID_TOKEN="Azken eskaera ukatua izan da, segurtasun-token baliogabe bat zeukalako. Mesedez, freskatu orria eta saiatu berriro."
214-
JINVALID_TOKEN_NOTICE="Segurtasun tokena ez dator bat. Eskaera abortatu egin da segurtasun haustura saihesteko. Saiatu berriro, mesedez."
214+
JINVALID_TOKEN_NOTICE="Segurtasun-tokena ez dator bat. Eskaera abortatu egin da segurtasunarekin arazoak saihesteko. Saiatu berriro, mesedez."
215215
JNEXT="Hurrengoa"
216216
JNO="Ez"
217217
JNOTICE="Oharra"

installation/language/fr-FR/joomla.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ INSTL_SETUP_LOGIN_DATA="Configuration des données de connexion"
3131
INSTL_WARNJAVASCRIPT="Attention, JavaScript doit être activé pour une installation correcte de Joomla."
3232
INSTL_WARNJSON="JSON doit être activé sur le serveur PHP pour pouvoir installer Joomla."
3333
; Precheck view
34-
INSTL_DATABASE_SUPPORT="Bases de données supportées :"
34+
INSTL_DATABASE_SUPPORT="Bases de données prises en charge :"
3535
INSTL_JSON_SUPPORT_AVAILABLE="Support JSON"
3636
INSTL_MB_LANGUAGE_IS_DEFAULT="Directive Mbstring langage par défaut"
3737
; Deprecated, will be removed with 6.0

0 commit comments

Comments
 (0)