diff --git a/composer.json b/composer.json index 9bde7191..4f7623a0 100644 --- a/composer.json +++ b/composer.json @@ -11,21 +11,11 @@ } ], "require": { - "php": ">=7.4" }, - "require-dev": { - "squizlabs/php_codesniffer": "3.7.2", - "dealerdirect/phpcodesniffer-composer-installer": "1.0.0", - "phpcompatibility/phpcompatibility-wp": "2.1.4", - "wp-coding-standards/wpcs": "^2.3" + "php": ">=7.4" }, "scripts": { - "build": "composer --no-plugins --no-interaction install --no-scripts --no-dev", - "format": "vendor/bin/phpcbf --standard=phpcs.xml", - "phpcs": "vendor/bin/phpcs --standard=phpcs.xml" - }, - "config": { - "allow-plugins": { - "dealerdirect/phpcodesniffer-composer-installer": true - } + "build": [ + "composer --no-plugins --no-interaction install --no-scripts --no-dev" + ] } } diff --git a/package.json b/package.json index 51de042b..2441a646 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "format": "wp-scripts format ./src", "minify": "wp-scripts build", "compress": "webpack --config webpack.compress.js", - "build": "yarn minify && grunt build && yarn compress", + "build": "yarn minify && composer build && grunt build && yarn compress", "fixtextdomain": "grunt fixtextdomain", "git-compress": "webpack --config webpack.compress.git.js", "git-build": "yarn start --no-watch && grunt build && yarn git-compress", diff --git a/readme.txt b/readme.txt index 609a4fd9..224ec49e 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Requires at least: 6.0 Tested up to: 6.5 Requires PHP: 7.4 Stable tag: 1.0.0 -License: GPLv3 +License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html The Ultimate Templates on WordPress | Craft beautiful website in no time @@ -27,5 +27,5 @@ The Ultimate Templates on WordPress | Craft beautiful website in no time All data ***** == Changelog == -= 1.0.0 - Jun 30, 2024 = += 1.0.0 - Jul 15, 2024 = * Initial launch \ No newline at end of file diff --git a/templatiq.php b/templatiq.php index e975ee89..ae10e450 100644 --- a/templatiq.php +++ b/templatiq.php @@ -5,32 +5,10 @@ * Author: wpWax * Author URI: https://wpwax.com * Version: 1.0.0 - * License: GPL2 + * License: GPLv2 or later * Requires PHP: 7.4 * Text Domain: templatiq * Domain Path: /languages - * - * Released under the GPL license - * http://www.opensource.org/licenses/gpl-license.php - * - * This is an add-on for WordPress - * http://wordpress.org/ - * - * ********************************************************************** - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - * ********************************************************************** */ if ( ! defined( 'ABSPATH' ) ) {