Skip to content

Commit 980d98a

Browse files
committed
Merge remote-tracking branch 'upstream/5.4-dev' into upmerges/2025-07-23
2 parents 4aca381 + e1543c9 commit 980d98a

File tree

23 files changed

+74
-96
lines changed

23 files changed

+74
-96
lines changed

.github/workflows/typos.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ crypted="crypted" # Used in MD5Handler
2828
datas="datas" # Used in showon.es6.js
2929
deactive="deactive" # Used in searchtools.es6.js
3030
exept="exept" # Used in El.php Greek language stemmer
31-
fof="fof" # To be fixed - outdated code comment in com_postinstall
3231
Formater="Formater" # Used in AbstractDataCollector of debug plugin
3332
hel="hel" # Variable name in MenusHelper
3433
identicals="identicals" # administrator\components\com_templates\tmpl\template\default.php

administrator/components/com_joomlaupdate/src/Model/UpdateModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ public function changeAutoUpdateRegistration(AutoupdateRegisterState $targetStat
632632
($targetState === AutoupdateRegisterState::Subscribe)
633633
? AutoupdateRegisterState::Subscribed
634634
: AutoupdateRegisterState::Unsubscribed,
635-
($targetState === AutoupdateRegisterState::Unsubscribed)
635+
($targetState === AutoupdateRegisterState::Subscribe)
636636
);
637637

638638
return AutoupdateRegisterResultState::Success;

administrator/components/com_postinstall/src/Model/MessagesModel.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,8 +508,7 @@ public function getComponentOptions()
508508
* enabled Must be 1 for this message to be enabled. If you omit it, it defaults to 1.
509509
*
510510
* condition_file The RAD path to a PHP file containing a PHP function which determines whether this message should be shown to
511-
* the user. @see FOFTemplateUtils::parsePath() for RAD path format. Joomla! will include this file before calling
512-
* the condition_method.
511+
* the user. Joomla! will include this file before calling the condition_method.
513512
* Example: admin://components/com_foobar/helpers/postinstall.php
514513
*
515514
* condition_method The name of a PHP function which will be used to determine whether to show this message to the user. This must be

administrator/modules/mod_menu/services/provider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* The administrator menu module service provider.
2020
*
21-
* @since 6.0.0
21+
* @since 5.4.0
2222
*/
2323
return new class () implements ServiceProviderInterface {
2424
/**
@@ -28,7 +28,7 @@
2828
*
2929
* @return void
3030
*
31-
* @since 6.0.0
31+
* @since 5.4.0
3232
*/
3333
public function register(Container $container)
3434
{

administrator/modules/mod_menu/src/Dispatcher/Dispatcher.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/**
2121
* Dispatcher class for mod_menu
2222
*
23-
* @since 6.0.0
23+
* @since 5.4.0
2424
*/
2525
class Dispatcher extends AbstractModuleDispatcher
2626
{
@@ -29,7 +29,7 @@ class Dispatcher extends AbstractModuleDispatcher
2929
*
3030
* @return array
3131
*
32-
* @since 6.0.0
32+
* @since 5.4.0
3333
*/
3434
protected function getLayoutData()
3535
{

build/media_source/plg_system_stats/js/stats-message.es6.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,6 @@ Joomla = window.Joomla || {};
2525
const initStatsEvents = (callback) => {
2626
const messageContainer = document.getElementById('system-message-container');
2727
const joomlaAlert = messageContainer.querySelector('.js-pstats-alert');
28-
const detailsContainer = messageContainer.querySelector('#js-pstats-data-details');
29-
30-
// Show details about the information being sent
31-
document.addEventListener('click', (event) => {
32-
if (event.target.classList.contains('js-pstats-btn-details')) {
33-
event.preventDefault();
34-
detailsContainer.classList.toggle('d-none');
35-
}
36-
});
3728

3829
// Always allow
3930
document.addEventListener('click', (event) => {

build/media_source/plg_system_stats/js/stats.es6.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,16 @@
77
'use strict';
88

99
// Selectors used by this script
10-
const statsDataTogglerId = 'js-pstats-data-details-toggler';
11-
const statsDataDetailsId = 'js-pstats-data-details';
1210
const resetId = 'js-pstats-reset-uid';
1311
const uniqueIdFieldId = 'jform_params_unique_id';
1412

15-
const onToggle = (event) => {
16-
event.preventDefault();
17-
const element = document.getElementById(statsDataDetailsId);
18-
19-
if (element) {
20-
element.classList.toggle('d-none');
21-
}
22-
};
23-
2413
const onReset = (event) => {
2514
event.preventDefault();
2615
document.getElementById(uniqueIdFieldId).value = '';
2716
Joomla.submitbutton('plugin.apply');
2817
};
2918

3019
const onBoot = () => {
31-
// Toggle stats details
32-
const toggler = document.getElementById(statsDataTogglerId);
33-
if (toggler) {
34-
toggler.addEventListener('click', onToggle);
35-
}
36-
3720
// Reset the unique id
3821
const reset = document.getElementById(resetId);
3922
if (reset) {

build/media_source/system/js/core.es6.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ const DefaultAllowlist = {
5353
select: ['name'],
5454
textarea: ['name'],
5555
option: ['value', 'selected'],
56+
details: ['open'],
57+
summary: [],
5658
};
5759

5860
// Only define the Joomla namespace if not defined.

libraries/src/Object/LegacyErrorHandlingTrait.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ trait LegacyErrorHandlingTrait
4040
* Use exceptions rather than getError/setError.
4141
*
4242
* @var boolean
43-
* @since 6.0.0
43+
* @since 5.4.0
4444
* @deprecated 7.0
4545
*/
4646
private bool $useExceptions = false;
@@ -123,7 +123,7 @@ public function setError($error)
123123
*
124124
* @return boolean
125125
*
126-
* @since 6.0.0
126+
* @since 5.4.0
127127
* @deprecated 7.0
128128
*/
129129
public function shouldUseExceptions(): bool
@@ -138,7 +138,7 @@ public function shouldUseExceptions(): bool
138138
*
139139
* @return void
140140
*
141-
* @since 6.0.0
141+
* @since 5.4.0
142142
* @deprecated 7.0
143143
*/
144144
public function setUseExceptions(bool $value): void

libraries/src/Table/CoreContent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ public function store($updateNulls = true)
258258
* @return boolean True on success.
259259
*
260260
* @since 3.1
261-
* @deprecated 6.0.0 will be removed in 7.0 without replacement
261+
* @deprecated 5.4.0 will be removed in 7.0 without replacement
262262
*/
263263
protected function storeUcmBase($updateNulls = true, $isNew = false)
264264
{

0 commit comments

Comments
 (0)