File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 11<?php
2+
23/**
34 * ------------------------------------------------------------------
45 * Plugin: Built Core
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.
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+ });
You can’t perform that action at this time.
0 commit comments