Changeset 2267300
- Timestamp:
- 03/25/2020 12:27:20 PM (6 years ago)
- Location:
- guteblock/trunk
- Files:
-
- 2 edited
-
plugin.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
guteblock/trunk/plugin.php
r2264484 r2267300 6 6 * Author: Sweans 7 7 * Author URI: https://www.sweans.com/ 8 * Version: 1.1. 18 * Version: 1.1.2 9 9 * Text Domain: guteblock 10 10 * Tested up to: 5.3 … … 36 36 add_filter('block_categories', 'guteblock_categories', 10, 2); 37 37 38 38 39 function guteblock_register_block_type($block, $options = array()) { 40 41 if(!function_exists('register_block_type')) return false; 42 39 43 register_block_type( 40 44 'guteblock/'.$block, … … 290 294 delete_option('guteblock_mailchimp_success_response_do'); 291 295 } 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' ); -
guteblock/trunk/readme.txt
r2264484 r2267300 1 === Guteblock - Ultimate Gutenberg Blocks Plugin ===1 === Guteblock - Ultimate Gutenberg Blocks Plugin === 2 2 Contributors: sweans 3 3 Tags: Guteblock, blocks, block editor, gutenberg blocks, page builder, gutenberg, block … … 5 5 Tested up to: 5.3 6 6 Requires PHP: 5.3 7 Stable tag: 1.1. 17 Stable tag: 1.1.2 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 102 102 == Changelog == 103 103 104 = 1.1.2 = 105 106 Added error notification in websites with WordPress version less than 5.0 107 104 108 = 1.1.1 = 105 109
Note: See TracChangeset
for help on using the changeset viewer.