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