' . sprintf( __( '%1$s requires WordPress %2$s to function correctly. Unable to activate at this time.', 'wptt' ), '' . esc_html( self::$plugin_name ) . '', '' . esc_html( self::$required_version ) . '' ) . '

'; if ( isset( $_GET['activate'] ) ) { unset( $_GET['activate'] ); } } /** * Checks for compatibility with current version of WordPress * * @uses Adv_Term_Fields_Utils::$required_version * * @since 0.1.0 * * @return bool True if current version of WP is greater than or equal to required version, * false if not. */ private static function compatible_version() { if ( version_compare( $GLOBALS['wp_version'], self::$required_version, '>=' ) ) { return true; } return false; } }