PluginProbe
Qi Blocks / trunk
Qi Blocks vtrunk
1.5.3 1.5.2 1.5.1 trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1 1.1.1 1.1.2 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 All 45 releases
← All changes | constants.php +8 -2 1.0trunk View file →
@@ -1,8 +1,13 @@
1 1 <?php
2 2
3 -define( 'QI_BLOCKS_VERSION', '1.0' );
4 -define( 'QI_BLOCKS_ABS_PATH', dirname( __FILE__ ) );
3 +if ( ! defined( 'ABSPATH' ) ) {
4 + // Exit if accessed directly.
5 + exit;
6 +}
7 +
8 +define( 'QI_BLOCKS_VERSION', '1.5.3' );
9 +define( 'QI_BLOCKS_ABS_PATH', __DIR__ );
5 10 define( 'QI_BLOCKS_REL_PATH', dirname( plugin_basename( __FILE__ ) ) );
6 11 define( 'QI_BLOCKS_URL_PATH', plugin_dir_url( __FILE__ ) );
7 12 define( 'QI_BLOCKS_ASSETS_PATH', QI_BLOCKS_ABS_PATH . '/assets' );
8 13 define( 'QI_BLOCKS_ASSETS_URL_PATH', QI_BLOCKS_URL_PATH . 'assets' );
@@ -13,5 +18,6 @@
13 18 define( 'QI_BLOCKS_ADMIN_PATH', QI_BLOCKS_INC_PATH . '/admin' );
14 19 define( 'QI_BLOCKS_ADMIN_URL_PATH', QI_BLOCKS_INC_URL_PATH . '/admin' );
15 20
16 21 define( 'QI_BLOCKS_ACTIVATED_TRANSIENT', 'qi_blocks_plugin_activated' );
22 +define( 'QI_BLOCKS_GENERAL_OPTIONS', 'qi_blocks_general_options' );
17 23 define( 'QI_BLOCKS_DISABLED_BLOCKS', 'qi_blocks_disabled_blocks' );