Skip to content

Commit 00e7263

Browse files
committed
Version bump.
1 parent c874d9a commit 00e7263

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

built-core-plugin.php

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* ------------------------------------------------------------------
45
* Plugin: Built Core
@@ -23,19 +24,21 @@
2324
/**
2425
* If called directly, abort.
2526
*/
26-
if ( ! defined( 'WPINC' ) ) { die; }
27+
if (!defined('WPINC')) {
28+
die;
29+
}
2730

2831
/**
2932
* Define plugin version.
3033
* @link https://semver.org
3134
*/
32-
define( 'BUILT_CORE_VERSION', '3.2.1' );
35+
define('BUILT_CORE_VERSION', '3.3.1');
3336

3437
/**
3538
* Define global constants.
3639
*/
37-
define( 'BUILT_CORE_URL', plugin_dir_url( __FILE__ ) );
38-
define( 'BUILT_CORE_PATH', plugin_dir_path( __FILE__ ) );
40+
define('BUILT_CORE_URL', plugin_dir_url(__FILE__));
41+
define('BUILT_CORE_PATH', plugin_dir_path(__FILE__));
3942

4043
/**
4144
* Require plugin files.
@@ -48,8 +51,8 @@
4851
* add_theme_support('built-disable-comments');
4952
* Check needs to run after 'after_setup_theme', so 'init'
5053
*/
51-
add_action('init', function() {
52-
if (current_theme_supports('built-disable-comments')) {
53-
require_once BUILT_CORE_PATH . 'inc/disable-comments.php';
54-
}
55-
});
54+
add_action('init', function () {
55+
if (current_theme_supports('built-disable-comments')) {
56+
require_once BUILT_CORE_PATH . 'inc/disable-comments.php';
57+
}
58+
});

0 commit comments

Comments
 (0)