Fix test workflow issues with WP_Mock, PHP 7.0 compatibility, and code style
Release / Build and Release (push) Canceled after 0s

This commit is contained in:
marcus committed 2025-04-18 16:02:17 +01:00
1 parent af48e84614
commit 31d475beca
9 files changed
+254 -30

No files matched your search

+6 -6
View File
@@ -27,12 +27,12 @@
*/
// If this file is called directly, abort.
if (!defined('WPINC')) {
die;
if ( ! defined( 'WPINC' ) ) {
die;
}
// Load the main plugin class
require_once plugin_dir_path(__FILE__) . 'includes/plugin.php';
// Load the main plugin class.
require_once plugin_dir_path( __FILE__ ) . 'includes/plugin.php';
// Initialize the plugin
new WPALLSTARS\PluginStarterTemplate\Plugin(__FILE__, '0.1.6');
// Initialize the plugin.
new WPALLSTARS\PluginStarterTemplate\Plugin( __FILE__, '0.1.7' );