Changeset 2267304
- Timestamp:
- 03/25/2020 12:32:10 PM (6 years ago)
- Location:
- guteblock/trunk
- Files:
-
- 2 edited
-
plugin.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
guteblock/trunk/plugin.php
r2267300 r2267304 6 6 * Author: Sweans 7 7 * Author URI: https://www.sweans.com/ 8 * Version: 1.1. 28 * Version: 1.1.3 9 9 * Text Domain: guteblock 10 10 * Tested up to: 5.3 … … 295 295 } 296 296 297 298 function guteblock_adminalert() { 299 ?> 300 <div class="error notice"> 301 <p><?php _e( 'Guteblock needs WordPress 5.0 or higher to work. Please update your website to the latest version of WordPress.', 'guteblock' ); ?></p> 302 </div> 303 <?php 304 } 305 add_action( 'admin_notices', 'guteblock_adminalert' ); 297 if(!function_exists('register_block_type')) { 298 function guteblock_adminalert() { 299 ?> 300 <div class="error notice"> 301 <p><?php _e( 'Guteblock needs WordPress 5.0 or higher to work. Please update your website to the latest version of WordPress.', 'guteblock' ); ?></p> 302 </div> 303 <?php 304 } 305 add_action( 'admin_notices', 'guteblock_adminalert' ); 306 } -
guteblock/trunk/readme.txt
r2267300 r2267304 102 102 == Changelog == 103 103 104 = 1.1.3 = 105 106 * Bug Fixes 107 104 108 = 1.1.2 = 105 109
Note: See TracChangeset
for help on using the changeset viewer.