diff --git a/composer.lock b/composer.lock
index 8e7062f2..a2f9cc28 100644
--- a/composer.lock
+++ b/composer.lock
@@ -1333,30 +1333,30 @@
},
{
"name": "doctrine/instantiator",
- "version": "1.5.0",
+ "version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/instantiator.git",
- "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b"
+ "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b",
- "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b",
+ "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0",
+ "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0",
"shasum": ""
},
"require": {
- "php": "^7.1 || ^8.0"
+ "php": "^8.1"
},
"require-dev": {
- "doctrine/coding-standard": "^9 || ^11",
+ "doctrine/coding-standard": "^11",
"ext-pdo": "*",
"ext-phar": "*",
- "phpbench/phpbench": "^0.16 || ^1",
- "phpstan/phpstan": "^1.4",
- "phpstan/phpstan-phpunit": "^1",
- "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
- "vimeo/psalm": "^4.30 || ^5.4"
+ "phpbench/phpbench": "^1.2",
+ "phpstan/phpstan": "^1.9.4",
+ "phpstan/phpstan-phpunit": "^1.3",
+ "phpunit/phpunit": "^9.5.27",
+ "vimeo/psalm": "^5.4"
},
"type": "library",
"autoload": {
@@ -1383,7 +1383,7 @@
],
"support": {
"issues": "https://github.com/doctrine/instantiator/issues",
- "source": "https://github.com/doctrine/instantiator/tree/1.5.0"
+ "source": "https://github.com/doctrine/instantiator/tree/2.0.0"
},
"funding": [
{
@@ -1399,7 +1399,7 @@
"type": "tidelift"
}
],
- "time": "2022-12-30T00:15:36+00:00"
+ "time": "2022-12-30T00:23:10+00:00"
},
{
"name": "eftec/bladeone",
@@ -2571,31 +2571,31 @@
},
{
"name": "illuminate/collections",
- "version": "v9.52.16",
+ "version": "v10.33.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/collections.git",
- "reference": "d3710b0b244bfc62c288c1a87eaa62dd28352d1f"
+ "reference": "766a3b6c3e5c8011b037a147266dcf7f93b21223"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/collections/zipball/d3710b0b244bfc62c288c1a87eaa62dd28352d1f",
- "reference": "d3710b0b244bfc62c288c1a87eaa62dd28352d1f",
+ "url": "https://api.github.com/repos/illuminate/collections/zipball/766a3b6c3e5c8011b037a147266dcf7f93b21223",
+ "reference": "766a3b6c3e5c8011b037a147266dcf7f93b21223",
"shasum": ""
},
"require": {
- "illuminate/conditionable": "^9.0",
- "illuminate/contracts": "^9.0",
- "illuminate/macroable": "^9.0",
- "php": "^8.0.2"
+ "illuminate/conditionable": "^10.0",
+ "illuminate/contracts": "^10.0",
+ "illuminate/macroable": "^10.0",
+ "php": "^8.1"
},
"suggest": {
- "symfony/var-dumper": "Required to use the dump method (^6.0)."
+ "symfony/var-dumper": "Required to use the dump method (^6.2)."
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "9.x-dev"
+ "dev-master": "10.x-dev"
}
},
"autoload": {
@@ -2622,20 +2622,20 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2023-06-11T21:17:10+00:00"
+ "time": "2023-11-20T15:45:45+00:00"
},
{
"name": "illuminate/conditionable",
- "version": "v9.52.16",
+ "version": "v10.33.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/conditionable.git",
- "reference": "bea24daa0fa84b7e7b0d5b84f62c71b7e2dc3364"
+ "reference": "d0958e4741fc9d6f516a552060fd1b829a85e009"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/conditionable/zipball/bea24daa0fa84b7e7b0d5b84f62c71b7e2dc3364",
- "reference": "bea24daa0fa84b7e7b0d5b84f62c71b7e2dc3364",
+ "url": "https://api.github.com/repos/illuminate/conditionable/zipball/d0958e4741fc9d6f516a552060fd1b829a85e009",
+ "reference": "d0958e4741fc9d6f516a552060fd1b829a85e009",
"shasum": ""
},
"require": {
@@ -2644,7 +2644,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "9.x-dev"
+ "dev-master": "10.x-dev"
}
},
"autoload": {
@@ -2668,31 +2668,31 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2023-02-01T21:42:32+00:00"
+ "time": "2023-02-03T08:06:17+00:00"
},
{
"name": "illuminate/contracts",
- "version": "v9.52.16",
+ "version": "v10.33.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/contracts.git",
- "reference": "44f65d723b13823baa02ff69751a5948bde60c22"
+ "reference": "f6bf37a272fda164f6c451407c99f820eb1eb95b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/contracts/zipball/44f65d723b13823baa02ff69751a5948bde60c22",
- "reference": "44f65d723b13823baa02ff69751a5948bde60c22",
+ "url": "https://api.github.com/repos/illuminate/contracts/zipball/f6bf37a272fda164f6c451407c99f820eb1eb95b",
+ "reference": "f6bf37a272fda164f6c451407c99f820eb1eb95b",
"shasum": ""
},
"require": {
- "php": "^8.0.2",
+ "php": "^8.1",
"psr/container": "^1.1.1|^2.0.1",
"psr/simple-cache": "^1.0|^2.0|^3.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "9.x-dev"
+ "dev-master": "10.x-dev"
}
},
"autoload": {
@@ -2716,29 +2716,29 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2023-02-08T14:36:30+00:00"
+ "time": "2023-10-30T00:59:22+00:00"
},
{
"name": "illuminate/macroable",
- "version": "v9.52.16",
+ "version": "v10.33.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/macroable.git",
- "reference": "e3bfaf6401742a9c6abca61b9b10e998e5b6449a"
+ "reference": "dff667a46ac37b634dcf68909d9d41e94dc97c27"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/macroable/zipball/e3bfaf6401742a9c6abca61b9b10e998e5b6449a",
- "reference": "e3bfaf6401742a9c6abca61b9b10e998e5b6449a",
+ "url": "https://api.github.com/repos/illuminate/macroable/zipball/dff667a46ac37b634dcf68909d9d41e94dc97c27",
+ "reference": "dff667a46ac37b634dcf68909d9d41e94dc97c27",
"shasum": ""
},
"require": {
- "php": "^8.0.2"
+ "php": "^8.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "9.x-dev"
+ "dev-master": "10.x-dev"
}
},
"autoload": {
@@ -2762,20 +2762,20 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2022-08-09T13:29:29+00:00"
+ "time": "2023-06-05T12:46:42+00:00"
},
{
"name": "illuminate/support",
- "version": "v9.52.16",
+ "version": "v10.33.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/support.git",
- "reference": "223c608dbca27232df6213f776bfe7bdeec24874"
+ "reference": "f414b40d6149d6a4954f0abceacd1af2edf2d596"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/support/zipball/223c608dbca27232df6213f776bfe7bdeec24874",
- "reference": "223c608dbca27232df6213f776bfe7bdeec24874",
+ "url": "https://api.github.com/repos/illuminate/support/zipball/f414b40d6149d6a4954f0abceacd1af2edf2d596",
+ "reference": "f414b40d6149d6a4954f0abceacd1af2edf2d596",
"shasum": ""
},
"require": {
@@ -2783,30 +2783,30 @@
"ext-ctype": "*",
"ext-filter": "*",
"ext-mbstring": "*",
- "illuminate/collections": "^9.0",
- "illuminate/conditionable": "^9.0",
- "illuminate/contracts": "^9.0",
- "illuminate/macroable": "^9.0",
- "nesbot/carbon": "^2.62.1",
- "php": "^8.0.2",
+ "illuminate/collections": "^10.0",
+ "illuminate/conditionable": "^10.0",
+ "illuminate/contracts": "^10.0",
+ "illuminate/macroable": "^10.0",
+ "nesbot/carbon": "^2.67",
+ "php": "^8.1",
"voku/portable-ascii": "^2.0"
},
"conflict": {
"tightenco/collect": "<5.5.33"
},
"suggest": {
- "illuminate/filesystem": "Required to use the composer class (^9.0).",
+ "illuminate/filesystem": "Required to use the composer class (^10.0).",
"league/commonmark": "Required to use Str::markdown() and Stringable::markdown() (^2.0.2).",
"ramsey/uuid": "Required to use Str::uuid() (^4.7).",
- "symfony/process": "Required to use the composer class (^6.0).",
- "symfony/uid": "Required to use Str::ulid() (^6.0).",
- "symfony/var-dumper": "Required to use the dd function (^6.0).",
+ "symfony/process": "Required to use the composer class (^6.2).",
+ "symfony/uid": "Required to use Str::ulid() (^6.2).",
+ "symfony/var-dumper": "Required to use the dd function (^6.2).",
"vlucas/phpdotenv": "Required to use the Env class and env helper (^5.4.1)."
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "9.x-dev"
+ "dev-master": "10.x-dev"
}
},
"autoload": {
@@ -2833,7 +2833,7 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2023-06-11T21:11:53+00:00"
+ "time": "2023-11-20T20:29:51+00:00"
},
{
"name": "justinrainbow/json-schema",
@@ -2907,16 +2907,16 @@
},
{
"name": "lucatume/wp-browser",
- "version": "3.2.1",
+ "version": "3.2.2",
"source": {
"type": "git",
"url": "https://github.com/lucatume/wp-browser.git",
- "reference": "95a189fda634fd52cb44eebbbda3fabe0fdabdb2"
+ "reference": "88456c4d73ded85132c6bfa594f685a90952630c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/lucatume/wp-browser/zipball/95a189fda634fd52cb44eebbbda3fabe0fdabdb2",
- "reference": "95a189fda634fd52cb44eebbbda3fabe0fdabdb2",
+ "url": "https://api.github.com/repos/lucatume/wp-browser/zipball/88456c4d73ded85132c6bfa594f685a90952630c",
+ "reference": "88456c4d73ded85132c6bfa594f685a90952630c",
"shasum": ""
},
"require": {
@@ -3006,7 +3006,7 @@
],
"support": {
"issues": "https://github.com/lucatume/wp-browser/issues",
- "source": "https://github.com/lucatume/wp-browser/tree/3.2.1"
+ "source": "https://github.com/lucatume/wp-browser/tree/3.2.2"
},
"funding": [
{
@@ -3014,7 +3014,7 @@
"type": "github"
}
],
- "time": "2023-09-21T06:36:09+00:00"
+ "time": "2023-11-20T15:05:37+00:00"
},
{
"name": "mck89/peast",
@@ -3733,16 +3733,16 @@
},
{
"name": "php-webdriver/webdriver",
- "version": "1.15.0",
+ "version": "1.15.1",
"source": {
"type": "git",
"url": "https://github.com/php-webdriver/php-webdriver.git",
- "reference": "a1578689290055586f1ee51eaf0ec9d52895bb6d"
+ "reference": "cd52d9342c5aa738c2e75a67e47a1b6df97154e8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-webdriver/php-webdriver/zipball/a1578689290055586f1ee51eaf0ec9d52895bb6d",
- "reference": "a1578689290055586f1ee51eaf0ec9d52895bb6d",
+ "url": "https://api.github.com/repos/php-webdriver/php-webdriver/zipball/cd52d9342c5aa738c2e75a67e47a1b6df97154e8",
+ "reference": "cd52d9342c5aa738c2e75a67e47a1b6df97154e8",
"shasum": ""
},
"require": {
@@ -3751,7 +3751,7 @@
"ext-zip": "*",
"php": "^7.3 || ^8.0",
"symfony/polyfill-mbstring": "^1.12",
- "symfony/process": "^5.0 || ^6.0"
+ "symfony/process": "^5.0 || ^6.0 || ^7.0"
},
"replace": {
"facebook/webdriver": "*"
@@ -3793,9 +3793,9 @@
],
"support": {
"issues": "https://github.com/php-webdriver/php-webdriver/issues",
- "source": "https://github.com/php-webdriver/php-webdriver/tree/1.15.0"
+ "source": "https://github.com/php-webdriver/php-webdriver/tree/1.15.1"
},
- "time": "2023-08-29T13:52:26+00:00"
+ "time": "2023-10-20T12:21:20+00:00"
},
{
"name": "phpmd/phpmd",
@@ -5967,16 +5967,16 @@
},
{
"name": "symfony/browser-kit",
- "version": "v5.4.21",
+ "version": "v5.4.31",
"source": {
"type": "git",
"url": "https://github.com/symfony/browser-kit.git",
- "reference": "a866ca7e396f15d7efb6d74a8a7d364d4e05b704"
+ "reference": "0ed1f634a36606f2065eec221b3975e05016cbbe"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/browser-kit/zipball/a866ca7e396f15d7efb6d74a8a7d364d4e05b704",
- "reference": "a866ca7e396f15d7efb6d74a8a7d364d4e05b704",
+ "url": "https://api.github.com/repos/symfony/browser-kit/zipball/0ed1f634a36606f2065eec221b3975e05016cbbe",
+ "reference": "0ed1f634a36606f2065eec221b3975e05016cbbe",
"shasum": ""
},
"require": {
@@ -6019,7 +6019,7 @@
"description": "Simulates the behavior of a web browser, allowing you to make requests, click on links and submit forms programmatically",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/browser-kit/tree/v5.4.21"
+ "source": "https://github.com/symfony/browser-kit/tree/v5.4.31"
},
"funding": [
{
@@ -6035,42 +6035,39 @@
"type": "tidelift"
}
],
- "time": "2023-02-14T08:03:56+00:00"
+ "time": "2023-10-31T07:58:33+00:00"
},
{
"name": "symfony/config",
- "version": "v6.0.19",
+ "version": "v6.3.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/config.git",
- "reference": "db4fc45c24e0c3e2198e68ada9d7f90daa1f97e3"
+ "reference": "b7a63887960359e5b59b15826fa9f9be10acbe88"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/db4fc45c24e0c3e2198e68ada9d7f90daa1f97e3",
- "reference": "db4fc45c24e0c3e2198e68ada9d7f90daa1f97e3",
+ "url": "https://api.github.com/repos/symfony/config/zipball/b7a63887960359e5b59b15826fa9f9be10acbe88",
+ "reference": "b7a63887960359e5b59b15826fa9f9be10acbe88",
"shasum": ""
},
"require": {
- "php": ">=8.0.2",
- "symfony/deprecation-contracts": "^2.1|^3",
+ "php": ">=8.1",
+ "symfony/deprecation-contracts": "^2.5|^3",
"symfony/filesystem": "^5.4|^6.0",
- "symfony/polyfill-ctype": "~1.8",
- "symfony/polyfill-php81": "^1.22"
+ "symfony/polyfill-ctype": "~1.8"
},
"conflict": {
- "symfony/finder": "<4.4"
+ "symfony/finder": "<5.4",
+ "symfony/service-contracts": "<2.5"
},
"require-dev": {
"symfony/event-dispatcher": "^5.4|^6.0",
"symfony/finder": "^5.4|^6.0",
"symfony/messenger": "^5.4|^6.0",
- "symfony/service-contracts": "^1.1|^2|^3",
+ "symfony/service-contracts": "^2.5|^3",
"symfony/yaml": "^5.4|^6.0"
},
- "suggest": {
- "symfony/yaml": "To use the yaml reference dumper"
- },
"type": "library",
"autoload": {
"psr-4": {
@@ -6097,7 +6094,7 @@
"description": "Helps you find, load, combine, autofill and validate configuration values of any kind",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/config/tree/v6.0.19"
+ "source": "https://github.com/symfony/config/tree/v6.3.8"
},
"funding": [
{
@@ -6113,20 +6110,20 @@
"type": "tidelift"
}
],
- "time": "2023-01-09T04:36:00+00:00"
+ "time": "2023-11-09T08:28:21+00:00"
},
{
"name": "symfony/console",
- "version": "v5.4.28",
+ "version": "v5.4.31",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "f4f71842f24c2023b91237c72a365306f3c58827"
+ "reference": "11ac5f154e0e5c4c77af83ad11ead9165280b92a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/f4f71842f24c2023b91237c72a365306f3c58827",
- "reference": "f4f71842f24c2023b91237c72a365306f3c58827",
+ "url": "https://api.github.com/repos/symfony/console/zipball/11ac5f154e0e5c4c77af83ad11ead9165280b92a",
+ "reference": "11ac5f154e0e5c4c77af83ad11ead9165280b92a",
"shasum": ""
},
"require": {
@@ -6196,7 +6193,7 @@
"terminal"
],
"support": {
- "source": "https://github.com/symfony/console/tree/v5.4.28"
+ "source": "https://github.com/symfony/console/tree/v5.4.31"
},
"funding": [
{
@@ -6212,7 +6209,7 @@
"type": "tidelift"
}
],
- "time": "2023-08-07T06:12:30+00:00"
+ "time": "2023-10-31T07:58:33+00:00"
},
{
"name": "symfony/css-selector",
@@ -6282,30 +6279,30 @@
},
{
"name": "symfony/dependency-injection",
- "version": "v6.0.20",
+ "version": "v6.3.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/dependency-injection.git",
- "reference": "359806e1adebd1c43e18e5ea22acd14bef7fcf8c"
+ "reference": "1f30f545c4151f611148fc19e28d54d39e0a00bc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/359806e1adebd1c43e18e5ea22acd14bef7fcf8c",
- "reference": "359806e1adebd1c43e18e5ea22acd14bef7fcf8c",
+ "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/1f30f545c4151f611148fc19e28d54d39e0a00bc",
+ "reference": "1f30f545c4151f611148fc19e28d54d39e0a00bc",
"shasum": ""
},
"require": {
- "php": ">=8.0.2",
+ "php": ">=8.1",
"psr/container": "^1.1|^2.0",
- "symfony/deprecation-contracts": "^2.1|^3",
- "symfony/polyfill-php81": "^1.22",
- "symfony/service-contracts": "^1.1.6|^2.0|^3.0"
+ "symfony/deprecation-contracts": "^2.5|^3",
+ "symfony/service-contracts": "^2.5|^3.0",
+ "symfony/var-exporter": "^6.2.10"
},
"conflict": {
"ext-psr": "<1.1|>=2",
- "symfony/config": "<5.4",
+ "symfony/config": "<6.1",
"symfony/finder": "<5.4",
- "symfony/proxy-manager-bridge": "<5.4",
+ "symfony/proxy-manager-bridge": "<6.3",
"symfony/yaml": "<5.4"
},
"provide": {
@@ -6313,17 +6310,10 @@
"symfony/service-implementation": "1.1|2.0|3.0"
},
"require-dev": {
- "symfony/config": "^5.4|^6.0",
+ "symfony/config": "^6.1",
"symfony/expression-language": "^5.4|^6.0",
"symfony/yaml": "^5.4|^6.0"
},
- "suggest": {
- "symfony/config": "",
- "symfony/expression-language": "For using expressions in service container configuration",
- "symfony/finder": "For using double-star glob patterns or when GLOB_BRACE portability is required",
- "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them",
- "symfony/yaml": ""
- },
"type": "library",
"autoload": {
"psr-4": {
@@ -6350,7 +6340,7 @@
"description": "Allows you to standardize and centralize the way objects are constructed in your application",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/dependency-injection/tree/v6.0.20"
+ "source": "https://github.com/symfony/dependency-injection/tree/v6.3.8"
},
"funding": [
{
@@ -6366,29 +6356,29 @@
"type": "tidelift"
}
],
- "time": "2023-01-30T15:41:07+00:00"
+ "time": "2023-10-31T08:07:48+00:00"
},
{
"name": "symfony/deprecation-contracts",
- "version": "v3.0.2",
+ "version": "v3.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git",
- "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c"
+ "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c",
- "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c",
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf",
+ "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf",
"shasum": ""
},
"require": {
- "php": ">=8.0.2"
+ "php": ">=8.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "3.0-dev"
+ "dev-main": "3.4-dev"
},
"thanks": {
"name": "symfony/contracts",
@@ -6417,7 +6407,7 @@
"description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.2"
+ "source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0"
},
"funding": [
{
@@ -6433,7 +6423,7 @@
"type": "tidelift"
}
],
- "time": "2022-01-02T09:55:41+00:00"
+ "time": "2023-05-23T14:45:45+00:00"
},
{
"name": "symfony/dom-crawler",
@@ -6597,29 +6587,26 @@
},
{
"name": "symfony/event-dispatcher-contracts",
- "version": "v3.0.2",
+ "version": "v3.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher-contracts.git",
- "reference": "7bc61cc2db649b4637d331240c5346dcc7708051"
+ "reference": "a76aed96a42d2b521153fb382d418e30d18b59df"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7bc61cc2db649b4637d331240c5346dcc7708051",
- "reference": "7bc61cc2db649b4637d331240c5346dcc7708051",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/a76aed96a42d2b521153fb382d418e30d18b59df",
+ "reference": "a76aed96a42d2b521153fb382d418e30d18b59df",
"shasum": ""
},
"require": {
- "php": ">=8.0.2",
+ "php": ">=8.1",
"psr/event-dispatcher": "^1"
},
- "suggest": {
- "symfony/event-dispatcher-implementation": ""
- },
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "3.0-dev"
+ "dev-main": "3.4-dev"
},
"thanks": {
"name": "symfony/contracts",
@@ -6656,7 +6643,7 @@
"standards"
],
"support": {
- "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.0.2"
+ "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.4.0"
},
"funding": [
{
@@ -6672,24 +6659,24 @@
"type": "tidelift"
}
],
- "time": "2022-01-02T09:55:41+00:00"
+ "time": "2023-05-23T14:45:45+00:00"
},
{
"name": "symfony/filesystem",
- "version": "v6.0.19",
+ "version": "v6.3.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
- "reference": "3d49eec03fda1f0fc19b7349fbbe55ebc1004214"
+ "reference": "edd36776956f2a6fcf577edb5b05eb0e3bdc52ae"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/3d49eec03fda1f0fc19b7349fbbe55ebc1004214",
- "reference": "3d49eec03fda1f0fc19b7349fbbe55ebc1004214",
+ "url": "https://api.github.com/repos/symfony/filesystem/zipball/edd36776956f2a6fcf577edb5b05eb0e3bdc52ae",
+ "reference": "edd36776956f2a6fcf577edb5b05eb0e3bdc52ae",
"shasum": ""
},
"require": {
- "php": ">=8.0.2",
+ "php": ">=8.1",
"symfony/polyfill-ctype": "~1.8",
"symfony/polyfill-mbstring": "~1.8"
},
@@ -6719,7 +6706,7 @@
"description": "Provides basic utilities for the filesystem",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/filesystem/tree/v6.0.19"
+ "source": "https://github.com/symfony/filesystem/tree/v6.3.1"
},
"funding": [
{
@@ -6735,7 +6722,7 @@
"type": "tidelift"
}
],
- "time": "2023-01-20T17:44:14+00:00"
+ "time": "2023-06-01T08:30:39+00:00"
},
{
"name": "symfony/finder",
@@ -7292,85 +7279,6 @@
],
"time": "2023-01-26T09:26:14+00:00"
},
- {
- "name": "symfony/polyfill-php81",
- "version": "v1.28.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-php81.git",
- "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/7581cd600fa9fd681b797d00b02f068e2f13263b",
- "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b",
- "shasum": ""
- },
- "require": {
- "php": ">=7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-main": "1.28-dev"
- },
- "thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
- }
- },
- "autoload": {
- "files": [
- "bootstrap.php"
- ],
- "psr-4": {
- "Symfony\\Polyfill\\Php81\\": ""
- },
- "classmap": [
- "Resources/stubs"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "polyfill",
- "portable",
- "shim"
- ],
- "support": {
- "source": "https://github.com/symfony/polyfill-php81/tree/v1.28.0"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2023-01-26T09:26:14+00:00"
- },
{
"name": "symfony/process",
"version": "v5.4.28",
@@ -7435,32 +7343,29 @@
},
{
"name": "symfony/service-contracts",
- "version": "v3.0.2",
+ "version": "v3.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/service-contracts.git",
- "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66"
+ "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d78d39c1599bd1188b8e26bb341da52c3c6d8a66",
- "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66",
+ "url": "https://api.github.com/repos/symfony/service-contracts/zipball/b3313c2dbffaf71c8de2934e2ea56ed2291a3838",
+ "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838",
"shasum": ""
},
"require": {
- "php": ">=8.0.2",
+ "php": ">=8.1",
"psr/container": "^2.0"
},
"conflict": {
"ext-psr": "<1.1|>=2"
},
- "suggest": {
- "symfony/service-implementation": ""
- },
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "3.0-dev"
+ "dev-main": "3.4-dev"
},
"thanks": {
"name": "symfony/contracts",
@@ -7470,7 +7375,10 @@
"autoload": {
"psr-4": {
"Symfony\\Contracts\\Service\\": ""
- }
+ },
+ "exclude-from-classmap": [
+ "/Test/"
+ ]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -7497,7 +7405,7 @@
"standards"
],
"support": {
- "source": "https://github.com/symfony/service-contracts/tree/v3.0.2"
+ "source": "https://github.com/symfony/service-contracts/tree/v3.4.0"
},
"funding": [
{
@@ -7513,36 +7421,37 @@
"type": "tidelift"
}
],
- "time": "2022-05-30T19:17:58+00:00"
+ "time": "2023-07-30T20:28:31+00:00"
},
{
"name": "symfony/string",
- "version": "v6.0.19",
+ "version": "v6.3.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
- "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a"
+ "reference": "13880a87790c76ef994c91e87efb96134522577a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/string/zipball/d9e72497367c23e08bf94176d2be45b00a9d232a",
- "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a",
+ "url": "https://api.github.com/repos/symfony/string/zipball/13880a87790c76ef994c91e87efb96134522577a",
+ "reference": "13880a87790c76ef994c91e87efb96134522577a",
"shasum": ""
},
"require": {
- "php": ">=8.0.2",
+ "php": ">=8.1",
"symfony/polyfill-ctype": "~1.8",
"symfony/polyfill-intl-grapheme": "~1.0",
"symfony/polyfill-intl-normalizer": "~1.0",
"symfony/polyfill-mbstring": "~1.0"
},
"conflict": {
- "symfony/translation-contracts": "<2.0"
+ "symfony/translation-contracts": "<2.5"
},
"require-dev": {
"symfony/error-handler": "^5.4|^6.0",
"symfony/http-client": "^5.4|^6.0",
- "symfony/translation-contracts": "^2.0|^3.0",
+ "symfony/intl": "^6.2",
+ "symfony/translation-contracts": "^2.5|^3.0",
"symfony/var-exporter": "^5.4|^6.0"
},
"type": "library",
@@ -7582,7 +7491,7 @@
"utf8"
],
"support": {
- "source": "https://github.com/symfony/string/tree/v6.0.19"
+ "source": "https://github.com/symfony/string/tree/v6.3.8"
},
"funding": [
{
@@ -7598,32 +7507,35 @@
"type": "tidelift"
}
],
- "time": "2023-01-01T08:36:10+00:00"
+ "time": "2023-11-09T08:28:21+00:00"
},
{
"name": "symfony/translation",
- "version": "v6.0.19",
+ "version": "v6.3.7",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
- "reference": "9c24b3fdbbe9fb2ef3a6afd8bbaadfd72dad681f"
+ "reference": "30212e7c87dcb79c83f6362b00bde0e0b1213499"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation/zipball/9c24b3fdbbe9fb2ef3a6afd8bbaadfd72dad681f",
- "reference": "9c24b3fdbbe9fb2ef3a6afd8bbaadfd72dad681f",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/30212e7c87dcb79c83f6362b00bde0e0b1213499",
+ "reference": "30212e7c87dcb79c83f6362b00bde0e0b1213499",
"shasum": ""
},
"require": {
- "php": ">=8.0.2",
+ "php": ">=8.1",
+ "symfony/deprecation-contracts": "^2.5|^3",
"symfony/polyfill-mbstring": "~1.0",
- "symfony/translation-contracts": "^2.3|^3.0"
+ "symfony/translation-contracts": "^2.5|^3.0"
},
"conflict": {
"symfony/config": "<5.4",
"symfony/console": "<5.4",
"symfony/dependency-injection": "<5.4",
+ "symfony/http-client-contracts": "<2.5",
"symfony/http-kernel": "<5.4",
+ "symfony/service-contracts": "<2.5",
"symfony/twig-bundle": "<5.4",
"symfony/yaml": "<5.4"
},
@@ -7631,23 +7543,20 @@
"symfony/translation-implementation": "2.3|3.0"
},
"require-dev": {
+ "nikic/php-parser": "^4.13",
"psr/log": "^1|^2|^3",
"symfony/config": "^5.4|^6.0",
"symfony/console": "^5.4|^6.0",
"symfony/dependency-injection": "^5.4|^6.0",
"symfony/finder": "^5.4|^6.0",
- "symfony/http-client-contracts": "^1.1|^2.0|^3.0",
+ "symfony/http-client-contracts": "^2.5|^3.0",
"symfony/http-kernel": "^5.4|^6.0",
"symfony/intl": "^5.4|^6.0",
"symfony/polyfill-intl-icu": "^1.21",
- "symfony/service-contracts": "^1.1.2|^2|^3",
+ "symfony/routing": "^5.4|^6.0",
+ "symfony/service-contracts": "^2.5|^3",
"symfony/yaml": "^5.4|^6.0"
},
- "suggest": {
- "psr/log-implementation": "To use logging capability in translator",
- "symfony/config": "",
- "symfony/yaml": ""
- },
"type": "library",
"autoload": {
"files": [
@@ -7677,7 +7586,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/translation/tree/v6.0.19"
+ "source": "https://github.com/symfony/translation/tree/v6.3.7"
},
"funding": [
{
@@ -7693,32 +7602,29 @@
"type": "tidelift"
}
],
- "time": "2023-01-01T08:36:10+00:00"
+ "time": "2023-10-28T23:11:45+00:00"
},
{
"name": "symfony/translation-contracts",
- "version": "v3.0.2",
+ "version": "v3.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation-contracts.git",
- "reference": "acbfbb274e730e5a0236f619b6168d9dedb3e282"
+ "reference": "dee0c6e5b4c07ce851b462530088e64b255ac9c5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/acbfbb274e730e5a0236f619b6168d9dedb3e282",
- "reference": "acbfbb274e730e5a0236f619b6168d9dedb3e282",
+ "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/dee0c6e5b4c07ce851b462530088e64b255ac9c5",
+ "reference": "dee0c6e5b4c07ce851b462530088e64b255ac9c5",
"shasum": ""
},
"require": {
- "php": ">=8.0.2"
- },
- "suggest": {
- "symfony/translation-implementation": ""
+ "php": ">=8.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "3.0-dev"
+ "dev-main": "3.4-dev"
},
"thanks": {
"name": "symfony/contracts",
@@ -7728,7 +7634,10 @@
"autoload": {
"psr-4": {
"Symfony\\Contracts\\Translation\\": ""
- }
+ },
+ "exclude-from-classmap": [
+ "/Test/"
+ ]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -7755,7 +7664,81 @@
"standards"
],
"support": {
- "source": "https://github.com/symfony/translation-contracts/tree/v3.0.2"
+ "source": "https://github.com/symfony/translation-contracts/tree/v3.4.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2023-07-25T15:08:44+00:00"
+ },
+ {
+ "name": "symfony/var-exporter",
+ "version": "v6.3.6",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/var-exporter.git",
+ "reference": "374d289c13cb989027274c86206ddc63b16a2441"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/var-exporter/zipball/374d289c13cb989027274c86206ddc63b16a2441",
+ "reference": "374d289c13cb989027274c86206ddc63b16a2441",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=8.1"
+ },
+ "require-dev": {
+ "symfony/var-dumper": "^5.4|^6.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\VarExporter\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Allows exporting any serializable PHP data structure to plain PHP code",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "clone",
+ "construct",
+ "export",
+ "hydrate",
+ "instantiate",
+ "lazy-loading",
+ "proxy",
+ "serialize"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/var-exporter/tree/v6.3.6"
},
"funding": [
{
@@ -7771,20 +7754,20 @@
"type": "tidelift"
}
],
- "time": "2022-06-27T17:10:44+00:00"
+ "time": "2023-10-13T09:16:49+00:00"
},
{
"name": "symfony/yaml",
- "version": "v5.4.23",
+ "version": "v5.4.31",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
- "reference": "4cd2e3ea301aadd76a4172756296fe552fb45b0b"
+ "reference": "f387675d7f5fc4231f7554baa70681f222f73563"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/4cd2e3ea301aadd76a4172756296fe552fb45b0b",
- "reference": "4cd2e3ea301aadd76a4172756296fe552fb45b0b",
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/f387675d7f5fc4231f7554baa70681f222f73563",
+ "reference": "f387675d7f5fc4231f7554baa70681f222f73563",
"shasum": ""
},
"require": {
@@ -7830,7 +7813,7 @@
"description": "Loads and dumps YAML files",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/yaml/tree/v5.4.23"
+ "source": "https://github.com/symfony/yaml/tree/v5.4.31"
},
"funding": [
{
@@ -7846,20 +7829,20 @@
"type": "tidelift"
}
],
- "time": "2023-04-23T19:33:36+00:00"
+ "time": "2023-11-03T14:41:28+00:00"
},
{
"name": "theseer/tokenizer",
- "version": "1.2.1",
+ "version": "1.2.2",
"source": {
"type": "git",
"url": "https://github.com/theseer/tokenizer.git",
- "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e"
+ "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e",
- "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e",
+ "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96",
+ "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96",
"shasum": ""
},
"require": {
@@ -7888,7 +7871,7 @@
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
"support": {
"issues": "https://github.com/theseer/tokenizer/issues",
- "source": "https://github.com/theseer/tokenizer/tree/1.2.1"
+ "source": "https://github.com/theseer/tokenizer/tree/1.2.2"
},
"funding": [
{
@@ -7896,7 +7879,7 @@
"type": "github"
}
],
- "time": "2021-07-28T10:34:58+00:00"
+ "time": "2023-11-20T00:12:19+00:00"
},
{
"name": "voku/portable-ascii",
@@ -8209,16 +8192,16 @@
},
{
"name": "wp-cli/wp-cli",
- "version": "v2.8.1",
+ "version": "v2.9.0",
"source": {
"type": "git",
"url": "https://github.com/wp-cli/wp-cli.git",
- "reference": "5dd2340b9a01c3cfdbaf5e93a140759fdd190eee"
+ "reference": "8a3befba2d947fbf5cc6d1941edf2dd99da4d4b7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/5dd2340b9a01c3cfdbaf5e93a140759fdd190eee",
- "reference": "5dd2340b9a01c3cfdbaf5e93a140759fdd190eee",
+ "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/8a3befba2d947fbf5cc6d1941edf2dd99da4d4b7",
+ "reference": "8a3befba2d947fbf5cc6d1941edf2dd99da4d4b7",
"shasum": ""
},
"require": {
@@ -8235,7 +8218,7 @@
"wp-cli/entity-command": "^1.2 || ^2",
"wp-cli/extension-command": "^1.1 || ^2",
"wp-cli/package-command": "^1 || ^2",
- "wp-cli/wp-cli-tests": "^3.1.6"
+ "wp-cli/wp-cli-tests": "^4.0.1"
},
"suggest": {
"ext-readline": "Include for a better --prompt implementation",
@@ -8275,7 +8258,7 @@
"issues": "https://github.com/wp-cli/wp-cli/issues",
"source": "https://github.com/wp-cli/wp-cli"
},
- "time": "2023-06-05T06:55:55+00:00"
+ "time": "2023-10-25T09:06:37+00:00"
},
{
"name": "wp-coding-standards/wpcs",
@@ -8394,5 +8377,5 @@
"php": ">=7.2.5"
},
"platform-dev": [],
- "plugin-api-version": "2.3.0"
+ "plugin-api-version": "2.6.0"
}
diff --git a/defines.php b/defines.php
index ed01eb41..d1f11237 100644
--- a/defines.php
+++ b/defines.php
@@ -12,7 +12,7 @@
defined('ABSPATH') or die('No direct script access allowed.');
if (!defined('PP_AUTHORS_LOADED')) {
- define('PP_AUTHORS_VERSION', '4.2.1');
+ define('PP_AUTHORS_VERSION', '4.2.1.14');
define('PP_AUTHORS_FILE', 'publishpress-authors/publishpress-authors.php');
define('PP_AUTHORS_BASE_PATH', plugin_dir_path(__DIR__ . '/publishpress-authors.php'));
define('PP_AUTHORS_MODULES_PATH', PP_AUTHORS_BASE_PATH . 'src/modules/');
diff --git a/lib/composer.json b/lib/composer.json
index 465cbff7..41e82422 100644
--- a/lib/composer.json
+++ b/lib/composer.json
@@ -25,6 +25,7 @@
"psr-4": {
"MultipleAuthors\\": "../src/core/",
"MultipleAuthorBoxes\\": "../src/modules/author-boxes/classes/",
+ "MultipleAuthorCategories\\": "../src/modules/author-categories/classes/",
"PPAuthors\\YoastSEO\\": "../src/modules/yoast-seo-integration/src/"
}
}
diff --git a/lib/composer.lock b/lib/composer.lock
index 709d4763..70c8a2d5 100644
--- a/lib/composer.lock
+++ b/lib/composer.lock
@@ -486,5 +486,5 @@
"php": ">=7.2.5"
},
"platform-dev": [],
- "plugin-api-version": "2.3.0"
+ "plugin-api-version": "2.6.0"
}
diff --git a/lib/vendor/composer/autoload_psr4.php b/lib/vendor/composer/autoload_psr4.php
index 432e067a..2bbad138 100644
--- a/lib/vendor/composer/autoload_psr4.php
+++ b/lib/vendor/composer/autoload_psr4.php
@@ -8,5 +8,6 @@
return array(
'PPAuthors\\YoastSEO\\' => array($baseDir . '/../src/modules/yoast-seo-integration/src'),
'MultipleAuthors\\' => array($baseDir . '/../src/core'),
+ 'MultipleAuthorCategories\\' => array($baseDir . '/../src/modules/author-categories/classes'),
'MultipleAuthorBoxes\\' => array($baseDir . '/../src/modules/author-boxes/classes'),
);
diff --git a/lib/vendor/composer/autoload_static.php b/lib/vendor/composer/autoload_static.php
index 30946363..e9688210 100644
--- a/lib/vendor/composer/autoload_static.php
+++ b/lib/vendor/composer/autoload_static.php
@@ -22,6 +22,7 @@ class ComposerStaticInitPPAuthors
'M' =>
array (
'MultipleAuthors\\' => 16,
+ 'MultipleAuthorCategories\\' => 25,
'MultipleAuthorBoxes\\' => 20,
),
);
@@ -35,6 +36,10 @@ class ComposerStaticInitPPAuthors
array (
0 => __DIR__ . '/../..' . '/../src/core',
),
+ 'MultipleAuthorCategories\\' =>
+ array (
+ 0 => __DIR__ . '/../..' . '/../src/modules/author-categories/classes',
+ ),
'MultipleAuthorBoxes\\' =>
array (
0 => __DIR__ . '/../..' . '/../src/modules/author-boxes/classes',
diff --git a/lib/vendor/composer/installed.php b/lib/vendor/composer/installed.php
index efc4e4c3..4eca4a50 100644
--- a/lib/vendor/composer/installed.php
+++ b/lib/vendor/composer/installed.php
@@ -1,9 +1,9 @@
array(
'name' => '__root__',
- 'pretty_version' => 'dev-master',
- 'version' => 'dev-master',
- 'reference' => 'a755d706d1b463e9794fde928f9812e369bc7412',
+ 'pretty_version' => '1.0.0+no-version-set',
+ 'version' => '1.0.0.0',
+ 'reference' => NULL,
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@@ -11,9 +11,9 @@
),
'versions' => array(
'__root__' => array(
- 'pretty_version' => 'dev-master',
- 'version' => 'dev-master',
- 'reference' => 'a755d706d1b463e9794fde928f9812e369bc7412',
+ 'pretty_version' => '1.0.0+no-version-set',
+ 'version' => '1.0.0.0',
+ 'reference' => NULL,
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
diff --git a/src/assets/css/multiple-authors.css b/src/assets/css/multiple-authors.css
index 8b10f943..e9453f82 100644
--- a/src/assets/css/multiple-authors.css
+++ b/src/assets/css/multiple-authors.css
@@ -159,6 +159,24 @@ ul.authors-list li.ui-sortable-helper {
cursor: move;
}
+ul.authors-list.no-select {
+ user-select: none;
+}
+
+.author-category-title {
+ color: #3c434a;
+ font-size: 14px;
+ padding: 8px 0;
+ font-weight: 1.4;
+ font-weight: 400;
+}
+
+ul.authors-list li.sortable-placeholder {
+ border-style: dashed;
+ pointer-events: none;
+ user-select: none;
+}
+
ul.authors-list.authors-current-user-can-assign li:hover {
cursor: move;
}
diff --git a/src/assets/js/multiple-authors.js b/src/assets/js/multiple-authors.js
index e3b22139..e7af43df 100644
--- a/src/assets/js/multiple-authors.js
+++ b/src/assets/js/multiple-authors.js
@@ -104,11 +104,12 @@ jQuery(document).ready(function ($) {
});
authorsSearch.on("ppma_select2:select", function (e) {
var template = wp.template("authors-author-partial");
- $(".authors-list").append(
+ $(".authors-list:first").append(
window.htmlEnDeCode.htmlDecode(template(e.params.data))
);
authorsSearch.val(null).trigger("change");
handleUsersAuthorField();
+ handleAuthorCategory();
});
});
}
@@ -139,6 +140,19 @@ jQuery(document).ready(function ($) {
}
}
+ function handleAuthorCategory() {
+ let $authorsCategoryId = '';
+ let $authorsCategoryTerm = '';
+ $('.authors-list').each(function () {
+ $authorsCategoryId = $(this).attr('data-category_id');
+ $(this).find('.author_categories').each(function () {
+ $authorsCategoryTerm = $(this).closest('li').find('.author_term').val();
+ $(this).attr('name', 'author_categories[' + $authorsCategoryTerm + ']');
+ $(this).val($authorsCategoryId);
+ });
+ });
+ }
+
function authorsUserSelect2(selector) {
selector.each(function () {
var authorsSearch = $(this).ppma_select2({
@@ -343,7 +357,22 @@ jQuery(document).ready(function ($) {
});
function sortedAuthorsList(selector) {
- selector.sortable().on("click", ".author-remove", function () {
+ selector.sortable({
+ connectWith: ".authors-list",
+ items: "> li:not(.no-drag)",
+ placeholder: "sortable-placeholder",
+ update: function (event, ui) {
+ handleAuthorCategory();
+ },
+ receive: function (event, ui) {
+ $(this).find('.sortable-placeholder').hide();
+ },
+ remove: function (event, ui) {
+ if ($(this).children().length === 1) {
+ $(this).find('.sortable-placeholder').show();
+ }
+ },
+ }).on("click", ".author-remove", function () {
var el = $(this);
el.closest("li").remove();
handleUsersAuthorField($(this).parent('.authors-list'));
diff --git a/src/core/Classes/Legacy/LegacyPlugin.php b/src/core/Classes/Legacy/LegacyPlugin.php
index 1450dfa8..292cbe57 100644
--- a/src/core/Classes/Legacy/LegacyPlugin.php
+++ b/src/core/Classes/Legacy/LegacyPlugin.php
@@ -38,6 +38,7 @@ class LegacyPlugin
public $helpers;
public $class_names;
public $shortcode_authors_list;
+ public $author_categories;
private $options_group = 'multiple_authors_';
@@ -173,6 +174,7 @@ private function getModulesDirs()
$defaultDirs = [
'modules-settings' => PP_AUTHORS_MODULES_PATH,
'author-boxes' => PP_AUTHORS_MODULES_PATH,
+ 'author-categories' => PP_AUTHORS_MODULES_PATH,
'author-custom-fields' => PP_AUTHORS_MODULES_PATH,
'settings' => PP_AUTHORS_MODULES_PATH,
'multiple-authors' => PP_AUTHORS_MODULES_PATH,
diff --git a/src/core/Classes/Post_Editor.php b/src/core/Classes/Post_Editor.php
index 8d9c0752..df081d62 100644
--- a/src/core/Classes/Post_Editor.php
+++ b/src/core/Classes/Post_Editor.php
@@ -240,54 +240,94 @@ public static function render_authors_metabox()
echo self::get_rendered_authors_selection($authors, false); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
+ /**
+ * Group author into categories
+ *
+ * @param array $author_categories
+ * @param array $author_relations
+ * @param array $authors
+ *
+ * @return array
+ */
+ public static function group_category_authors($author_categories, $author_relations, $authors) {
+
+ // group authors by category slug
+ $grouped_authors = array_reduce($author_relations, function ($result, $item) {
+ $result[$item['category_slug']][] = $item;
+ return $result;
+ }, []);
+
+ // List all authors attached to the post
+ $remaining_authors = $authors;
+
+ $authors_data = [];
+ foreach ($author_categories as $author_category) {
+ if (!empty($remaining_authors) && !empty($grouped_authors) && isset($grouped_authors[$author_category['slug']])) {
+ // get current category term ids
+ $category_author_ids = array_column($grouped_authors[$author_category['slug']], 'author_term_id');
+ // get selected authors for the category terms
+ $selected_authors = array_filter($remaining_authors, function ($author) use ($category_author_ids) {
+ $term_id = $author->term_id;
+ return in_array($term_id, $category_author_ids);
+ });
+ // update remaining authors
+ $remaining_authors = array_filter($remaining_authors, function ($author) use ($category_author_ids) {
+ $term_id = $author->term_id;
+ return !in_array($term_id, $category_author_ids);
+ });
+ } else {
+ $selected_authors = [];
+ }
+
+ $authors_data[] = [
+ 'title' => $author_category['plural_name'],
+ 'description' => sprintf('Drag and Drop Author to add them to %s category.', $author_category['plural_name']),
+ 'slug' => $author_category['slug'],
+ 'id' => $author_category['id'],
+ 'authors' => $selected_authors
+ ];
+ }
+
+ // Add remaining author to first category
+ if (!empty($remaining_authors)) {
+ $authors_data[0]['authors'] = array_merge($authors_data[0]['authors'], $remaining_authors);
+ }
+
+
+ return $authors_data;
+ }
+
/**
* Get rendered authors selection.
*/
public static function get_rendered_authors_selection($authors, $showAvatars = true, $bulkEdit = false)
{
+ $post = get_post();
+
$classes = [
'authors-list',
];
if (current_user_can(get_taxonomy('author')->cap->assign_terms)) {
$classes[] = 'authors-current-user-can-assign';
}
- ?>
-
- display_name;
- $term = is_a($author, 'WP_User') ? 'u' . $author->ID : $author->term_id;
-
- $isGuest = 0;
- if (is_a($author, Author::class)) {
- $isGuest = $author->is_guest() ? 1 : 0;
- }
-
- $args = [
- 'display_name' => $display_name,
- 'term' => $term,
- 'is_guest' => $isGuest,
- ];
- if ($showAvatars) {
- $args['avatar'] = $author->get_avatar(20);
- }
-
- echo self::get_rendered_author_partial($args); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
- }
- }
- ?>
-
- cap->assign_terms)) {
- ?>
+ $author_categories = \MA_Author_Categories::get_author_categories(['category_status' => 1]);
+
+ if (!empty($author_categories)) {
+ $author_relations = \MA_Author_Categories::get_author_relations(['post_id' => $post->ID]);
+ $author_categories_data = self::group_category_authors($author_categories, $author_relations, $authors);
+ } else {
+ $author_categories_data = [];
+ $author_categories_data[] = [
+ 'title' => '',
+ 'description' => '',
+ 'slug' => '',
+ 'id' => '',
+ 'authors' => $authors
+ ];
+ }
+ ?>
+ cap->assign_terms)) : ?>