Skip to content
Snippets Groups Projects
Commit 0e1a9c19 authored by Sebastian Pisula's avatar Sebastian Pisula
Browse files

feature(core): codeception tests - example db

parent 3411730b
No related branches found
No related tags found
1 merge request!40feature(core): plugin template changes
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* *
* @package \WPDesk\PluginTemplate * @package \WPDesk\PluginTemplate
* ​ * ​
* Copyright 2021 WP Desk Ltd. * Copyright 2022 WP Desk Ltd.
* ​ * ​
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
...@@ -49,6 +49,11 @@ $product_id = 'plugin-template'; ...@@ -49,6 +49,11 @@ $product_id = 'plugin-template';
$plugin_file = __FILE__; $plugin_file = __FILE__;
$plugin_dir = __DIR__; $plugin_dir = __DIR__;
// todo: only for paid plugins.
$plugin_shops = [
'default' => 'https://www.wpdesk.net/',
];
$requirements = [ $requirements = [
'php' => '7.2', 'php' => '7.2',
'wp' => '5.7', 'wp' => '5.7',
...@@ -61,4 +66,5 @@ $requirements = [ ...@@ -61,4 +66,5 @@ $requirements = [
], ],
]; ];
// todo: only for free plugins.
require __DIR__ . '/vendor_prefixed/wpdesk/wp-plugin-flow-common/src/plugin-init-php52-free.php'; require __DIR__ . '/vendor_prefixed/wpdesk/wp-plugin-flow-common/src/plugin-init-php52-free.php';
source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment