Plugin Directory

Changeset 2267304


Ignore:
Timestamp:
03/25/2020 12:32:10 PM (6 years ago)
Author:
sweans
Message:

1.1.3

  • Bug Fixes
Location:
guteblock/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • guteblock/trunk/plugin.php

    r2267300 r2267304  
    66 * Author: Sweans
    77 * Author URI: https://www.sweans.com/
    8  * Version: 1.1.2
     8 * Version: 1.1.3
    99 * Text Domain: guteblock
    1010 * Tested up to: 5.3
     
    295295}
    296296
    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' );
     297if(!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  
    102102== Changelog ==
    103103
     104= 1.1.3 =
     105
     106* Bug Fixes
     107
    104108= 1.1.2 =
    105109
Note: See TracChangeset for help on using the changeset viewer.