Skip to content

Commit

Permalink
Version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannorthern committed Jul 22, 2024
1 parent c874d9a commit 00e7263
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions built-core-plugin.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* ------------------------------------------------------------------
* Plugin: Built Core
Expand All @@ -23,19 +24,21 @@
/**
* If called directly, abort.
*/
if ( ! defined( 'WPINC' ) ) { die; }
if (!defined('WPINC')) {
die;
}

/**
* Define plugin version.
* @link https://semver.org
*/
define( 'BUILT_CORE_VERSION', '3.2.1' );
define('BUILT_CORE_VERSION', '3.3.1');

/**
* Define global constants.
*/
define( 'BUILT_CORE_URL', plugin_dir_url( __FILE__ ) );
define( 'BUILT_CORE_PATH', plugin_dir_path( __FILE__ ) );
define('BUILT_CORE_URL', plugin_dir_url(__FILE__));
define('BUILT_CORE_PATH', plugin_dir_path(__FILE__));

/**
* Require plugin files.
Expand All @@ -48,8 +51,8 @@
* add_theme_support('built-disable-comments');
* Check needs to run after 'after_setup_theme', so 'init'
*/
add_action('init', function() {
if (current_theme_supports('built-disable-comments')) {
require_once BUILT_CORE_PATH . 'inc/disable-comments.php';
}
});
add_action('init', function () {
if (current_theme_supports('built-disable-comments')) {
require_once BUILT_CORE_PATH . 'inc/disable-comments.php';
}
});

0 comments on commit 00e7263

Please sign in to comment.