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 +7 -2 1.2.3trunk View file →
@@ -1,8 +1,13 @@
1 1 <?php
2 2
3 -define( 'QI_BLOCKS_VERSION', '1.2.3' );
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' );