diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 33298e1..fc3d213 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -77,12 +77,12 @@ "source": { "type": "git", "url": "https://github.com/RRZE-Webteam/FAU-Studium-Common.git", - "reference": "6778151d29312f720e02692dfdb6f314b62c0863" + "reference": "578db6d1c49126600bfb57cec13d4a28ffd73f5a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/RRZE-Webteam/FAU-Studium-Common/zipball/6778151d29312f720e02692dfdb6f314b62c0863", - "reference": "6778151d29312f720e02692dfdb6f314b62c0863", + "url": "https://api.github.com/repos/RRZE-Webteam/FAU-Studium-Common/zipball/578db6d1c49126600bfb57cec13d4a28ffd73f5a", + "reference": "578db6d1c49126600bfb57cec13d4a28ffd73f5a", "shasum": "" }, "require": { @@ -104,7 +104,7 @@ "suggest": { "inpsyde/modularity": "Modular PSR-11 implementation for WordPress Plugins, Themes or Libraries" }, - "time": "2023-08-02T13:58:54+00:00", + "time": "2023-11-22T07:00:31+00:00", "default-branch": true, "type": "library", "installation-source": "dist", @@ -155,17 +155,17 @@ }, { "name": "inpsyde/modularity", - "version": "1.7.1", - "version_normalized": "1.7.1.0", + "version": "1.7.2", + "version_normalized": "1.7.2.0", "source": { "type": "git", "url": "https://github.com/inpsyde/modularity.git", - "reference": "20f81d9ba04c209f70c2fbda02001ac0a11d2230" + "reference": "43f4b3a7c8fbb585a44fb7a619e2546b338a8934" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/inpsyde/modularity/zipball/20f81d9ba04c209f70c2fbda02001ac0a11d2230", - "reference": "20f81d9ba04c209f70c2fbda02001ac0a11d2230", + "url": "https://api.github.com/repos/inpsyde/modularity/zipball/43f4b3a7c8fbb585a44fb7a619e2546b338a8934", + "reference": "43f4b3a7c8fbb585a44fb7a619e2546b338a8934", "shasum": "" }, "require": { @@ -182,7 +182,7 @@ "phpunit/phpunit": "^8.5.21 || ^9.6.7", "vimeo/psalm": "^4.13.1" }, - "time": "2023-07-03T15:52:53+00:00", + "time": "2023-11-16T11:19:47+00:00", "type": "library", "extra": { "branch-alias": { @@ -220,7 +220,7 @@ "description": "Modular PSR-11 implementation for WordPress plugins, themes or libraries.", "support": { "issues": "https://github.com/inpsyde/modularity/issues", - "source": "https://github.com/inpsyde/modularity/tree/1.7.1" + "source": "https://github.com/inpsyde/modularity/tree/1.7.2" }, "install-path": "../inpsyde/modularity" }, diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 8f4bf96..41a7ed3 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -3,7 +3,7 @@ 'name' => 'inpsyde/fau-degree-program-output', 'pretty_version' => 'dev-main', 'version' => 'dev-main', - 'reference' => 'b0d04730d9ad95d325a02160730ea75faf6bd02f', + 'reference' => '40e43a937956a53793e3302718785dc2413c5ec2', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -22,7 +22,7 @@ 'inpsyde/fau-degree-program-common' => array( 'pretty_version' => 'dev-main', 'version' => 'dev-main', - 'reference' => '6778151d29312f720e02692dfdb6f314b62c0863', + 'reference' => '578db6d1c49126600bfb57cec13d4a28ffd73f5a', 'type' => 'library', 'install_path' => __DIR__ . '/../inpsyde/fau-degree-program-common', 'aliases' => array( @@ -33,16 +33,16 @@ 'inpsyde/fau-degree-program-output' => array( 'pretty_version' => 'dev-main', 'version' => 'dev-main', - 'reference' => 'b0d04730d9ad95d325a02160730ea75faf6bd02f', + 'reference' => '40e43a937956a53793e3302718785dc2413c5ec2', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => false, ), 'inpsyde/modularity' => array( - 'pretty_version' => '1.7.1', - 'version' => '1.7.1.0', - 'reference' => '20f81d9ba04c209f70c2fbda02001ac0a11d2230', + 'pretty_version' => '1.7.2', + 'version' => '1.7.2.0', + 'reference' => '43f4b3a7c8fbb585a44fb7a619e2546b338a8934', 'type' => 'library', 'install_path' => __DIR__ . '/../inpsyde/modularity', 'aliases' => array(), diff --git a/vendor/inpsyde/fau-degree-program-common/src/Infrastructure/Content/PostType/DegreeProgramPostType.php b/vendor/inpsyde/fau-degree-program-common/src/Infrastructure/Content/PostType/DegreeProgramPostType.php index 924c9b4..95ae46d 100644 --- a/vendor/inpsyde/fau-degree-program-common/src/Infrastructure/Content/PostType/DegreeProgramPostType.php +++ b/vendor/inpsyde/fau-degree-program-common/src/Infrastructure/Content/PostType/DegreeProgramPostType.php @@ -73,6 +73,11 @@ private static function labels(): array 'backoffice: post type label', 'fau-degree-program-common' ), + 'add_new' => _x( + 'Add New Degree Program', + 'backoffice: post type label', + 'fau-degree-program-common' + ), 'add_new_item' => _x( 'Add New Degree Program', 'backoffice: post type label', diff --git a/vendor/inpsyde/fau-degree-program-common/src/Infrastructure/Repository/WordPressDatabaseDegreeProgramViewRepository.php b/vendor/inpsyde/fau-degree-program-common/src/Infrastructure/Repository/WordPressDatabaseDegreeProgramViewRepository.php index 7854eb0..f1d4c0f 100644 --- a/vendor/inpsyde/fau-degree-program-common/src/Infrastructure/Repository/WordPressDatabaseDegreeProgramViewRepository.php +++ b/vendor/inpsyde/fau-degree-program-common/src/Infrastructure/Repository/WordPressDatabaseDegreeProgramViewRepository.php @@ -23,6 +23,7 @@ use Fau\DegreeProgram\Common\Domain\DegreeProgramRepository; use Fau\DegreeProgram\Common\Domain\Image; use Fau\DegreeProgram\Common\Domain\MultilingualString; +use Fau\DegreeProgram\Common\Infrastructure\Content\PostType\DegreeProgramPostType; use Fau\DegreeProgram\Common\Infrastructure\Sanitizer\HtmlDegreeProgramSanitizer; use RuntimeException; use WP_Post; @@ -299,10 +300,14 @@ private function relatedDegreeProgram(WP_Post $post, string $languageCode): Rela true ), home_url( - (string) get_post_meta( - $post->ID, - BilingualRepository::addEnglishSuffix('post_name'), - true + sprintf( + '%s/%s', + DegreeProgramPostType::KEY, + (string) get_post_meta( + $post->ID, + BilingualRepository::addEnglishSuffix('post_name'), + true + ) ) ), ); diff --git a/vendor/inpsyde/modularity/src/Properties/ThemeProperties.php b/vendor/inpsyde/modularity/src/Properties/ThemeProperties.php index c1bdf05..b620609 100644 --- a/vendor/inpsyde/modularity/src/Properties/ThemeProperties.php +++ b/vendor/inpsyde/modularity/src/Properties/ThemeProperties.php @@ -26,15 +26,15 @@ class ThemeProperties extends BaseProperties */ protected const HEADERS = [ self::PROP_AUTHOR => 'Author', - self::PROP_AUTHOR_URI => 'Author URI', + self::PROP_AUTHOR_URI => 'AuthorURI', self::PROP_DESCRIPTION => 'Description', - self::PROP_DOMAIN_PATH => 'Domain Path', - self::PROP_NAME => 'Theme Name', - self::PROP_TEXTDOMAIN => 'Text Domain', - self::PROP_URI => 'Theme URI', + self::PROP_DOMAIN_PATH => 'DomainPath', + self::PROP_NAME => 'Name', + self::PROP_TEXTDOMAIN => 'TextDomain', + self::PROP_URI => 'ThemeURI', self::PROP_VERSION => 'Version', - self::PROP_REQUIRES_WP => 'Requires at least', - self::PROP_REQUIRES_PHP => 'Requires PHP', + self::PROP_REQUIRES_WP => 'RequiresWP', + self::PROP_REQUIRES_PHP => 'RequiresPHP', // additional headers self::PROP_STATUS => 'Status',