diff --git a/.assets/js/wp-content-pilot.js b/.assets/js/wp-content-pilot.js index 0a9c8ba..651cd91 100644 --- a/.assets/js/wp-content-pilot.js +++ b/.assets/js/wp-content-pilot.js @@ -1,6 +1,6 @@ /** * WP Content Pilot Admin - * https://www.pluginever.com + * https://pluginever.com * * Copyright (c) 2019 pluginever * Licensed under the GPLv2+ license. diff --git a/.distignore b/.distignore index b11fe25..2195044 100644 --- a/.distignore +++ b/.distignore @@ -94,9 +94,6 @@ release-test.sh composer.json composer.lock gulpfile.js -/vendor # Build related files build -src -/src/ diff --git a/composer.json b/composer.json index 1a69774..3b5192c 100644 --- a/composer.json +++ b/composer.json @@ -8,8 +8,7 @@ "minimum-stability": "dev", "repositories": [], "require-dev": { - "byteever/byteever-sniffs": "dev-master", - "coenjacobs/mozart": "^0.7.1" + "byteever/byteever-sniffs": "dev-master" }, "autoload": {}, "config": { @@ -21,26 +20,10 @@ } }, "scripts": { - "post-install-cmd": [ - "\"vendor/bin/mozart\" compose", - "composer dump-autoload" - ], - "post-update-cmd": [ - "\"vendor/bin/mozart\" compose", - "composer dump-autoload" - ], "phpcs": "@php ./vendor/bin/phpcs --standard=phpcs.xml -s -v", "phpcbf": "@php ./vendor/bin/phpcbf --standard=phpcs.xml -v" }, "extra": { - "mozart": { - "dep_namespace": "WPContentPilot\\", - "dep_directory": "/lib/", - "classmap_directory": "/lib/classes/", - "classmap_prefix": "WPContentPilot_", - "delete_vendor_directories": true, - "packages": [] - } }, "require": { "php": ">=8.0", diff --git a/composer.lock b/composer.lock index e90c700..df1d77c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "60709e55821fcfb21f131275a5866a5a", + "content-hash": "d0f0e485a47324d77f808ed6405cd4b6", "packages": [ { "name": "php-curl-class/php-curl-class", @@ -125,64 +125,6 @@ }, "time": "2024-06-28T06:59:58+00:00" }, - { - "name": "coenjacobs/mozart", - "version": "0.7.1", - "source": { - "type": "git", - "url": "https://github.com/coenjacobs/mozart.git", - "reference": "dbcdeb992d20d9c8914eef090f9a0d684bb1102c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/coenjacobs/mozart/zipball/dbcdeb992d20d9c8914eef090f9a0d684bb1102c", - "reference": "dbcdeb992d20d9c8914eef090f9a0d684bb1102c", - "shasum": "" - }, - "require": { - "league/flysystem": "^1.0", - "php": "^7.3|^8.0", - "symfony/console": "^4|^5", - "symfony/finder": "^4|^5" - }, - "require-dev": { - "mheap/phpunit-github-actions-printer": "^1.4", - "phpunit/phpunit": "^8.5", - "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^4.4" - }, - "bin": [ - "bin/mozart" - ], - "type": "library", - "autoload": { - "psr-4": { - "CoenJacobs\\Mozart\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Coen Jacobs", - "email": "coenjacobs@gmail.com" - } - ], - "description": "Composes all dependencies as a package inside a WordPress plugin", - "support": { - "issues": "https://github.com/coenjacobs/mozart/issues", - "source": "https://github.com/coenjacobs/mozart/tree/0.7.1" - }, - "funding": [ - { - "url": "https://github.com/coenjacobs", - "type": "github" - } - ], - "time": "2021-02-02T21:37:03+00:00" - }, { "name": "dealerdirect/phpcodesniffer-composer-installer", "version": "v0.7.2", @@ -258,156 +200,6 @@ }, "time": "2022-02-04T12:51:07+00:00" }, - { - "name": "league/flysystem", - "version": "1.1.10", - "source": { - "type": "git", - "url": "https://github.com/thephpleague/flysystem.git", - "reference": "3239285c825c152bcc315fe0e87d6b55f5972ed1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/3239285c825c152bcc315fe0e87d6b55f5972ed1", - "reference": "3239285c825c152bcc315fe0e87d6b55f5972ed1", - "shasum": "" - }, - "require": { - "ext-fileinfo": "*", - "league/mime-type-detection": "^1.3", - "php": "^7.2.5 || ^8.0" - }, - "conflict": { - "league/flysystem-sftp": "<1.0.6" - }, - "require-dev": { - "phpspec/prophecy": "^1.11.1", - "phpunit/phpunit": "^8.5.8" - }, - "suggest": { - "ext-ftp": "Allows you to use FTP server storage", - "ext-openssl": "Allows you to use FTPS server storage", - "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", - "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", - "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", - "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", - "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", - "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", - "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", - "league/flysystem-webdav": "Allows you to use WebDAV storage", - "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", - "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", - "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "psr-4": { - "League\\Flysystem\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Frank de Jonge", - "email": "info@frenky.net" - } - ], - "description": "Filesystem abstraction: Many filesystems, one API.", - "keywords": [ - "Cloud Files", - "WebDAV", - "abstraction", - "aws", - "cloud", - "copy.com", - "dropbox", - "file systems", - "files", - "filesystem", - "filesystems", - "ftp", - "rackspace", - "remote", - "s3", - "sftp", - "storage" - ], - "support": { - "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/1.1.10" - }, - "funding": [ - { - "url": "https://offset.earth/frankdejonge", - "type": "other" - } - ], - "time": "2022-10-04T09:16:37+00:00" - }, - { - "name": "league/mime-type-detection", - "version": "1.15.0", - "source": { - "type": "git", - "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", - "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", - "shasum": "" - }, - "require": { - "ext-fileinfo": "*", - "php": "^7.4 || ^8.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.2", - "phpstan/phpstan": "^0.12.68", - "phpunit/phpunit": "^8.5.8 || ^9.3 || ^10.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "League\\MimeTypeDetection\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Frank de Jonge", - "email": "info@frankdejonge.nl" - } - ], - "description": "Mime-type detection for Flysystem", - "support": { - "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.15.0" - }, - "funding": [ - { - "url": "https://github.com/frankdejonge", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/league/flysystem", - "type": "tidelift" - } - ], - "time": "2024-01-28T23:22:08+00:00" - }, { "name": "phpcompatibility/php-compatibility", "version": "9.3.5", @@ -778,59 +570,6 @@ ], "time": "2024-05-20T13:34:27+00:00" }, - { - "name": "psr/container", - "version": "2.0.2", - "source": { - "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "shasum": "" - }, - "require": { - "php": ">=7.4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", - "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" - ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.2" - }, - "time": "2021-11-05T16:47:00+00:00" - }, { "name": "squizlabs/php_codesniffer", "version": "3.10.2", @@ -911,876 +650,6 @@ ], "time": "2024-07-21T23:26:44+00:00" }, - { - "name": "symfony/console", - "version": "v5.4.42", - "source": { - "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "cef62396a0477e94fc52e87a17c6e5c32e226b7f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/cef62396a0477e94fc52e87a17c6e5c32e226b7f", - "reference": "cef62396a0477e94fc52e87a17c6e5c32e226b7f", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.9", - "symfony/polyfill-php80": "^1.16", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/string": "^5.1|^6.0" - }, - "conflict": { - "psr/log": ">=3", - "symfony/dependency-injection": "<4.4", - "symfony/dotenv": "<5.1", - "symfony/event-dispatcher": "<4.4", - "symfony/lock": "<4.4", - "symfony/process": "<4.4" - }, - "provide": { - "psr/log-implementation": "1.0|2.0" - }, - "require-dev": { - "psr/log": "^1|^2", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/lock": "^4.4|^5.0|^6.0", - "symfony/process": "^4.4|^5.0|^6.0", - "symfony/var-dumper": "^4.4|^5.0|^6.0" - }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Console\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Eases the creation of beautiful and testable command line interfaces", - "homepage": "https://symfony.com", - "keywords": [ - "cli", - "command-line", - "console", - "terminal" - ], - "support": { - "source": "https://github.com/symfony/console/tree/v5.4.42" - }, - "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": "2024-07-26T12:21:55+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "v3.0.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", - "shasum": "" - }, - "require": { - "php": ">=8.0.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.0-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "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": "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" - }, - "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": "2022-01-02T09:55:41+00:00" - }, - { - "name": "symfony/finder", - "version": "v5.4.42", - "source": { - "type": "git", - "url": "https://github.com/symfony/finder.git", - "reference": "0724c51fa067b198e36506d2864e09a52180998a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/0724c51fa067b198e36506d2864e09a52180998a", - "reference": "0724c51fa067b198e36506d2864e09a52180998a", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php80": "^1.16" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Finder\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Finds files and directories via an intuitive fluent interface", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/finder/tree/v5.4.42" - }, - "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": "2024-07-22T08:53:29+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "v1.30.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "0424dff1c58f028c451efff2045f5d92410bd540" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/0424dff1c58f028c451efff2045f5d92410bd540", - "reference": "0424dff1c58f028c451efff2045f5d92410bd540", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "type": "library", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.30.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": "2024-05-31T15:07:36+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "v1.30.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/64647a7c30b2283f5d49b874d84a18fc22054b7a", - "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "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 for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.30.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": "2024-05-31T15:07:36+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "v1.30.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/a95281b0be0d9ab48050ebd988b967875cdb9fdb", - "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "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 for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.30.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": "2024-05-31T15:07:36+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "v1.30.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fd22ab50000ef01661e2a31d850ebaa297f8e03c", - "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "type": "library", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "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 for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.30.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": "2024-06-19T12:30:46+00:00" - }, - { - "name": "symfony/polyfill-php73", - "version": "v1.30.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "ec444d3f3f6505bb28d11afa41e75faadebc10a1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/ec444d3f3f6505bb28d11afa41e75faadebc10a1", - "reference": "ec444d3f3f6505bb28d11afa41e75faadebc10a1", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, - "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 7.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.30.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": "2024-05-31T15:07:36+00:00" - }, - { - "name": "symfony/polyfill-php80", - "version": "v1.30.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "77fa7995ac1b21ab60769b7323d600a991a90433" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/77fa7995ac1b21ab60769b7323d600a991a90433", - "reference": "77fa7995ac1b21ab60769b7323d600a991a90433", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.30.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": "2024-05-31T15:07:36+00:00" - }, - { - "name": "symfony/service-contracts", - "version": "v3.0.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/service-contracts.git", - "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d78d39c1599bd1188b8e26bb341da52c3c6d8a66", - "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66", - "shasum": "" - }, - "require": { - "php": ">=8.0.2", - "psr/container": "^2.0" - }, - "conflict": { - "ext-psr": "<1.1|>=2" - }, - "suggest": { - "symfony/service-implementation": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.0-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\Service\\": "" - } - }, - "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": "Generic abstractions related to writing services", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.0.2" - }, - "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": "2022-05-30T19:17:58+00:00" - }, - { - "name": "symfony/string", - "version": "v6.0.19", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/d9e72497367c23e08bf94176d2be45b00a9d232a", - "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a", - "shasum": "" - }, - "require": { - "php": ">=8.0.2", - "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" - }, - "require-dev": { - "symfony/error-handler": "^5.4|^6.0", - "symfony/http-client": "^5.4|^6.0", - "symfony/translation-contracts": "^2.0|^3.0", - "symfony/var-exporter": "^5.4|^6.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "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": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/v6.0.19" - }, - "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-01T08:36:10+00:00" - }, { "name": "wp-coding-standards/wpcs", "version": "3.1.0", diff --git a/i18n/languages/wp-content-pilot.pot b/i18n/languages/wp-content-pilot.pot index 6836f98..1463f31 100644 --- a/i18n/languages/wp-content-pilot.pot +++ b/i18n/languages/wp-content-pilot.pot @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: WP Content Pilot 1.3.6\n" "Report-Msgid-Bugs-To: https://pluginever.com/support/\n" -"POT-Creation-Date: 2024-08-01 09:28:12+00:00\n" +"POT-Creation-Date: 2024-08-14 09:56:38+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -77,7 +77,7 @@ msgstr "" msgid "Logs" msgstr "" -#: includes/admin/class-wpcp-admin.php:80 wp-content-pilot.php:254 +#: includes/admin/class-wpcp-admin.php:80 wp-content-pilot.php:255 msgid "Go Pro" msgstr "" @@ -429,7 +429,7 @@ msgstr "" #: includes/admin/class-wpcp-settings.php:38 #: includes/admin/views/metabox/spinner-settings.php:10 -#: wp-content-pilot.php:246 +#: wp-content-pilot.php:247 msgid "Settings" msgstr "" @@ -2924,27 +2924,27 @@ msgstr "" msgid "Every %1$d %2$s" msgstr "" -#: wp-content-pilot.php:82 +#: wp-content-pilot.php:83 msgid "Cloning is forbidden." msgstr "" -#: wp-content-pilot.php:91 +#: wp-content-pilot.php:92 msgid "Universalizing instances of this class is forbidden." msgstr "" -#: wp-content-pilot.php:276 +#: wp-content-pilot.php:277 msgid "View documentation" msgstr "" -#: wp-content-pilot.php:276 +#: wp-content-pilot.php:277 msgid "Docs" msgstr "" -#: wp-content-pilot.php:295 +#: wp-content-pilot.php:296 msgid "Once a Minute" msgstr "" -#: wp-content-pilot.php:321 +#: wp-content-pilot.php:322 msgid "%1$s in %2$s on line %3$s" msgstr "" diff --git a/includes/admin/class-wpcp-help.php b/includes/admin/class-wpcp-help.php index f594aa0..8c2d4be 100644 --- a/includes/admin/class-wpcp-help.php +++ b/includes/admin/class-wpcp-help.php @@ -173,7 +173,7 @@ public function help_page() { - Get Pro + Get Pro @@ -193,14 +193,14 @@ protected function get_blocks() { 'image' => WPCP_ASSETS_URL . '/images/help/docs.svg', 'title' => __( 'Looking for Something?', 'wp-content-pilot' ), 'desc' => __( 'We have detailed documentation on every aspects of WP Content Pilot.', 'wp-content-pilot' ), - 'url' => 'https://www.pluginever.com/docs/wp-content-pilot/', + 'url' => 'https://pluginever.com/docs/wp-content-pilot/', 'button_text' => __( 'Visit the Plugin Documentation', 'wp-content-pilot' ), ], [ 'image' => WPCP_ASSETS_URL . '/images/help/support.svg', 'title' => __( 'Need Any Assistance?', 'wp-content-pilot' ), 'desc' => __( 'Our EXPERT Support Team is always ready to Help you out.', 'wp-content-pilot' ), - 'url' => 'https://www.pluginever.com/support/', + 'url' => 'https://pluginever.com/support/', 'button_text' => __( 'Contact Support', 'wp-content-pilot' ), ], [ @@ -214,7 +214,7 @@ protected function get_blocks() { 'image' => WPCP_ASSETS_URL . '/images/help/customization.svg', 'title' => __( 'Require Customization?', 'wp-content-pilot' ), 'desc' => __( 'We would Love to hear your Integration and Customization Ideas.', 'wp-content-pilot' ), - 'url' => 'https://www.pluginever.com/contact-us/', + 'url' => 'https://pluginever.com/contact-us/', 'button_text' => __( 'Contact Our Services', 'wp-content-pilot' ), ], [ diff --git a/includes/admin/views/page/help-page.php b/includes/admin/views/page/help-page.php index 206f5ea..84f0a0a 100644 --- a/includes/admin/views/page/help-page.php +++ b/includes/admin/views/page/help-page.php @@ -6,14 +6,14 @@ 'image' => WPCP_ASSETS_URL . '/images/help/docs.svg', 'title' => __( 'Looking for something?', 'wp-content-pilot' ), 'desc' => __( 'We have detailed documentation on every aspects of WP Content Pilot.', 'wp-content-pilot' ), - 'url' => 'https://www.pluginever.com/docs/wp-content-pilot/', + 'url' => 'https://pluginever.com/docs/wp-content-pilot/', 'button_text' => __( 'Documentation', 'wp-content-pilot' ), ), array( 'image' => WPCP_ASSETS_URL . '/images/help/support.svg', 'title' => __( 'Need any assistance?', 'wp-content-pilot' ), 'desc' => __( 'Our expert support team is always ready to help you out.', 'wp-content-pilot' ), - 'url' => 'https://www.pluginever.com/support/', + 'url' => 'https://pluginever.com/support/', 'button_text' => __( 'Contact support', 'wp-content-pilot' ), ), array( @@ -27,7 +27,7 @@ 'image' => WPCP_ASSETS_URL . '/images/help/customization.svg', 'title' => __( 'Require customization?', 'wp-content-pilot' ), 'desc' => __( 'We would love to hear your integration and customization ideas.', 'wp-content-pilot' ), - 'url' => 'https://www.pluginever.com/support/', + 'url' => 'https://pluginever.com/support/', 'button_text' => __( 'Contact us', 'wp-content-pilot' ), ), array( @@ -354,7 +354,7 @@ - Get Pro + Get Pro diff --git a/includes/class-wpcp-notices.php b/includes/class-wpcp-notices.php index 6cc8b91..059f2be 100644 --- a/includes/class-wpcp-notices.php +++ b/includes/class-wpcp-notices.php @@ -298,7 +298,7 @@ public static function upgrade_notice() { return; } $notice = __( 'WP Content Pilot is powering 5000+ companies in generating automatic contents and affiliation with its 25+ types of campaign. Upgrade to Pro now & get 10% discount using coupon WPCPFREE2PRO', 'wp-content-pilot' ); - $notice .= ' Upgrade to Pro'; + $notice .= ' Upgrade to Pro'; self::add_dismissible_notice( $notice, diff --git a/includes/modules/class-wpcp-envato.php b/includes/modules/class-wpcp-envato.php index 839bdee..11d5fcd 100644 --- a/includes/modules/class-wpcp-envato.php +++ b/includes/modules/class-wpcp-envato.php @@ -187,14 +187,14 @@ public function get_setting_fields( $fields ) { array( 'name' => 'token', 'label' => __( 'Envato token', 'wp-content-pilot' ), - 'desc' => sprintf( __( 'Check this tutorial to get your Envato token.', 'wp-content-pilot' ), 'https://www.pluginever.com/docs/wp-content-pilot/how-to-create-envato-token/' ), + 'desc' => sprintf( __( 'Check this tutorial to get your Envato token.', 'wp-content-pilot' ), 'https://pluginever.com/docs/wp-content-pilot/how-to-create-envato-token/' ), 'type' => 'password', 'default' => '' ), array( 'name' => 'envato_impact_radius', 'label' => __( 'Impact radius affiliate url', 'wp-content-pilot' ), - 'desc' => sprintf( __( 'Learn how to get your impact radius affiliate url here.', 'wp-content-pilot' ), 'https://www.pluginever.com/docs/wp-content-pilot/get-your-envato-impact-radius-affiliate-url/' ), + 'desc' => sprintf( __( 'Learn how to get your impact radius affiliate url here.', 'wp-content-pilot' ), 'https://pluginever.com/docs/wp-content-pilot/get-your-envato-impact-radius-affiliate-url/' ), 'type' => 'text', 'default' => '' ), diff --git a/includes/modules/class-wpcp-flickr.php b/includes/modules/class-wpcp-flickr.php index 5827995..f31f783 100644 --- a/includes/modules/class-wpcp-flickr.php +++ b/includes/modules/class-wpcp-flickr.php @@ -171,7 +171,7 @@ public function get_setting_fields( $fields ) { array( 'name' => 'api_key', 'label' => __( 'Flickr API key', 'wp-content-pilot' ), - 'desc' => sprintf( __( 'Get your flickr API key by following this link.', 'wp-content-pilot' ), 'https://www.pluginever.com/docs/wp-content-pilot/flickr-campaign-settings/' ), + 'desc' => sprintf( __( 'Get your flickr API key by following this link.', 'wp-content-pilot' ), 'https://pluginever.com/docs/wp-content-pilot/flickr-campaign-settings/' ), 'type' => 'password', 'default' => '' ), diff --git a/includes/modules/class-wpcp-youtube.php b/includes/modules/class-wpcp-youtube.php index fe8f831..80b9885 100644 --- a/includes/modules/class-wpcp-youtube.php +++ b/includes/modules/class-wpcp-youtube.php @@ -239,7 +239,7 @@ public function get_setting_fields( $fields ) { array( 'name' => 'api_key', 'label' => __( 'Youtube API key', 'wp-content-pilot' ), - 'desc' => sprintf( __( 'Youtube campaigns won\'t run without API key. Learn how to get one.', 'wp-content-pilot' ), 'https://www.pluginever.com/docs/wp-content-pilot/set-up-youtube-api-key-for-wp-content-pilot/' ), + 'desc' => sprintf( __( 'Youtube campaigns won\'t run without API key. Learn how to get one.', 'wp-content-pilot' ), 'https://pluginever.com/docs/wp-content-pilot/set-up-youtube-api-key-for-wp-content-pilot/' ), 'type' => 'password', 'default' => '' ), diff --git a/uninstall.php b/uninstall.php index 786cf56..ac5118c 100644 --- a/uninstall.php +++ b/uninstall.php @@ -9,12 +9,12 @@ */ defined( 'WP_UNINSTALL_PLUGIN' ) || exit; -$wpcp_settings = get_option( 'wpcp_settings_misc', [] ); -if ( isset( $wpcp_settings['uninstall_on_delete'] ) && $wpcp_settings['uninstall_on_delete'] == 'on' ) { +$wpcp_settings = get_option( 'wpcp_settings_misc', array() ); +if ( isset( $wpcp_settings['uninstall_on_delete'] ) && 'on' === $wpcp_settings['uninstall_on_delete'] ) { global $wpdb; - // Remove all database tables - $wpdb->query( "DROP TABLE IF EXISTS " . $wpdb->prefix . "wpcp_links" ); - $wpdb->query( "DROP TABLE IF EXISTS " . $wpdb->prefix . "wpcp_logs" ); + // Remove all database tables. + $wpdb->query( "DROP TABLE IF EXISTS " . $wpdb->prefix . 'wpcp_links' ); + $wpdb->query( "DROP TABLE IF EXISTS " . $wpdb->prefix . 'wpcp_logs' ); /** Cleanup Cron Events */ wp_clear_scheduled_hook( 'wpcp_per_minute_scheduled_events' ); diff --git a/wp-content-pilot.php b/wp-content-pilot.php index ad5324b..7998451 100644 --- a/wp-content-pilot.php +++ b/wp-content-pilot.php @@ -1,20 +1,21 @@ '' . __( 'Go Pro', 'wp-content-pilot' ) . '' );