diff --git a/acf-limiter.php b/acf-limiter.php index 6aea503..79d0945 100755 --- a/acf-limiter.php +++ b/acf-limiter.php @@ -3,26 +3,27 @@ Plugin Name: Advanced Custom Fields: Limiter Plugin URI: http://wordpress.org/extend/plugins/advanced-custom-fields-limiter-field/ Description: This field provides a textarea that limits the number of characters the a user can add. The limit is cleanly represented by a jQuery Ui progress bar. You can define the number of characters on a per field basis. -Version: 1.2.0 +Version: 1.2.1 Author: Atomic Smash - David Darke Author URI: atomicsmash.co.uk License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html */ -load_plugin_textdomain( 'acf-limiter', false, dirname( plugin_basename(__FILE__) ) . '/lang/' ); +load_plugin_textdomain('acf-limiter', false, dirname(plugin_basename(__FILE__)) . '/lang/'); -function include_field_types_limiter( $version ) { +function include_field_types_limiter($version) +{ include_once('limiter-v5.php'); - } add_action('acf/include_field_types', 'include_field_types_limiter'); -function register_fields_limiter() { +function register_fields_limiter() +{ include_once('limiter-v4.php'); } diff --git a/readme.txt b/readme.txt index 722ef46..389c134 100755 --- a/readme.txt +++ b/readme.txt @@ -38,6 +38,9 @@ This has been tested in: == Changelog == += 1.2.1 = +* Added composer.json + = 1.2.0 = * Fixed deprecated jQuery method due to WP 5.5.0 update