Warning: This method has been deprecated. @4.1 instead.

Set_Up_Automator::automator_pro_configure()

Show a notice if the Pro is < 3.0

Contents

  • Changelog

  • Source Source

    File: src/core/classes/class-set-up-automator.php

    	public function automator_pro_configure() {
    		if ( class_exists( '\Uncanny_Automator_Pro\InitializePlugin' ) ) {
    			$version = \Uncanny_Automator_Pro\InitializePlugin::PLUGIN_VERSION;
    			if ( version_compare( $version, '3.0', '<' ) ) {
    				?>
    				<div class="notice notice-warning">
    					<p><strong>Warning:</strong> The version of Uncanny Automator Pro
    						(<?php echo esc_attr( $version ); ?>) installed on your site is
    						incompatible with
    						Uncanny Automator 3.0 and higher. Uncanny Automator Pro has been temporarily disabled.
    						Upgrade to the latest version of Uncanny Automator Pro to re-enable functionality or
    						downgrade Uncanny Automator to version 2.11.1. <a
    							href="https://automatorplugin.com/knowledge-base/upgrading-to-uncanny-automator-3-0/?utm_medium=admin_notice&utm_campaign=30upgradewarning"
    							target="_blank">Learn More<span style="font-size:14px; margin-left:-3px"
    															class="dashicons dashicons-external"></span></a></p>
    				</div>
    				<?php
    			}
    		}
    	}
    

    Changelog Changelog

    Changelog
    Version Description
    3.0.4 Introduced.