Open joomlapl-bot opened 1 month ago
PR w związku ze zmianą oryginału https://github.com/joomla/joomla-cms/pull/44348 Poniżej zmiany w oryginale:
PR w związku ze zmianą oryginału https://github.com/joomla/joomla-cms/pull/44348 Poniżej zmiany w oryginale:
Click to expand the diff!
```diff diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d659b92ed8779..bb3d40090994f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -6,7 +6,6 @@ plugins/content/finder/* @hackwar plugins/finder/* @hackwar # Release Tools -build.xml @fancyFranci build/build.php @rdeutz build/bump.php @rdeutz build/deleted_file_check.php @rdeutz @@ -17,12 +16,12 @@ libraries/src/Installer/* @rdeutz libraries/src/Updater/* @rdeutz # Automated Testing -tests/* @hackwar @fancyFranci -tests/Unit/* @rdeutz @fancyFranci -.appveyor.yml @rdeutz @hackwar @fancyFranci -.drone.yml @rdeutz @hackwar @fancyFranci -phpunit.xml.dist @rdeutz @hackwar @fancyFranci -phpunit-pgsql.xml.dist @rdeutz @hackwar @fancyFranci +tests/* @hackwar @laoneo +tests/Unit/* @rdeutz @laoneo +.appveyor.yml @rdeutz @hackwar @laoneo +.drone.yml @rdeutz @hackwar @laoneo +phpunit.xml.dist @rdeutz @hackwar @laoneo +phpunit-pgsql.xml.dist @rdeutz @hackwar @laoneo # Workflow administrator/components/com_workflow/* @bembelimen @hleithner diff --git a/README.md b/README.md index 421c03175675b..e4fa750e4bf32 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,11 @@ Joomla! CMS™ ==================== -The Joomla! 5.2 branch is under heavy development and not all links in this document are available yet ------------------------------------------------------------------------------------------------------- - Build Status | Drone-CI | AppVeyor | PHP | Node | npm | |------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|---------------------------------------------------------------------------------| -| [![Build Status](https://ci.joomla.org/api/badges/joomla/joomla-cms/status.svg?branch=5.2-dev)](https://ci.joomla.org/joomla/joomla-cms) | [![Build status](https://ci.appveyor.com/api/projects/status/ru6sxal8jmfckvjc/branch/5.2-dev?svg=true)](https://ci.appveyor.com/project/release-joomla/joomla-cms) | [![PHP](https://img.shields.io/badge/PHP-V8.1.0-green)](https://www.php.net/) | [![node-lts](https://img.shields.io/badge/Node-V18.0-green)](https://nodejs.org/en/) | [![npm](https://img.shields.io/badge/npm-v9.6.7-green)](https://nodejs.org/en/) | +| [![Build Status](https://ci.joomla.org/api/badges/joomla/joomla-cms/status.svg?branch=5.2-dev)](https://ci.joomla.org/joomla/joomla-cms) | [![Build status](https://ci.appveyor.com/api/projects/status/ru6sxal8jmfckvjc/branch/5.2-dev?svg=true)](https://ci.appveyor.com/project/release-joomla/joomla-cms) | [![PHP](https://img.shields.io/badge/PHP-V8.1.0-green)](https://www.php.net/) | [![node-lts](https://img.shields.io/badge/Node-V20.0-green)](https://nodejs.org/en/) | [![npm](https://img.shields.io/badge/npm-v10.1.0-green)](https://nodejs.org/en/) | Overview --------------------- diff --git a/README.txt b/README.txt index 8f117f87ea4c2..b8bc56e931a43 100644 --- a/README.txt +++ b/README.txt @@ -1,8 +1,5 @@ Joomla! CMS™ -The Joomla! 5.2 branch is under heavy development and not all links in this document are available yet ------------------------------------------------------------------------------------------------------- - 1- Overview * This is a Joomla! 5.x installation/upgrade package. * Joomla! Official site: https://www.joomla.org diff --git a/administrator/components/com_admin/sql/updates/mysql/5.2.0-2024-09-24.sql b/administrator/components/com_admin/sql/updates/mysql/5.2.0-2024-09-24.sql new file mode 100644 index 0000000000000..1592aba38893f --- /dev/null +++ b/administrator/components/com_admin/sql/updates/mysql/5.2.0-2024-09-24.sql @@ -0,0 +1,7 @@ +UPDATE `#__assets` SET `title` = 'PUBLISH' WHERE `name` LIKE 'com_content.transition.%' AND `title` = 'Publish'; +UPDATE `#__assets` SET `title` = 'UNPUBLISH' WHERE `name` LIKE 'com_content.transition.%' AND `title` = 'Unpublish'; +UPDATE `#__assets` SET `title` = 'TRASH' WHERE `name` LIKE 'com_content.transition.%' AND `title` = 'Trash'; +UPDATE `#__assets` SET `title` = 'ARCHIVE' WHERE `name` LIKE 'com_content.transition.%' AND `title` = 'Archive'; +UPDATE `#__assets` SET `title` = 'FEATURE' WHERE `name` LIKE 'com_content.transition.%' AND `title` = 'Feature'; +UPDATE `#__assets` SET `title` = 'UNFEATURE' WHERE `name` LIKE 'com_content.transition.%' AND `title` = 'Unfeature'; +UPDATE `#__assets` SET `title` = 'PUBLISH_AND_FEATURE' WHERE `name` LIKE 'com_content.transition.%' AND `title` = 'Publish & Feature'; diff --git a/administrator/components/com_admin/sql/updates/postgresql/5.2.0-2024-09-24.sql b/administrator/components/com_admin/sql/updates/postgresql/5.2.0-2024-09-24.sql new file mode 100644 index 0000000000000..8da7f706d58f6 --- /dev/null +++ b/administrator/components/com_admin/sql/updates/postgresql/5.2.0-2024-09-24.sql @@ -0,0 +1,7 @@ +UPDATE "#__assets" SET "title" = 'PUBLISH' WHERE "name" LIKE 'com_content.transition.%' AND "title" = 'Publish'; +UPDATE "#__assets" SET "title" = 'UNPUBLISH' WHERE "name" LIKE 'com_content.transition.%' AND "title" = 'Unpublish'; +UPDATE "#__assets" SET "title" = 'TRASH' WHERE "name" LIKE 'com_content.transition.%' AND "title" = 'Trash'; +UPDATE "#__assets" SET "title" = 'ARCHIVE' WHERE "name" LIKE 'com_content.transition.%' AND "title" = 'Archive'; +UPDATE "#__assets" SET "title" = 'FEATURE' WHERE "name" LIKE 'com_content.transition.%' AND "title" = 'Feature'; +UPDATE "#__assets" SET "title" = 'UNFEATURE' WHERE "name" LIKE 'com_content.transition.%' AND "title" = 'Unfeature'; +UPDATE "#__assets" SET "title" = 'PUBLISH_AND_FEATURE' WHERE "name" LIKE 'com_content.transition.%' AND "title" = 'Publish & Feature'; diff --git a/administrator/components/com_content/src/Model/FeaturedModel.php b/administrator/components/com_content/src/Model/FeaturedModel.php index 2f9893f99a4f1..a91926785134c 100644 --- a/administrator/components/com_content/src/Model/FeaturedModel.php +++ b/administrator/components/com_content/src/Model/FeaturedModel.php @@ -10,9 +10,9 @@ namespace Joomla\Component\Content\Administrator\Model; -// phpcs:disable PSR1.Files.SideEffects use Joomla\Database\QueryInterface; +// phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects diff --git a/administrator/components/com_menus/tmpl/items/default_batch_body.php b/administrator/components/com_menus/tmpl/items/default_batch_body.php index 71f9df278611b..266830db1368f 100644 --- a/administrator/components/com_menus/tmpl/items/default_batch_body.php +++ b/administrator/components/com_menus/tmpl/items/default_batch_body.php @@ -10,7 +10,6 @@ defined('_JEXEC') or die; -use Joomla\CMS\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Multilanguage; use Joomla\CMS\Language\Text; @@ -24,7 +23,6 @@ ]; $published = (int) $this->state->get('filter.published'); $clientId = (int) $this->state->get('filter.client_id'); -$menuType = Factory::getApplication()->getUserState('com_menus.items.menutype', ''); if ($clientId == 1) { /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ @@ -34,23 +32,22 @@ } ?>