Fix test workflow issues with WP_Mock, PHP 7.0 compatibility, and code style
Release / Build and Release (push) Canceled after 0s
Release / Build and Release (push) Canceled after 0s
This commit is contained in:
1 parent
af48e84614
commit
31d475beca
9 files changed
+254
-30
No files matched your search
@@ -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' );
|
||||
Reference in new issue
Block a user